I guess JOnAS is already starting a rmi registry on port 1099. You need to change the port on the container if you want ServiceMix to start another registry.
On 10/2/06, Hélène JOANIN <[EMAIL PROTECTED]> wrote:
Hi, Note that I got this same problem with ServiceMix standalone. Here are the logs I got when I launch ServiceMix ESB version 3.0-incubating: $ servicemix ./servicemix.xml servicemix: Ignoring predefined value for SERVICEMIX_HOME java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode) Starting Apache ServiceMix ESB: 3.0-incubating Loading Apache ServiceMix from file: ./servicemix.xml INFO - JBIContainer - ServiceMix 3.0-incubating JBI Container (ServiceMix) is starting INFO - JBIContainer - For help or more informations please see: http://incubator.apache.org/servicemix/ WARN - ManagementContext - Failed to start rmi registry: internal error: ObjID already in use WARN - ManagementContext - Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi] INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager# INFO - DeploymentService - Restoring service assemblies INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) started ...... Regards. Hélène. Bernard Lupin wrote: Hi all, I'm runing ServiceMix 3.0 within Jonas 4.6.6. I've just moved from a trunk version to the 3.0 release, and I have now an exception when deploying my web application, without any component : - Failed to start rmi registry: internal error: ObjID already in use - Failed to start rmi 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:75) 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:180) 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.servicemix.jbi.jmx.RmiRegistryFactoryBean.afterPropertiesSet(RmiRegistryFactoryBean.java:106) at org.apache.servicemix.jbi.management.MBeanServerContext.start(MBeanServerContext.java:79) at org.apache.servicemix.jbi.management.ManagementContext.init(ManagementContext.java:153) at org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:551) at org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:55) ... I suppose that I'm trying to start two rmi registry, but don't know how to solve this problem, which dosn't appear in the forum... Regards, Bernard
-- Cheers, Guillaume Nodet
