activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: NPE in ActiveMQManagedConnectionFactory
Date Sat, 08 Apr 2006 16:49:27 GMT
Hi Chris,

This was easy to fix.  Change has been applied to trunk.  Please test
against a subsequent build and let us know if it resolves the Resin
issue.

On 4/7/06, Christopher G. Stach II <cgs@ldsys.net> wrote:
> We're using Resin and trying to use 4.0-RC2.  It just so happens that
> Resin makes this call in ConnectionPool.init(ManagedConnectionFactory):
>
> ManagedConnection mConn = mcf.createManagedConnection(subject, null);
>
> So, eventually that null info gets dereferenced and BOOM!
>
> com.caucho.server.webapp.Application.start java.lang.NullPointerException
>         at
> org.apache.activemq.ra.ActiveMQResourceAdapter.createConnectionFactory(ActiveMQResourceAdapter.java:156)
>         at
> org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:100)
>         at
> org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:103
> )
>         at com.caucho.jca.ConnectionPool.init(ConnectionPool.java:462)
>
> --
> Christopher G. Stach II
>


--
Regards,
Hiram

Mime
View raw message