Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 677 invoked from network); 31 Oct 2001 18:28:32 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 31 Oct 2001 18:28:32 -0000 Received: (qmail 12581 invoked from network); 31 Oct 2001 18:30:45 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 31 Oct 2001 18:30:45 -0000 Received: (qmail 9103 invoked by uid 97); 31 Oct 2001 18:25:46 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 9075 invoked by uid 97); 31 Oct 2001 18:25:44 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9058 invoked from network); 31 Oct 2001 18:25:44 -0000 Message-ID: <764CA2FF49EC054BA086FC8253A52DD7432CE8@merc09.na.sas.com> From: Larry Isaacs To: 'Tomcat Users List' Subject: RE: ClassNotFoundException when using war file (Tomcat 3.2.3) Date: Wed, 31 Oct 2001 13:25:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have found that WinZip always displays WEB-INF as "Web-inf" when viewing the contents of a WAR file. It doesn't seem to cause a problem when the WAR is expanded. It is incorrect to see extra directories created under WEB-INF/lib. This suggests that the WAR is packaged incorrectly. I can't tell what might be wrong from the information available so far. You can use the supplied WAR files as examples of what a WAR internally might look like. Note that Tomcat 3.2.x will not overwrite a web application directory if it already exists. You have to delete the directory first and then restart Tomcat 3.2.x to have the WAR file re-expanded. For those using Tomcat 3.3, you can avoid needing to delete the directory by adding redeploy="true" to the AutoDeploy module in the server.xml. When Tomcat is started, it will re-expand the WAR file. Also, if the ReloadInterceptor is present, which it is by default, updating the WAR file while Tomcat is running will trigger redeploy and restart the web application the next time it is accessed. Cheers, Larry > -----Original Message----- > From: Abinesh S Puthenpurackal > [mailto:abinesh.puthenpurackal@sdrc.com] > Sent: Wednesday, October 31, 2001 11:02 AM > To: Tomcat Users List > Subject: Re: ClassNotFoundException when using war file (Tomcat 3.2.3) > > > The examples that gets shipped with the tomcat.zip file also > uses Web-inf !!!! > > scarcher@its.state.ms.us wrote: > > > I'm new to tomcat but shouldn't it bet WEB-INF? > > isn't it case sensitive? > > > > Scott Archer > > scarcher@its.state.ms.us > > > > > > Abinesh S > > Puthenpurackal To: > tomcat-user@jakarta.apache.org > > > @sdrc.com> Subject: > ClassNotFoundException when using war file (Tomcat 3.2.3) > > > > 10/31/2001 09:45 AM > > Please respond to > > "Tomcat Users List" > > > > > > > > Hi, > > > > I am trying to use a war which has some jar files in it for my web > > application in tomcat 3.2.3. The war file is structured as follows > > > > WarFile.war > > Web-inf/lib/jarfile1.jar > > Web-inf/lib/jarfile2.jar > > Web-inf/lib/jarfile3.jar > > > > When running the application I get ClassNotFoundException for the > > classes in the jar file. Also I noticed that empty directories (that > > follows my package structure) were created under lib > directory. E.g. I > > see the following empty directories > > > > > %TOMCAT_HOME%/webapps/webapplication/Web-inf/lib/examples/addr > essbook/..... > > > > A workaround is to place the jar files in the tomcat/lib > directory. This > > will result in the the jars to be added to the classpath > and everything > > works fine. > > > > I was wondering if anyone knows about a cleaner solution or > point out if > > there is something that I need to do to get this working (perhaps > > something in manifest file or web.xml file etc.). > > > > Any help is greatly appreciated. > > > > Thanks, > > > > Abi - > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: