Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 51823 invoked from network); 1 Mar 2007 01:25:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 01:25:27 -0000 Received: (qmail 98241 invoked by uid 500); 1 Mar 2007 01:25:35 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 98212 invoked by uid 500); 1 Mar 2007 01:25:35 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 98202 invoked by uid 99); 1 Mar 2007 01:25:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 17:25:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 17:25:23 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HMa2Y-000241-Lg for abdera-dev@incubator.apache.org; Wed, 28 Feb 2007 17:25:02 -0800 Message-ID: <9241927.post@talk.nabble.com> Date: Wed, 28 Feb 2007 17:25:02 -0800 (PST) From: jsolderitsch To: abdera-dev@incubator.apache.org Subject: Abdera and Glassfish (and JAX-WS?) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jsolderitsch@gestalt-llc.com X-Virus-Checked: Checked by ClamAV on apache.org I am trying to run some code that depends on the getFactory method as the basis for creating a new Entry object. This code works fine in our junit tests and when deployed as a war to tomcat. Recently I am trying to use code based on this inside a web service implementation that I am deploying (via netbeans) to Glassfish, Sun's app server. Unexpectedly, the code sequence: Abdera _abdera = new Abdera(); _af = _abdera.getFactory(); Entry atomEntry = _af.newEntry(); just results in a null pointer exception on the third line. I am using these lines in a static private method in a class that provides some context info for my web service class. I looked at the source and there is a general return of null when a no class def found error reaches the attempt to get a factory. Perhaps I should include more of the abdera jars in my lib classes -- right now I am including only the client and core jars. I will try this next. The code compiles with just the two jars but perhaps there is a runtime dependency on some other abdera classes located in other jars. Jim -- View this message in context: http://www.nabble.com/Abdera-and-Glassfish-%28and-JAX-WS-%29-tf3324314.html#a9241927 Sent from the abdera-dev mailing list archive at Nabble.com.