activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhavyn <>
Subject Re: NullPointerException with RA on Glassfish
Date Tue, 20 Jun 2006 08:52:37 GMT

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,

James.Strachan wrote:
> It looks like this exception...
> Caused by: java.lang.NullPointerException
>        at
> org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(
> 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:
Sent from the ActiveMQ - User forum at

View raw message