activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbruch <holger.br...@isb-ag.de>
Subject Re: ExportException (ObjID already in use) when creating Connection
Date Fri, 16 Nov 2007 10:48:53 GMT

Hi,

I encountered the same exception. Seems to me that the implementation of
ManagementContext.createMBeanServer() should not call createConnector, since
this done in  findMBeanServer() as well...

Regards, Holger

dman83 wrote:
> 
> Hi,
> 
> I get the following exception when my code tries to create an
> XATopicConnection:
> 
> Aug 29, 2007 3:50:44 PM org.apache.activemq.broker.jmx.ManagementContext
> createConnector
> FINE: Failed to create local registry
> java.rmi.server.ExportException: internal error: ObjID already in use
> 	at sun.rmi.transport.ObjectTable.putTarget(Unknown Source)
> 	at sun.rmi.transport.Transport.exportObject(Unknown Source)
> 	at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
> 	at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
> 	at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
> 	at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
> 	at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
> 	at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
> 	at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
> 	at
> org.apache.activemq.broker.jmx.ManagementContext.createConnector(ManagementContext.java:382)
> 	at
> org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer(ManagementContext.java:301)
> 	at
> org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer(ManagementContext.java:154)
> 	at
> org.apache.activemq.broker.jmx.ManagementContext.start(ManagementContext.java:78)
> 	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:391)
> ...
> What could be the cause of this? This is not hampering the program's
> functionality but would like to get rid of this exception nonetheless.
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ExportException-%28ObjID-already-in-use%29-when-creating-Connection-tf4350180s2354.html#a13791005
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message