Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 93308 invoked from network); 1 Nov 2000 13:25:59 -0000 Received: from gatekeeper.zedak.com (HELO postal.zedak.com) (209.117.119.199) by locus.apache.org with SMTP; 1 Nov 2000 13:25:59 -0000 Received: from rilecon (gatekeeper.zedak.com [172.16.0.1]) by postal.zedak.com (Switch-2.0.0/Switch-2.0.0) with SMTP id eA1DIWt05722 for ; Wed, 1 Nov 2000 08:18:32 -0500 Message-ID: <000a01c04408$09714820$8928a8c0@zedak.com> From: "Leon Palermo" To: References: <00de01c04405$90d81760$02280a0a@wsp500> Subject: Re: jar's still not picked up in WEB-INF/lib Date: Wed, 1 Nov 2000 08:31:27 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C043DE.208F0B20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C043DE.208F0B20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I would definitely set up a context in server.xml like this: That should solve you problem. Otherwise, just put the .jar files in = the D:\Java\jakarta-tomcat\lib directory. Then the jars would be = available for all applications served by tomcat. Leon Palermo Zedak Corporation Valhalla, NY ----- Original Message -----=20 From: Bill Pfeiffer=20 To: Tomcat=20 Sent: Wednesday, November 01, 2000 8:13 AM Subject: Re: jar's still not picked up in WEB-INF/lib I am experiencing the same problem that others have reported on this = topic. I explicitly set my Tomcat classpath to be sure of no = redundancies in the jars. I have a Tomcat startup batch file with one = line that adds in all the jars in my WEB-INF\lib to the classpath = explicitly. When I comment that line out, I get the classnotfound = errors. When I put it back in, my web app runs fine. Obviosly I want = the line commented out and have the jars picked up in the lib dir, but = that aint happening. Because the jars work when explicitly included in the classpath, I = conclude that the jars are not corrupt. I also conclude, based on = commenting out the explicit lib jars classpath, that there are not = redundant jars in the classpath. I have also checked other sources for = possible classpath jar redundancies and I am just not finding any. I am running under Win2000 using jdk1.3. =20 These is the exact dir structure I have set up: D:\Java\jakarta-tomcat\webapps D:\Java\jakarta-tomcat\webapps\Oasis D:\Java\jakarta-tomcat\webapps\Oasis\jsp D:\Java\jakarta-tomcat\webapps\Oasis\META-INF D:\Java\jakarta-tomcat\webapps\Oasis\resources D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\classes D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\lib I have gone through Craig McClanahans list of things to check and all = seems to be as it should. Any hope for a fix? Should I continue to look at my config? I have = heard some people talk about setting up an explicit context for the app = in the server.xml. Does this solve the problem consistantly? TIA, Bill Pfeiffer ------=_NextPart_000_0007_01C043DE.208F0B20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I would definitely set up a context in = server.xml=20 like this:
 
<Context=20 path=3D"/Oasis"
 docBase=3D"webapps/Oasis"
 debug=3D"0" =
 reloadable=3D"true" >
</Context>
 
That should solve you problem.  = Otherwise,=20 just put the .jar files in the D:\Java\jakarta-tomcat\lib = directory. =20 Then the jars would be available for all applications served by=20 tomcat.
 
Leon Palermo
Zedak Corporation
Valhalla, NY
----- Original Message -----
From:=20 Bill=20 Pfeiffer
To: Tomcat
Sent: Wednesday, November 01, = 2000 8:13=20 AM
Subject: Re: jar's still not = picked up in=20 WEB-INF/lib

I am experiencing the same problem = that others=20 have reported on this topic.  I explicitly set my Tomcat = classpath to be=20 sure of no redundancies in the jars.  I have a Tomcat startup = batch file=20 with one line that adds in all the jars in my WEB-INF\lib to the = classpath=20 explicitly.  When I comment that line out, I get the = classnotfound=20 errors.  When I put it back in, my web app runs fine.  = Obviosly I=20 want the line commented out and have the jars picked up in the lib = dir, but=20 that aint happening.
 
Because the jars work when explicitly = included in=20 the classpath, I conclude that the jars are not corrupt.  I also=20 conclude, based on commenting out the explicit lib jars classpath, = that there=20 are not redundant jars in the classpath.  I have also checked = other=20 sources for possible classpath jar redundancies and I am just not = finding=20 any.
 
 I am running under Win2000 = using=20 jdk1.3. 
 
These is the exact dir structure I = have set=20 up:
 
D:\Java\jakarta-tomcat\webapps
D:\Java\jakarta-tomcat\webapps\Oasis
D:\Java\jakarta-tomcat\webapps\Oasis\jsp
D:\Java\jakarta-tomcat\webapps\Oasis\META-INF
D:\Java\jakarta-tomcat\webapps\Oasis\resources
D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF
D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\classes
D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\lib
 
I have gone through Craig McClanahans = list of=20 things to check and all seems to be as it should.
 
Any hope for a fix?  Should I = continue to=20 look at my config?  I have heard some people talk about setting = up an=20 explicit context for the app in the server.xml.  Does this solve = the=20 problem consistantly?
 
 
TIA,
 
Bill=20 Pfeiffer
------=_NextPart_000_0007_01C043DE.208F0B20--