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 <[email protected]> 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
