[
https://issues.apache.org/jira/browse/QPID-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620872#action_12620872
]
Martin Ritchie commented on QPID-1223:
--------------------------------------
Caused an ERROR
internal error: ObjID already in use
java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
at sun.rmi.transport.Transport.exportObject(Transport.java:74)
at
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
at
java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
at
org.apache.qpid.server.management.JMXManagedObjectRegistry.startRMIRegistry(JMXManagedObjectRegistry.java:212)
at
org.apache.qpid.server.management.JMXManagedObjectRegistry.startJMXConnectorServer(JMXManagedObjectRegistry.java:166)
at
org.apache.qpid.server.management.JMXManagedObjectRegistry.start(JMXManagedObjectRegistry.java:152)
at
org.apache.qpid.server.registry.ConfigurationFileApplicationRegistry.initialise(ConfigurationFileApplicationRegistry.java:106)
at
org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:100)
at
org.apache.qpid.server.security.acl.SimpleACLTest.setUp(SimpleACLTest.java:61)
> All System tests not extending QpidTestCase do not correctly clean up VM
> State.
> -------------------------------------------------------------------------------
>
> Key: QPID-1223
> URL: https://issues.apache.org/jira/browse/QPID-1223
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Reporter: Martin Ritchie
>
> Summary:
> At least the TimeToLiveTest which does not extend QpidTestCase does not
> correctly clean up in tearDown.
> Currently it only removes the VMBroker
> viaTransportConnection.killallBrokers() this howver does NOT remove the
> static ApplicationRegistry. So unless the tests are forked (they are not by
> any of the profiles) the state of this ApplicationRegistry will be be shared
> by the next test(which may correctly remove it).
> We either need to convert the last few remaining tests or at least ensure
> they all remove the ApplicationRegistry when they are done.
> Otherwise we may endup with spurious test failures such as the one attached
> in the comments.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.