-
Bug
-
Resolution: Won't Do
-
Major
-
jboss-fuse-6.1
-
None
-
None
-
%
-
Attaching to the child container JMX port (44444 by default) produces:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:355) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268) at org.jboss.sample.jmx.SimpleJMX.main(SimpleJMX.java:30) Caused by: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118) at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203) at javax.naming.InitialContext.lookup(InitialContext.java:409) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1915) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1884) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:289) ... 2 more Caused by: java.rmi.NoSuchObjectException: no such object in table at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114) ... 7 more
This code works against a A-MQ 6.0 instance, and the JMX connector on port 1099 for a A-MQ 6.1 instance.
- relates to
-
ENTESB-3348 JMX does not work with IBM JDK 1.7
- Closed