Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 58224 invoked from network); 22 Nov 2005 12:17:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Nov 2005 12:17:07 -0000 Received: (qmail 3453 invoked by uid 500); 22 Nov 2005 12:16:59 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 3424 invoked by uid 500); 22 Nov 2005 12:16:58 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 3413 invoked by uid 99); 22 Nov 2005 12:16:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 04:16:58 -0800 Received-SPF: pass (asf.osuosl.org: domain of manu.t.george@gmail.com designates 64.233.184.195 as permitted sender) Received: from [64.233.184.195] (HELO wproxy.gmail.com) (64.233.184.195) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 04:18:30 -0800 Received: by wproxy.gmail.com with SMTP id 69so581059wra for ; Tue, 22 Nov 2005 04:16:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aAJXcw1Kw5h0DmGxg0CYpxq10gjoIod+8p06Q1HAbpV15CU4EiN+bkq6hPbyjChCzx20OsB/zQJPf3UVXu3/gDDKjUWx6m+ALDBOcmREQr5Ip+U29L5QMNX2QJEQ0ZSciInHRsC/90yKIRksOELaWFzYnU1KUlC7O88lvsGMRuc= Received: by 10.65.147.13 with SMTP id z13mr4443377qbn; Tue, 22 Nov 2005 04:16:36 -0800 (PST) Received: by 10.65.241.8 with HTTP; Tue, 22 Nov 2005 04:16:36 -0800 (PST) Message-ID: <466797bd0511220416u6b655494g1a4a004c7b8edca0@mail.gmail.com> Date: Tue, 22 Nov 2005 17:46:36 +0530 From: Manu George To: user@geronimo.apache.org Subject: Re: Problem with EAR deploy In-Reply-To: <785A212E11918F449D1318C61B7A9B0E2B9478@cs-mailsvr.Virtusa.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26931_23140788.1132661796563" References: <785A212E11918F449D1318C61B7A9B0E2B9478@cs-mailsvr.Virtusa.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_26931_23140788.1132661796563 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Siraj, I am no expert :-) but at first glance I can see the following issues 1) the cmp-connection-factory entry is not required for a session bean. Als= o the syntax is wrong. It should be DefaultDatasource instead of DefaultDatasource 2)Another thing that is not clear is if j2ee-deployer-plan.xml is your openejb-jar.xml file helloworld-ejb.jar j2ee-deployer-plan.xml In the alt-dd element you need to give the geronimo specific deployment descriptor of the ejb you are trying to deploy i.e. the equivalent of the openejb-jar.xml. 3) A NullPointerException is not at all supposed to occur even if your plan= s have errors. So you may want to open a JIRA issue. Hope this helps Regards Manu ------=_Part_26931_23140788.1132661796563 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Siraj,
            I am no expert :-) but at first glance I can see the following issues
1) = the cmp-connection-factory entry is not required for a session b= ean. Also the syntax is wrong.
It should be
<cmp-connection-factory>
            &nb= sp;   <resource-link>
DefaultDatasource</resource-link>
</cmp-connection-factory>
instead of
<cmp-connection-factory>DefaultDatasource</cmp-connecti= on-factory>

2)Another thing that is not clear is if 
<alt-dd>j2ee-deployer-plan.xml</alt-dd> is your openejb-jar.xml file
<module>

=         <ejb= >helloworld-ejb.jar</ej= b>

=         <alt-dd>j2ee-deployer-plan.xml</alt-dd>

=     </module>

In = the alt-dd element you need to give the geronimo specific deployment descri= ptor of the
ejb= you are trying to deploy i.e. the equivalent of the openejb-jar.xml.

3) A NullPointerException is not at all supposed to occur even if your plan= s have errors. So you may want to open a JIRA issue.

Hope this helps

Regards
Manu

------=_Part_26931_23140788.1132661796563--