You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/07/02 15:48:25 UTC
[jira] [Created] (KARAF-3095) itests randomly fail to get the
JMXConnector
Jean-Baptiste Onofré created KARAF-3095:
-------------------------------------------
Summary: 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: 4.0.0
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 4.0.0
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.2#6252)