Nevermind... its working now. Don't know why it was not working before... thanks though.
-los gnodet wrote: > > Do you have something running on port 1099 ? > Try with a netstat command. Else something > may have prevented ServiceMix to create the rmi > registry. Do you have a personal firewall or > something like that ? > > On 10/4/06, moraleslos <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I've downloaded servicemix 3.0 on my windows box, tried to start it via >> "servicemix.bat" on the command line, and get this exception: >> >> *********************************************** >> Starting Apache ServiceMix ESB: 3.0-incubating >> >> Loading Apache ServiceMix from servicemix.xml on the CLASSPATH >> Caught: org.springframework.beans.factory.BeanCreationException: Error >> creating >> bean with name 'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean' >> define >> d in class path resource [jmx.xml]: Invocation of init method failed; >> nested >> exc >> eption is java.io.IOException: Cannot bind to URL >> [rmi://localhost:1099/jmxrmi]: >> javax.naming.ServiceUnavailableException [Root exception is >> java.rmi.ConnectExc >> eption: Connection refused to host: localhost; nested exception is: >> java.net.ConnectException: Connection refused: connect] >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean >> wit >> h name 'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean' defined >> in >> cla >> ss path resource [jmx.xml]: Invocation of init method failed; nested >> exception i >> s java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: >> javax.n >> aming.ServiceUnavailableException [Root exception is >> java.rmi.ConnectException: >> Connection refused to host: localhost; nested exception is: >> java.net.ConnectException: Connection refused: connect] >> Caused by: java.io.IOException: Cannot bind to URL >> [rmi://localhost:1099/jmxrmi] >> : javax.naming.ServiceUnavailableException [Root exception is >> java.rmi.ConnectEx >> ception: Connection refused to host: localhost; nested exception is: >> java.net.ConnectException: Connection refused: connect] >> at >> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConn >> ectorServer.java:814) >> at >> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ >> er.java:431) >> at >> org.springframework.jmx.support.ConnectorServerFactoryBean.afterPrope >> rtiesSet(ConnectorServerFactoryBean.java:167) >> at >> org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean.afterPropert >> iesSet(ConnectorServerFactoryBean.java:170) >> at >> org.springframework.beans.factory.support.AbstractAutowireCapableBean >> Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:957) >> at >> org.springframework.beans.factory.support.AbstractAutowireCapableBean >> Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:924) >> at >> org.springframework.beans.factory.support.AbstractAutowireCapableBean >> Factory.createBean(AbstractAutowireCapableBeanFactory.java:415) >> at >> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb >> ject(AbstractBeanFactory.java:242) >> at >> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr >> y.getSingleton(DefaultSingletonBeanRegistry.java:141) >> at >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean >> (AbstractBeanFactory.java:239) >> at >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean >> (AbstractBeanFactory.java:155) >> at >> org.springframework.beans.factory.support.DefaultListableBeanFactory. >> preInstantiateSingletons(DefaultListableBeanFactory.java:297) >> at >> org.springframework.context.support.AbstractApplicationContext.refres >> h(AbstractApplicationContext.java:348) >> 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:52) >> 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: javax.naming.ServiceUnavailableException [Root exception is >> java.rmi. >> ConnectException: Connection refused to host: localhost; nested exception >> is: >> java.net.ConnectException: Connection refused: connect] >> at >> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:1 >> 22) >> at >> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.jav >> a:208) >> at javax.naming.InitialContext.bind(InitialContext.java:359) >> at >> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServe >> r.java:635) >> at >> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ >> er.java:427) >> ... 21 more >> Caused by: java.rmi.ConnectException: Connection refused to host: >> localhost; >> nes >> ted exception is: >> java.net.ConnectException: Connection refused: connect >> at >> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) >> at >> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185 >> ) >> at >> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) >> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) >> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) >> at >> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:1 >> 16) >> ... 25 more >> Caused by: java.net.ConnectException: Connection refused: connect >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) >> at >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> at java.net.Socket.connect(Socket.java:516) >> at java.net.Socket.connect(Socket.java:466) >> at java.net.Socket.<init>(Socket.java:366) >> at java.net.Socket.<init>(Socket.java:179) >> at >> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect >> SocketFactory.java:22) >> at >> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster >> SocketFactory.java:128) >> at >> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) >> ... 30 more >> **************************************************** >> >> Any ideas on how to fix this? Thanks in advance. >> >> -los >> >> >> >> gnodet wrote: >> > >> > The ServiceMix team is proud to annouce the >> > long awaited 3.0 release. >> > See http://servicemix.goopen.org/site/servicemix-30.html >> > for downloads and release notes. >> > >> > -- >> > Cheers, >> > Guillaume Nodet >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/ServiceMix-3.0-is-out-%21-tf2343284.html#a6641177 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > > -- View this message in context: http://www.nabble.com/ServiceMix-3.0-is-out-%21-tf2343284.html#a6641639 Sent from the ServiceMix - User mailing list archive at Nabble.com.
