Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 7112 invoked from network); 16 Oct 2007 17:28:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 17:28:43 -0000 Received: (qmail 84029 invoked by uid 500); 16 Oct 2007 17:28:29 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 83861 invoked by uid 500); 16 Oct 2007 17:28:29 -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 83850 invoked by uid 99); 16 Oct 2007 17:28:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 10:28:29 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 17:28:31 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IhqDD-0003mN-Hu for user@geronimo.apache.org; Tue, 16 Oct 2007 10:28:11 -0700 Message-ID: <13238423.post@talk.nabble.com> Date: Tue, 16 Oct 2007 10:28:11 -0700 (PDT) From: MShah To: user@geronimo.apache.org Subject: Re: classes in a web application cannot be found In-Reply-To: <4714F000.3000403@joyfulnoisewebdesign.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: moni_sparkle@yahoo.com References: <13237740.post@talk.nabble.com> <4714F000.3000403@joyfulnoisewebdesign.com> X-Virus-Checked: Checked by ClamAV on apache.org The version of Geronimo is 2.0.1. I am deploying it as a war file. The war file gets deployed to the following location: repository\default\p2k6App\1192229987483\p2k6App-1192229987483.war where in I have the META-INF, WEB-INF and jsp files. In the WEB-INF directory I have to folders called classes and lib. In the lib directory I have all the jar files. In the classes directory I have the class files in the appropriate package structured folders. At the level of the classes directory I have the web.xml file as well. The stack trace is as follows: java.lang.NullPointerException which is right when I am instantiating the class like P2k6AppCtl a = new P2k6AppCtl(request, response); Any input on resolving this will be much appreciated. Thanks, Manisha Jay D. McHugh wrote: > > A couple of questions: > > 1) What version of Geronimo are you using? > 2) Are you deploying your application as a WAR or as an EAR? > 3) What is the file layout of your deployment file (the WAR or EAR)? > 4) Do you have a stack trace? > > Jay > > MShah wrote: >> I am deploying a we application using myeclipse, the application gets >> deployed perfectly, however the classes in the WEB-INF/classes directory >> cannot be found. The jars in the lib drectory are being loaded correctly >> as >> I am referencing a static variable in the jars and it prints out >> perfectly, >> but when one of the class is being instantiated in the jsp page I get a >> nullpointer exception. >> >> Any inputs on resolving this will be much appreciated. >> >> Thanks and regards, >> M. Shah >> > > -- View this message in context: http://www.nabble.com/classes-in-a-web-application-cannot-be-found-tf4635417s134.html#a13238423 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.