activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: NullPointerException with RA on Glassfish
Date Tue, 20 Jun 2006 08:56:08 GMT
I'd suggest raising a bug against GlassFish as its sounding like its
JCA container is not providing a ConnectionManager. FWIW the Resource
Adapter works fine in the Geronimo JCA container so I suspect it to be
a GlassFish bug.


On 6/20/06, rhavyn <rhavyn@gmail.com> wrote:
>
> 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.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message