Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 82709 invoked from network); 27 Aug 2007 22:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 22:37:26 -0000 Received: (qmail 69950 invoked by uid 500); 27 Aug 2007 22:37:16 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 69914 invoked by uid 500); 27 Aug 2007 22:37:16 -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 69903 invoked by uid 99); 27 Aug 2007 22:37:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 15:37:16 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.147.95.91] (HELO smtp128.plus.mail.sp1.yahoo.com) (69.147.95.91) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Aug 2007 22:37:10 +0000 Received: (qmail 32407 invoked from network); 27 Aug 2007 22:36:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=sU655jAQHFfENNGRNjbz/3d/yLkReiN9zWxYBWFhET1zuxxo/FXVgrMYUvkN24tkmi1eQUhDyGlXqBkFLJE7Hjwi6G2oX5YLOBEBm8gXsrVWfxW7PLb0rLJBeyTeSsyN1RunUdrq75PbEepgDE6tCCVHyVos97k3xLyyBK7jzoI= ; Received: from unknown (HELO ?192.168.1.106?) (david_jencks@67.102.173.8 with plain) by smtp128.plus.mail.sp1.yahoo.com with SMTP; 27 Aug 2007 22:36:49 -0000 X-YMail-OSG: 8U5chswVM1ms.Vt8yjD1iR4c1al.qdI5ouifW0a2Ttz8YGVO475l1ZFoRsEPJmX0PIQT35JWaw-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <46D34668.5010304@gmail.com> References: <46D34668.5010304@gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-31--506402218 Message-Id: <2EA72A21-475B-4AA4-9FA8-FB7305E355FB@yahoo.com> From: David Jencks Subject: Re: Problem at geronimo boot Date: Mon, 27 Aug 2007 15:36:35 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-31--506402218 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 27, 2007, at 2:47 PM, Paolo Denti wrote: > Hi, i am a brand new geronimo user (or at least i am trying to be) > I am trying to deploy already existing applications (EARs), already > working on jboss, without any particular deployment descriptior, on > geronimo. > I always get NPEs at geronimo startup. below you can find the > stacktrace. > it happens if i deploy with geronimo running or if i deploy with > geronimo stopped and then start geronimo. > > environment is > - geronimo 2.0.1 with jetty > - os x 10.4.10 > - jdk 1.5.0_07 > - JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/ > CurrentJDK/Home > > thanks > Paolo > > Geronimo Application Server started > 23:16:07,293 ERROR [Deployer] Deployment failed due to > java.lang.NullPointerException > at > org.apache.geronimo.deployment.CopyResourceContext.addFile > (CopyResourceContext.java:144) > at org.apache.geronimo.deployment.DeploymentContext.addFile > (DeploymentContext.java:461) > at > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installM > odule(AbstractWebModuleBuilder.java:288) > at > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder$ > $FastClassByCGLIB$$8523248f.invoke() Poking around in the code a little bit it looks to me as if the only way this could happen is if there is a WEB-INF/web.xml in the war but it can't be read into a string. Could you check the structure of your war files and make sure the WEB-INF/web.xml are really files and not directories and they can be accessed properly (e.g. by unjarring them and looking at them in an editor, or looking at them in emacs) thanks david jencks --Apple-Mail-31--506402218 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On Aug 27, 2007, = at 2:47 PM, Paolo Denti wrote:

Hi, i am a brand = new geronimo user (or at least i am trying to be)
I am trying to = deploy already existing applications (EARs), already working on jboss, = without any particular deployment descriptior, on geronimo.
I always = get NPEs at geronimo startup. below you can find the stacktrace.
it = happens if i deploy with geronimo running or if i deploy with geronimo = stopped and then start geronimo.

environment is
- geronimo = 2.0.1 with jetty
- os x 10.4.10
- jdk 1.5.0_07
- = JAVA_HOME=3D/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJD= K/Home

thanks
Paolo

Geronimo Application Server = started
23:16:07,293 ERROR [Deployer] Deployment failed due to
= java.lang.NullPointerException
=A0=A0=A0=A0=A0=A0=A0 at = org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceCon= text.java:144)
=A0=A0=A0=A0=A0=A0=A0 at = org.apache.geronimo.deployment.DeploymentContext.addFile(DeploymentContext= .java:461)
=A0=A0=A0=A0=A0=A0=A0 at = org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModul= e(AbstractWebModuleBuilder.java:288)
=A0=A0=A0=A0=A0=A0=A0 at = org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder$$FastClassBy= CGLIB$$8523248f.invoke(<generated>)

Poking around in the code = a little bit it looks to me as if the only way this could happen is if = there is a WEB-INF/web.xml in the war but = it can't be read into a string.=A0 Could you check the structure of your = war files and make sure the WEB-INF/web.xml= are really files and not directories and they can be accessed properly = (e.g. by unjarring them and looking at them in an editor, or looking at = them in emacs)

thanks
david = jencks


= --Apple-Mail-31--506402218--