You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by flippo <ve...@gmail.com> on 2009/05/20 10:46:39 UTC

Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

A few months ago i integrated Apache ActiveMQ 4.1.2 with JBoss 4.0.5GA which
worked fine for me.
My application could send messages to the queue's by using the
tcp://localhost:61616.
Now when I use almost the same configuration with the combination ActiveMQ
5.2.0 and JBoss 5.0.1. GA
I can't connect to tcp://localhost:61616 anymore does anybody know the
problem?

in the ra.xml :

<config-property-name>ServerUrl</config-property-name>
            <config-property-type>java.lang.String</config-property-type>
           
<!--<config-property-value><![CDATA[vm://localhost?create=false&async=false]]></config-property-value>-->
        
<config-property-value>tcp://localhost:61616</config-property-value>
        </config-property>

borker.xml:

 <transportConnectors>
         <transportConnector name="MT.broker" uri="tcp://localhost:61616"   
discoveryUri="multicast://default"/>

    </transportConnectors>

regards
-- 
View this message in context: http://www.nabble.com/Connecting-to-ActiveMQ-5.2.0-integrated-JBoss-5.0.1.-GA-tp23631384p23631384.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

Posted by Giovani Seben <gs...@gmail.com>.
There was a fix for that classloading issue but you would have to use AMQ
5.3.0 to take advantage of it.

-Gio

On Mon, May 25, 2009 at 5:44 AM, flippo <ve...@gmail.com> wrote:

>
> He thanx for the answer and I think that's the problem with the integration
> with Jboss5
> normally I get the following situation with Jboss 4.0.5. GA
>
> http://www.nabble.com/file/p23704239/BrokerJboss4.jpg
>
> And when i look at the management console with Jboss 5.0.1.GA then I can't
> find a broker at all.
>
> Is there yet a solution for this problem ?
>
>
> Kind regards
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Connecting-to-ActiveMQ-5.2.0-integrated-JBoss-5.0.1.-GA-tp23631384p23704239.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

Posted by flippo <ve...@gmail.com>.
He thanx for the answer and I think that's the problem with the integration
with Jboss5
normally I get the following situation with Jboss 4.0.5. GA

http://www.nabble.com/file/p23704239/BrokerJboss4.jpg 

And when i look at the management console with Jboss 5.0.1.GA then I can't
find a broker at all.

Is there yet a solution for this problem ?


Kind regards 




-- 
View this message in context: http://www.nabble.com/Connecting-to-ActiveMQ-5.2.0-integrated-JBoss-5.0.1.-GA-tp23631384p23704239.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Connecting to ActiveMQ 5.2.0 integrated JBoss 5.0.1. GA

Posted by Giovani Seben <gs...@gmail.com>.
Looks like the broker is not starting. Do you see any exceptions in the
Jboss log?
A while ago, (see: https://issues.apache.org/activemq/browse/AMQ-2212) there
was a fix for a classloading issue with the 5.2 resource adapter. It was
found when using Websphere but it might affect Jboss as well.

-Gio

On Wed, May 20, 2009 at 4:46 AM, flippo <ve...@gmail.com> wrote:

>
> A few months ago i integrated Apache ActiveMQ 4.1.2 with JBoss 4.0.5GA
> which
> worked fine for me.
> My application could send messages to the queue's by using the
> tcp://localhost:61616.
> Now when I use almost the same configuration with the combination ActiveMQ
> 5.2.0 and JBoss 5.0.1. GA
> I can't connect to tcp://localhost:61616 anymore does anybody know the
> problem?
>
> in the ra.xml :
>
> <config-property-name>ServerUrl</config-property-name>
>            <config-property-type>java.lang.String</config-property-type>
>
>
> <!--<config-property-value><![CDATA[vm://localhost?create=false&async=false]]></config-property-value>-->
>
> <config-property-value>tcp://localhost:61616</config-property-value>
>        </config-property>
>
> borker.xml:
>
>  <transportConnectors>
>         <transportConnector name="MT.broker" uri="tcp://localhost:61616"
> discoveryUri="multicast://default"/>
>
>    </transportConnectors>
>
> regards
> --
> View this message in context:
> http://www.nabble.com/Connecting-to-ActiveMQ-5.2.0-integrated-JBoss-5.0.1.-GA-tp23631384p23631384.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>