启动代理时JMX / RMI发出问题

时间:2010-07-27 23:17:26

标签: java activemq jmx broker

你好伙伴stackoverflowers。

在尝试使用ActiveMQ启动我的经纪人时,我遇到了一个非常讨厌的错误。似乎由于某种原因,管理上下文试图启动已经注册的东西。堆栈跟踪的顶部显示:

[SpringOsgiExtenderThread-127] DEBUG org.apache.activemq.broker.jmx.ManagementContext - Failed to create local registry
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.activemq.broker.jmx.ManagementContext.createConnector(ManagementContext.java:407)
    at org.apache.activemq.broker.jmx.ManagementContext.findTigerMBeanServer(ManagementContext.java:352)
    at org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer(ManagementContext.java:319)
    at org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer(ManagementContext.java:169)
    at org.apache.activemq.broker.jmx.ManagementContext.start(ManagementContext.java:87)
    at org.apache.activemq.broker.BrokerService.start(BrokerService.java:454)
    at org.apache.activemq.broker.BrokerService.start(BrokerService.java:420)

有没有人知道可能会发生什么?

0 个答案:

没有答案