Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3095

itests randomly fail to get the JMXConnector

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.2, 4.0.0.M3
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      None

      Description

      When doing to global build, and executing all itests in a row, the itests randomly fail:

      -------------------------------------------------------------------------------
      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)
      

      It seems that the KarafTestSupport is not able to get the JMX connector:

      KarafTestSupport.getJMXConnector
      

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: