Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 45871 invoked from network); 3 Oct 2004 00:53:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 00:53:13 -0000 Received: (qmail 32305 invoked by uid 500); 3 Oct 2004 00:53:06 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32248 invoked by uid 500); 3 Oct 2004 00:53:06 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 32235 invoked by uid 99); 3 Oct 2004 00:53:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.250.40.202] (HELO saturn.opentools.org) (66.250.40.202) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Oct 2004 17:53:04 -0700 Received: by saturn.opentools.org (Postfix, from userid 500) id 0A2A93EC4; Sat, 2 Oct 2004 21:02:13 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by saturn.opentools.org (Postfix) with ESMTP id 03F1CF579 for ; Sat, 2 Oct 2004 21:02:13 -0400 (EDT) Date: Sat, 2 Oct 2004 21:02:12 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@saturn.opentools.org To: dev@geronimo.apache.org Subject: New and Different Connector Error Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Okay, the resource-ref got everything deployed. I haven't actually tried the DB connection yet, but the connector deployed and the web app deployed. I did get the following, which did not cause the server to stop (everything up until this did): java.lang.reflect.InvocationTargetException at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.getValue(GBeanMBeanAttribute.java:316) at org.apache.geronimo.gbean.jmx.GBeanMBean.getAttribute(GBeanMBean.java:630) at org.apache.geronimo.gbean.jmx.RawInvoker.getAttribute(RawInvoker.java:53) ... Caused by: java.lang.NullPointerException at org.apache.geronimo.connector.ActivationSpecWrapper.getRecoveryXAResources(ActivationSpecWrapper.java:159) at org.apache.geronimo.connector.ActivationSpecWrapper$$FastClassByCGLIB$$aaa078c1.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.getValue(GBeanMBeanAttribute.java:313) ... 52 more My connector is not XA-aware, so the ResourceAdapter getXAResources method returns null, which appears to cause this explosion. If no one objects, I'll change the ActivationSpecWrapper to treat a null like an empty array, since the API doc specifically says null is an OK value: http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/ResourceAdapter.html#getXAResources(javax.resource.spi.ActivationSpec[]) Thanks, Aaron