Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 4353 invoked from network); 16 Apr 2008 15:50:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 15:50:49 -0000 Received: (qmail 83035 invoked by uid 500); 16 Apr 2008 15:50:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 83006 invoked by uid 500); 16 Apr 2008 15:50:49 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 82996 invoked by uid 99); 16 Apr 2008 15:50:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 08:50:49 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 15:50:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97E99234C0DE for ; Wed, 16 Apr 2008 08:47:43 -0700 (PDT) Message-ID: <778479092.1208360863618.JavaMail.jira@brutus> Date: Wed, 16 Apr 2008 08:47:43 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-765) ActiveMQ RA serialization issue on Glassfish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-765?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies updated AMQ-765: --------------------------- Fix Version/s: 5.2.0 (was: 5.1.0) > ActiveMQ RA serialization issue on Glassfish > -------------------------------------------- > > Key: AMQ-765 > URL: https://issues.apache.org/activemq/browse/AMQ-765 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Affects Versions: 4.0, 4.0.1 > Environment: Glassfish > Reporter: Chris Conrad > Assignee: Rob Davies > Fix For: 5.2.0 > > Attachments: finest-log.txt, log.txt, RA.patch > > > I've been trying to work through an issue with a NullPointerException run= using the JCA 1.5 resource adapter on Glassfish. In the course of debuggi= ng, Siva from the Glassfish team provided this information: > "Thanks for trying out GlassFish. Since I have only the trace snippet abo= ve, I tried to debug this problem by going through ActiveMQ RA's source ava= ilable at https://svn.apache.org/repos/asf/incubator/activemq/trunk/activem= q-ra/src/main/java/org/apache/activemq/ra/ > This is what I understand happens. Please correct me if there are errors.= When ActiveMQConnectionFactory [https://svn.apache.org/repos/asf/incubator= /activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQCo= nnectionFactory.java] is created at the createConnectionFactory method of h= ttps://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-ra/src/ma= in/java/org/apache/activemq/ra/ActiveMQManagedConnectionFactory.java, the C= onnectionManager is initialized to a *transient* variable "manager". Since = ConnectionFactory instances can be serialized/deserialized while publishing= to JNDI (as is the case in Project GlassFish), the connectionManager refer= ence is lost and hence the NPE. The fix ideally should be in the ActiveMQRA= 's code. You could copy me [sivakumart AT sun DOT com] while you are discus= sing this with ActiveMQ, if you wish. If you still have any issues, please = provide a copy of your domain.xml [connector connection pool, resource conf= iguratin information] and the entire trace in server.log."=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.