[jboss-jira] [JBoss JIRA] Updated: (JBREM-166) JMXConnectorServer will not start if using rmi invoker elsewhere

Ron Sigal (JIRA) jira-events at lists.jboss.org
Wed Oct 31 21:19:54 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-166?page=all ]

Ron Sigal updated JBREM-166:
----------------------------

    Fix Version/s: 2.4.0.Beta1 (Pinto)
         Assignee:     (was: Tom  Elrod)

Adding fix version 2.4.0.Beta1.  

This issue seems to be related to JBAS-3885: JMXConnectorServer not respecting the -b value, recently fixed by Dimitris, who changed the creation of the RMI registry in org.jboss.mx.remoting.service.JMXConnectorServerService.start() to use a ServerSocketFactory that binds to a single host.  Maybe the same needs to be done in org.jboss.remoting.transport.rmi.RMIServerInvoker.

> JMXConnectorServer will not start if using rmi invoker elsewhere
> ----------------------------------------------------------------
>
>                 Key: JBREM-166
>                 URL: http://jira.jboss.com/jira/browse/JBREM-166
>             Project: JBoss Remoting
>          Issue Type: Bug
>          Components: jmx remoting
>    Affects Versions: JMX Remoting 1.0.1
>            Reporter: Tom  Elrod
>             Fix For: JMX Remoting 1.0.2, 2.4.0.Beta1 (Pinto)
>
>
> If have a remoting invoker using rmi transport, it will create a rmi registry.  Then when the JMXConnectorServer starts, it will also try to create one.  Even though is on a different port, will get the following exception:
> java.rmi.server.ExportException: internal error: ObjID already in use
> 	at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:168)
> 	at sun.rmi.transport.Transport.exportObject(Transport.java:69)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:190)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
> 	at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
> 	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
> 	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:164)
> 	at org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:91)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list