But maybe if that is such a common problem then it should be added to the Wiki, shouldn't it.
I am going to mention it at the wiki:http://incubator.apache.org/servicemix/1-quick- start.html#1.Quickstart-StarttheServer
please check it out and tell me if I missed something. -Andy On Oct 16, 2007, at 8:43 AM, Zhurakousky, Oleg wrote:
Search through this mailing list. This is a very common issue which is very easy to fix (not really a servicemix issue but the fact that something else taking the port). It is popping up every other week on this forum -----Original Message----- From: Gordon Dickens [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 11:39 AM To: [email protected] Subject: Re: Port already in use martymusk wrote:Hi, I'm new to the serviemix, I've downloaded Servicemix and I'vebuilt itwith maven, but when I start servicemix I've the follow message: servicemix: Ignoring predefined value for SERVICEMIX_HOME java version "1.5.0_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode) Starting Apache ServiceMix ESB: 3.1.2 Loading Apache ServiceMix from servicemix.xml on the CLASSPATHCaught: org.springframework.beans.factory.BeanCreationException: Errorcreating bean with name 'rmiRegistry' defined in class path resource [jmx.xml]: Invocatio n of init method failed; nested exception is java.rmi.server.ExportException: Po rt already in use: 1099; nested exception is: java.net.BindException: Address already in use org.springframework.beans.factory.BeanCreationException: Errorcreating beanwit h name 'rmiRegistry' defined in class path resource [jmx.xml]: Invocation of ini t method failed; nested exception is java.rmi.server.ExportException: Port alrea dy in use: 1099; nested exception is: java.net.BindException: Address already in useCaused by: java.rmi.server.ExportException: Port already in use: 1099;nested ex ception is: java.net.BindException: Address already in use atsun.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)Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java: 1201)at org.apache.servicemix.jbi.jmx.RmiRegistryFactoryBean.afterPropertiesS et(RmiRegistryFactoryBean.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanat org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:425) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:284) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:352) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:161) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:51) at org.apache.servicemix.Main.main(Main.java:51)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)at org.codehaus.classworlds.Launcher.launch(Launcher.java: 344)at org.codehaus.classworlds.Launcher.main(Launcher.java:461) Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI DirectSocketFactory.java:27) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI MasterSocketFactory.java:333) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:622)atsun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:237)http://www.nabble.com/Port-already-in-use- tf4634836s12049.html#a13235709... 27 more Can you help me? Thanks, Martina Muscariello -- View this message in context:Sent from the ServiceMix - User mailing list archive at Nabble.com. .Something has already taken that port. Do you have ActiveMQ running separately on that machine? You can change the port number in your servicemix_home/conf/servicemix.properties file. Check if some other process has the port from the command line with netstat -a Regards, Gordon
Andreas Schaefer CEO of Madplanet.com Inc. [EMAIL PROTECTED]
PGP.sig
Description: This is a digitally signed message part
