Hi Manula, Thanks, i will try it out and come back. On Tue, Oct 7, 2014 at 12:31 PM, Manula Chathurika Thantriwatte < [email protected]> wrote:
> Hi Mahesh, > > Also in single JVM Stratos setup you doesn't need to start the ActiveMQ > manually and then start the Stratos. You can follow the below guide [1]. > > [1] > https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Automated+Product+Configuration > > Thanks ! > > On Tue, Oct 7, 2014 at 12:25 PM, Manula Chathurika Thantriwatte < > [email protected]> wrote: > >> Hi Mahesh, >> >> What is the mb_ip value you have set in the setup.conf file in >> the stratos/tools/stratos-installer/conf directory. If it's localhost, can >> you please try with the machine IP where ActiveMQ run. >> >> Thanks ! >> >> On Tue, Oct 7, 2014 at 12:06 PM, Mahesh Chinthaka <[email protected]> >> wrote: >> >>> Hi all, >>> >>> First I started a activemq instance and then i started stratos single >>> jvm pack. All are with default settings. Im getting following error. >>> >>> ERROR {org.apache.stratos.messaging.broker.subscribe.TopicSubscriber} - >>> Error >>> while subscribing to the topic: instance-status >>> javax.jms.JMSException: Could not connect to broker URL: >>> tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused >>> at >>> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:36) >>> at >>> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:358) >>> at >>> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:303) >>> at >>> org.apache.activemq.ActiveMQConnectionFactory.createTopicConnection(ActiveMQConnectionFactory.java:277) >>> at >>> org.apache.stratos.messaging.broker.connect.TopicConnector.init(TopicConnector.java:68) >>> at >>> org.apache.stratos.messaging.broker.subscribe.TopicSubscriber.doSubscribe(TopicSubscriber.java:63) >>> at >>> org.apache.stratos.messaging.broker.subscribe.TopicSubscriber.run(TopicSubscriber.java:116) >>> at java.lang.Thread.run(Thread.java:695) >>> >>> Caused by: java.net.ConnectException: Connection refused >>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382) >>> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241) >>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228) >>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431) >>> at java.net.Socket.connect(Socket.java:527) >>> at >>> org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:501) >>> at >>> org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:464) >>> at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55) >>> at >>> org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:138) >>> at >>> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58) >>> at >>> org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72) >>> at >>> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58) >>> at >>> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58) >>> at >>> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:338) >>> >>> Can somebody help me out on this ?? >>> -- >>> *Mahesh Chinthaka Vidanagama* | Software Engineer >>> WSO2, Inc | lean. enterprise. middleware. >>> #20, Palm Grove, Colombo 03, Sri Lanka >>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345 >>> Email: [email protected] | Web: www.wso2.com >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> Manula Chathurika Thantriwatte >> Software Engineer >> WSO2 Inc. : http://wso2.com >> lean . enterprise . middleware >> >> email : [email protected] / [email protected] >> phone : +94 772492511 >> blog : http://manulachathurika.blogspot.com/ >> >> >> >> > > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : [email protected] / [email protected] > phone : +94 772492511 > blog : http://manulachathurika.blogspot.com/ > > > > -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
