karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-3095) itests randomly fail to get the JMXConnector
Date Fri, 05 Jun 2015 13:41:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-3095:
----------------------------------------
    Fix Version/s:     (was: 3.0.4)
                       (was: 4.0.0.M3)

> itests randomly fail to get the JMXConnector
> --------------------------------------------
>
>                 Key: KARAF-3095
>                 URL: https://issues.apache.org/jira/browse/KARAF-3095
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-test
>    Affects Versions: 3.0.2, 4.0.0.M3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>
> When doing to global build, and executing all itests in a row, the itests randomly fail:
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.karaf.itests.ServiceTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.325 sec <<<
FAILURE! - in org.apache.karaf.itests.ServiceTest
> listViaMBean(org.apache.karaf.itests.ServiceTest)  Time elapsed: 0.03 sec  <<<
ERROR!
> java.rmi.NoSuchObjectException: no such object in table
>         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
>         at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
>         at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2404)
>         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
>         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
>         at org.apache.karaf.itests.KarafTestSupport.getJMXConnector(KarafTestSupport.java:350)
>         at org.apache.karaf.itests.KarafTestSupport.getJMXConnector(KarafTestSupport.java:342)
>         at org.apache.karaf.itests.ServiceTest.listViaMBean(ServiceTest.java:45)
> {code}
> It seems that the KarafTestSupport is not able to get the JMX connector:
> {code}
> KarafTestSupport.getJMXConnector
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message