Hi Mahesh, Please check the MySQL username and password in the setup.conf file is correct according to your MySQL environment. As Nirmal mentioned please use Stratos dev list for this kind of questions.
Thanks ! On Tue, Oct 7, 2014 at 6:57 PM, Mahesh Chinthaka <[email protected]> wrote: > thanks, will do. > > On Tue, Oct 7, 2014 at 6:45 PM, Nirmal Fernando <[email protected]> wrote: > >> Btw, please use [email protected] for Stratos related questions. >> >> On Tue, Oct 7, 2014 at 6:43 PM, Nirmal Fernando <[email protected]> wrote: >> >>> That's the reason then :-) Your ActiveMQ seems not started properly. >>> >>> Use: ./bin/activemq start >>> >>> On Tue, Oct 7, 2014 at 6:41 PM, Mahesh Chinthaka <[email protected]> >>> wrote: >>> >>>> Hi Nirmal, >>>> No i couldn't :( >>>> >>>> On Tue, Oct 7, 2014 at 2:13 PM, Nirmal Fernando <[email protected]> >>>> wrote: >>>> >>>>> Can you telnet to localhost 61616? >>>>> >>>>> 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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Thanks & regards, >>>>> Nirmal >>>>> >>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >>>>> Mobile: +94715779733 >>>>> Blog: http://nirmalfdo.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 >>>> >>> >>> >>> >>> -- >>> >>> Thanks & regards, >>> Nirmal >>> >>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >>> Mobile: +94715779733 >>> Blog: http://nirmalfdo.blogspot.com/ >>> >>> >>> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.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 > > -- 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/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
