Thanks for your quick response. I took a look at the change you made and it does make it clearer where the error is. However, is there any chance that you might have a pointer towards how I can resolve the issue on the Glassfish end of things? I am using UseInboundSessoinEnabled to work around the issue at the moment, but for the sake of completeness, I'd like to understand how to make the container do the right thing. I've looked through the documentation on the Glassfish site and I've Googled using all the keywords I can think of and nothing is coming up.
Thanks again, --Chris James.Strachan wrote: > > It looks like this exception... > > Caused by: java.lang.NullPointerException > at > org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:88) > > is caused by Glassfish calling > > ManagedConnectionFactory.createConnectionFactory(ConnectionManager > manager) > > by passing in a null ConnectionManager. > > So it sounds like Glassfish is not creating a connection manager to > use. This is only required if UseInboundSessionEnabled is not set. > > I've just updated SVN HEAD of ActiveMQ to throw a more descriptive > error message if the JCA container does not configure a > ConnectionManager. > > -- View this message in context: http://www.nabble.com/NullPointerException-with-RA-on-Glassfish-t1814940.html#a4951551 Sent from the ActiveMQ - User forum at Nabble.com.
