Hi,
I've tried the given solution and have commented out the nodes,
<amq:networkConnector.... and <amq:transportConnector.....
But still I'm getting error....Please check the error pasted below..

I'm on a windows XP desktop environment. I'm invoking the servicemix.bat
file under the directory <servicemix_home>/bin as pointed out in the
tutorial under http://servicemix.apache.org/home.html

Any help to set me up...will be highly appreciated...

ERROR:
Starting Apache ServiceMix ESB: 3.2.1

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - ConnectorServerFactoryBean     - JMX connector available at:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
INFO  - JBIContainer                   - ServiceMix 3.2.1 JBI Container
(ServiceMix) is starting
INFO  - JBIContainer                   - For help or more informations
please see: http://incubator.apache.org/servicemix/
ERROR - JMSFlow                        - Failed to initialize JMSFlow
javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost:61616. Reason: java.net.ConnectException: Connection
refused: connect
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:214)
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:161)
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:97)
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:88)
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:74)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow.init(AbstractJMSFlow.java:206)
        at 
org.apache.servicemix.jbi.nmr.DefaultBroker.init(DefaultBroker.java:122)
        at
org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:594)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:66)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.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:287)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(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:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.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:507)
        at
org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:335)
        at
org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:303)
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:49)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
        at
org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:66)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
        at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:265)
        ... 28 more
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in class path resource
[servicemix.xml]: Invocation of init method failed; nested exception is
javax.jbi.JBIException: javax.jms.JMSException: Could not connect to broker
URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection
refused: connect
INFO  - JBIContainer                   - Shutting down ServiceMix JBI
Container (ServiceMix) stopped


SK Service..
-- 
View this message in context: 
http://www.nabble.com/New-to-ServiceMix---Problem-with-installing-ServiceMix-using-Binary-Distribution-tp16170048s12049p16217844.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to