Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 63862 invoked from network); 8 Apr 2006 16:49:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2006 16:49:50 -0000 Received: (qmail 1789 invoked by uid 500); 8 Apr 2006 16:49:49 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 1759 invoked by uid 500); 8 Apr 2006 16:49:49 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 1750 invoked by uid 99); 8 Apr 2006 16:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 09:49:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO zproxy.gmail.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 09:49:48 -0700 Received: by zproxy.gmail.com with SMTP id 8so531300nzo for ; Sat, 08 Apr 2006 09:49:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d95KvBJYqrjDD6pu0Jm83vaObefV616aRTBxmZi7EGdUGLE8IhsTY/Io+3xctVpFakrNGCkiu3Ox+Fxe2XrAqB6AGUJW8XuVmiY7Muf9NbO8Q0vPuVEoa9j2u5HfNAJ+XuffsyJGJRp0eGKbZ9HjDnRRj4KguL0CrnuNVRtyqaE= Received: by 10.64.250.12 with SMTP id x12mr828437qbh; Sat, 08 Apr 2006 09:49:27 -0700 (PDT) Received: by 10.65.234.8 with HTTP; Sat, 8 Apr 2006 09:49:27 -0700 (PDT) Message-ID: Date: Sat, 8 Apr 2006 12:49:27 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-dev@geronimo.apache.org Subject: Re: NPE in ActiveMQManagedConnectionFactory In-Reply-To: <4436EB2C.2060600@ldsys.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4436EB2C.2060600@ldsys.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 =3D 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(Ac= tiveMQResourceAdapter.java:156) > at > org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQRes= ourceAdapter.java:100) > at > org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConn= ection(ActiveMQManagedConnectionFactory.java:103 > ) > at com.caucho.jca.ConnectionPool.init(ConnectionPool.java:462) > > -- > Christopher G. Stach II > -- Regards, Hiram