You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dinesh Bandara <di...@wso2.com> on 2014/04/17 06:22:57 UTC

Are we using amqp port (5672) in ActiveMQ for stratos?

Hi Devs,

There were couple of threads regarding the issues with AMQP port. Therefore
I just tried out basic stratos setup with ActiveMQ by disabling AMQP.

Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
<transportConnector name="amqp" uri="amqp://
0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600
"/>

When I looked into jndi.properties file in stratos. We have used openwire
instead of amqp.
java.naming.provider.url=tcp://<mb_ip>:61616

Without amqp I was able to run startos and its features successfully.

I'm glad if someone can verify the $subject

Thanks.

-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
Ok, I think we have to go with tcp transport then.


On Thu, Apr 17, 2014 at 3:28 PM, Dinesh Bandara <di...@wso2.com> wrote:

> Hi Nirmal,
>
> I tried to use AMQP transport in stratos and it gave the following error
> javax.jms.JMSException: Could not create Transport. Reason:
> java.io.IOException: Transport scheme NOT recognized: [amqp]
>
> This is due to AMQP in ActiveMQ is implemented in server only and not in
> the client. Therefore we have to use some other client library such as Qpid
> Proton [1] (Which is recommend by ActiveMQ) to communicate with ActiveMQ
> using AMQP.
>
> [1] http://qpid.apache.org/proton/
>
>
>
>
> On Thu, Apr 17, 2014 at 10:31 AM, Dinesh Bandara <di...@wso2.com> wrote:
>
>> Will do
>>
>>
>> On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando <nirmal070125@gmail.com
>> > wrote:
>>
>>> Thanks Dinesh for bringing this up. Now, I too wonder may be we should
>>> use AMQP transport instead of direct TCP transport.
>>> Can you do a test round only with AMQP transport?
>>>
>>>
>>>
>>>
>>> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com>wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> There were couple of threads regarding the issues with AMQP port.
>>>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>>>> AMQP.
>>>>
>>>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>>>> <transportConnector name="amqp" uri="amqp://
>>>> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
>>>> "/>
>>>>
>>>> When I looked into jndi.properties file in stratos. We have used
>>>> openwire instead of amqp.
>>>> java.naming.provider.url=tcp://<mb_ip>:61616
>>>>
>>>> Without amqp I was able to run startos and its features successfully.
>>>>
>>>> I'm glad if someone can verify the $subject
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> *Dinesh Bandara*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Dinesh Bandara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>
>
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by chris snow <ch...@gmail.com>.
Dinesh,  also FYI:  https://issues.apache.org/jira/browse/STRATOS-616

On Thu, Apr 17, 2014 at 11:05 AM, Dinesh Bandara <di...@wso2.com> wrote:
> Adding source of recommendation
>
>
> On Thu, Apr 17, 2014 at 3:31 PM, Isuru Perera <is...@wso2.com> wrote:
>>
>> Please send the source of recommendation
>>
>>
>> On Thu, Apr 17, 2014 at 3:28 PM, Dinesh Bandara <di...@wso2.com> wrote:
>>>
>>> Hi Nirmal,
>>>
>>> I tried to use AMQP transport in stratos and it gave the following error
>>> javax.jms.JMSException: Could not create Transport. Reason:
>>> java.io.IOException: Transport scheme NOT recognized: [amqp]
>>>
>>> This is due to AMQP in ActiveMQ is implemented in server only and not in
>>> the client. Therefore we have to use some other client library such as Qpid
>>> Proton [1] (Which is recommend by ActiveMQ)[2] to communicate with ActiveMQ
>>> using AMQP.
>>>
>>> [1] http://qpid.apache.org/proton/
>
> [2] http://activemq.apache.org/amqp.html#AMQP-AMQP1.0clientlibrary
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Apr 17, 2014 at 10:31 AM, Dinesh Bandara <di...@wso2.com>
>>> wrote:
>>>>
>>>> Will do
>>>>
>>>>
>>>> On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando
>>>> <ni...@gmail.com> wrote:
>>>>>
>>>>> Thanks Dinesh for bringing this up. Now, I too wonder may be we should
>>>>> use AMQP transport instead of direct TCP transport.
>>>>> Can you do a test round only with AMQP transport?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> There were couple of threads regarding the issues with AMQP port.
>>>>>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>>>>>> AMQP.
>>>>>>
>>>>>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>>>>>> <transportConnector name="amqp"
>>>>>> uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
>>>>>>
>>>>>> When I looked into jndi.properties file in stratos. We have used
>>>>>> openwire instead of amqp.
>>>>>> java.naming.provider.url=tcp://<mb_ip>:61616
>>>>>>
>>>>>> Without amqp I was able to run startos and its features successfully.
>>>>>>
>>>>>> I'm glad if someone can verify the $subject
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> --
>>>>>> Dinesh Bandara
>>>>>> Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dinesh Bandara
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>
>>>
>>>
>>> --
>>> Dinesh Bandara
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>
>
>
>
> --
> Dinesh Bandara
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Dinesh Bandara <di...@wso2.com>.
Adding source of recommendation


