Martina, it seems like that every instance wants to occupy port 1099 which is in fact impossible. I don't know the example, but you can bind a port only one time.
Regards, Lars martymusk wrote: > > Hy, > I'm working with ws-notification example (instance1, instance2, > instance3). > I'm working with eclipse. > When instance 1 run, it work fine, but when I run instance 2, the > following error occurs: > > > DEBUG - ManagementContext - Failed to create local registry > java.rmi.server.ExportException: Port already in use: 1099; nested > exception is: > java.net.BindException: Address already in use > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:249) > at > sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:184) > 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.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) > > > Why this? > Can somebody help me, please! > > Thank you very much! > > Martina > -- View this message in context: http://www.nabble.com/Port-already-in-use-1099-tp14878716s12049p14878764.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
