activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Factory gets no connection with ra package
Date Wed, 11 Sep 2013 20:46:04 GMT
Well, starting up a connection against the vm:// transport will always get
a connection because the broker will be auto-created in the JVM if it
cannot find one.

Check your connection URI. Is there a broker running at
tcp://localhost:61616 ?




On Wed, Sep 11, 2013 at 7:54 AM, travep <tprescott@pulsepoint.com> wrote:

> A quick test against an working environment works like this:
>
>
>
> Now, trying to get this working in glassfish using jndi and the
> active-rar-5.5.1 package like this:
>
>
>
> The jndi version results in failure: JMSException: Error in allocating a
> connection. Cause: Could not create connection.
>
> Here is my config in glassfish:
>    Resource Adapter Config:
>       ServerUrl=tcp://localhost:61616
>       UseInboundSession=false
>    Application:
>       enabled=true
>       engines=connector
>    Connector Resources:
>       enabled=true
>       pool=activemq_pool
>    Connector connection pool:
>       pool name=activemq_pool
>       resource adapter=activemq-rar-5.5.1
>       connection definition=javax.jms.ConnectionFactory
>       initial & min pool size=25
>       max pool size=50
>
> I am getting the factory object and here is the introspection on it:
>
>
>
> Any thoughts would so appreciated.
>
> Travis
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Factory-gets-no-connection-with-ra-package-tp4671418.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message