On Thu, Apr 17, 2014 at 3:31 PM, Isuru Perera <is...@wso2.com> wrote:

> Please send the source of recommendation
>
>
> On Thu, Apr 17, 2014 at 3:28 PM, Dinesh Bandara <di...@wso2.com> wrote:
>
>> Hi Nirmal,
>>
>> I tried to use AMQP transport in stratos and it gave the following error
>> javax.jms.JMSException: Could not create Transport. Reason:
>> java.io.IOException: Transport scheme NOT recognized: [amqp]
>>
>> This is due to AMQP in ActiveMQ is implemented in server only and not in
>> the client. Therefore we have to use some other client library such as Qpid
>> Proton [1] (Which is recommend by ActiveMQ)[2] to communicate with ActiveMQ
>> using AMQP.
>>
>> [1] http://qpid.apache.org/proton/
>>
> [2] http://activemq.apache.org/amqp.html#AMQP-AMQP1.0clientlibrary

>
>>
>>
>>
>> On Thu, Apr 17, 2014 at 10:31 AM, Dinesh Bandara <di...@wso2.com>wrote:
>>
>>> Will do
>>>
>>>
>>> On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando <
>>> nirmal070125@gmail.com> wrote:
>>>
>>>> Thanks Dinesh for bringing this up. Now, I too wonder may be we should
>>>> use AMQP transport instead of direct TCP transport.
>>>> Can you do a test round only with AMQP transport?
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com>wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> There were couple of threads regarding the issues with AMQP port.
>>>>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>>>>> AMQP.
>>>>>
>>>>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>>>>> <transportConnector name="amqp" uri="amqp://
>>>>> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
>>>>> "/>
>>>>>
>>>>> When I looked into jndi.properties file in stratos. We have used
>>>>> openwire instead of amqp.
>>>>> java.naming.provider.url=tcp://<mb_ip>:61616
>>>>>
>>>>> Without amqp I was able to run startos and its features successfully.
>>>>>
>>>>> I'm glad if someone can verify the $subject
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> *Dinesh Bandara*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Dinesh Bandara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>
>>
>> --
>> *Dinesh Bandara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Isuru Perera <is...@wso2.com>.
Please send the source of recommendation


On Thu, Apr 17, 2014 at 3:28 PM, Dinesh Bandara <di...@wso2.com> wrote:

