Hi,

Problem was that, I have configured physical IP address with MB.

So in jndi file, I had to replace "localhost" with physical IP address.

On Tue, Mar 31, 2015 at 3:53 PM, Pumudu Ruhunage <pum...@wso2.com> wrote:

> Hi Anuja,
>
> can you try adding 'andes-client-3.0.0-SNAPSHOT.jar' in {jmeter-home}/lib/
> and restart server.
>
> Regards,
>
> On Tue, Mar 31, 2015 at 3:44 PM, Indika Sampath <indi...@wso2.com> wrote:
>
>> Hi Anuja,
>>
>> Please check MB running on defined port in jndi.properties file of
>> Jmeter. Also make sure necessary MB client libraries copied to lib folder
>> of Jmeter.
>>
>> Cheers!
>>
>>
>> On Tue, Mar 31, 2015 at 3:39 PM, Anuja Herath <an...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I m getting this error when I try to run a jmeter publisher script.
>>>
>>> org.wso2.andes.AMQConnectionFailureException: Could not open connection
>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>> at
>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:328)
>>> at
>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)
>>> at org.apache.jmeter.protocol.jms.Utils.getConnection(Utils.java:194)
>>> at
>>> org.apache.jmeter.protocol.jms.client.Publisher.<init>(Publisher.java:104)
>>> at
>>> org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(PublisherSampler.java:138)
>>> at
>>> org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(PublisherSampler.java:159)
>>> at
>>> org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler.sample(BaseJMSSampler.java:80)
>>> at
>>> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
>>> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
>>> at java.lang.Thread.run(Thread.java:722)
>>> Caused by: org.wso2.andes.transport.TransportException: Could not open
>>> connection
>>> at
>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:216)
>>> at
>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:74)
>>> at
>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:120)
>>> at
>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>> ... 10 more
>>>
>>> --
>>> Anuja Herath
>>> *Software Engineer*
>>> *WSO2, Inc.*
>>> Mobile : +94 (0)71 429 8861
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Indika Sampath
>> Software Engineer
>> WSO2 Inc.
>> http://wso2.com
>>
>> Phone: +94 716 424 744
>> Blog: http://indikasampath.blogspot.com/
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Pumudu Ruhunage
> Associate Software Engineer | WSO2 Inc
> M: +94 779 664493  | http://wso2.com
>



-- 
Anuja Herath
*Software Engineer*
*WSO2, Inc.*
Mobile : +94 (0)71 429 8861
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to