> Hi Nirmal,
>
> I tried to use AMQP transport in stratos and it gave the following error
> javax.jms.JMSException: Could not create Transport. Reason:
> java.io.IOException: Transport scheme NOT recognized: [amqp]
>
> This is due to AMQP in ActiveMQ is implemented in server only and not in
> the client. Therefore we have to use some other client library such as Qpid
> Proton [1] (Which is recommend by ActiveMQ) to communicate with ActiveMQ
> using AMQP.
>
> [1] http://qpid.apache.org/proton/
>
>
>
>
> On Thu, Apr 17, 2014 at 10:31 AM, Dinesh Bandara <di...@wso2.com> wrote:
>
>> Will do
>>
>>
>> On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando <nirmal070125@gmail.com
>> > wrote:
>>
>>> Thanks Dinesh for bringing this up. Now, I too wonder may be we should
>>> use AMQP transport instead of direct TCP transport.
>>> Can you do a test round only with AMQP transport?
>>>
>>>
>>>
>>>
>>> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com>wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> There were couple of threads regarding the issues with AMQP port.
>>>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>>>> AMQP.
>>>>
>>>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>>>> <transportConnector name="amqp" uri="amqp://
>>>> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
>>>> "/>
>>>>
>>>> When I looked into jndi.properties file in stratos. We have used
>>>> openwire instead of amqp.
>>>> java.naming.provider.url=tcp://<mb_ip>:61616
>>>>
>>>> Without amqp I was able to run startos and its features successfully.
>>>>
>>>> I'm glad if someone can verify the $subject
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> *Dinesh Bandara*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Dinesh Bandara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>
>
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Dinesh Bandara <di...@wso2.com>.
Hi Nirmal,

I tried to use AMQP transport in stratos and it gave the following error
javax.jms.JMSException: Could not create Transport. Reason:
java.io.IOException: Transport scheme NOT recognized: [amqp]

This is due to AMQP in ActiveMQ is implemented in server only and not in
the client. Therefore we have to use some other client library such as Qpid
Proton [1] (Which is recommend by ActiveMQ) to communicate with ActiveMQ
using AMQP.

[1] http://qpid.apache.org/proton/




On Thu, Apr 17, 2014 at 10:31 AM, Dinesh Bandara <di...@wso2.com> wrote:

> Will do
>
>
> On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Thanks Dinesh for bringing this up. Now, I too wonder may be we should
>> use AMQP transport instead of direct TCP transport.
>> Can you do a test round only with AMQP transport?
>>
>>
>>
>>
>> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> There were couple of threads regarding the issues with AMQP port.
>>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>>> AMQP.
>>>
>>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>>> <transportConnector name="amqp" uri="amqp://
>>> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
>>> "/>
>>>
>>> When I looked into jndi.properties file in stratos. We have used
>>> openwire instead of amqp.
>>> java.naming.provider.url=tcp://<mb_ip>:61616
>>>
>>> Without amqp I was able to run startos and its features successfully.
>>>
>>> I'm glad if someone can verify the $subject
>>>
>>> Thanks.
>>>
>>> --
>>> *Dinesh Bandara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Dinesh Bandara <di...@wso2.com>.
Will do


On Thu, Apr 17, 2014 at 10:08 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Thanks Dinesh for bringing this up. Now, I too wonder may be we should use
> AMQP transport instead of direct TCP transport.
> Can you do a test round only with AMQP transport?
>
>
>
>
> On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> There were couple of threads regarding the issues with AMQP port.
>> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
>> AMQP.
>>
>> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
>> <transportConnector name="amqp" uri="amqp://
>> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
>> "/>
>>
>> When I looked into jndi.properties file in stratos. We have used openwire
>> instead of amqp.
>> java.naming.provider.url=tcp://<mb_ip>:61616
>>
>> Without amqp I was able to run startos and its features successfully.
>>
>> I'm glad if someone can verify the $subject
>>
>> Thanks.
>>
>> --
>> *Dinesh Bandara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Are we using amqp port (5672) in ActiveMQ for stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Dinesh for bringing this up. Now, I too wonder may be we should use
AMQP transport instead of direct TCP transport.
Can you do a test round only with AMQP transport?




On Thu, Apr 17, 2014 at 9:52 AM, Dinesh Bandara <di...@wso2.com> wrote:

> Hi Devs,
>
> There were couple of threads regarding the issues with AMQP port.
> Therefore I just tried out basic stratos setup with ActiveMQ by disabling
> AMQP.
>
> Commented out following line in <ACTIVEMQ_HOME>/conf/activemq.xml
> <transportConnector name="amqp" uri="amqp://
> 0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600<http://0.0.0.0:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600>
> "/>
>
> When I looked into jndi.properties file in stratos. We have used openwire
> instead of amqp.
> java.naming.provider.url=tcp://<mb_ip>:61616
>
> Without amqp I was able to run startos and its features successfully.
>
> I'm glad if someone can verify the $subject
>
> Thanks.
>
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/