----- Original Message -----From: Raghu HavaldarSent: Wednesday, November 01, 2000 10:42 AMSubject: RE: jar's still not picked up in WEB-INF/libI think u misread me a bit.I would NOT recommend putting them under $TOMCAT/lib.However, their right place is (as the doc suggests) in$TOMCAT/webapps/APP/web-inf/lib.I have not yet looked at load-balancing issues. But, theyare another beast (for upgrades and such).-raghu-----Original Message-----
From: Bill Pfeiffer [mailto:wsplist1@tampabay.rr.com]
Sent: Wednesday, November 01, 2000 9:28 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: jar's still not picked up in WEB-INF/libAside from the fact that it does not work in certain situations, why would you think it is not a good idea to put your app specific libs under the WEB-INF\lib directory.The spec says to do it. It allows for good application orginization. What would be your arguments against it?Actually I can think of one argument against it, and that is that by including your libs in the classpath instead, you can control the order of the classpath. It appears that using the libs directory would allow for random ordering (based on OS directory ordering) of these libs. Also, I need to include zip files and these don't get picked up anyway. Maybe using the classpath is the way to go.Bill Pfeiffer----- Original Message -----From: Raghu HavaldarSent: Wednesday, November 01, 2000 9:34 AMSubject: RE: jar's still not picked up in WEB-INF/libThe Context setup is for the web-app.I do not think it is a good idea to put app-depedentlibs under $TOMCAT/lib.Just for experimentation, I tried placing the JARs under$TOMCAT/lib and $TOMCAT/webapps/web-inf/lib. Doesnot work.Tried with 3.1 and 3.2beta6 on WinNT 4.0.-raghu-----Original Message-----
From: Leon Palermo [mailto:leonp@zedak.com]
Sent: Wednesday, November 01, 2000 7:31 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: jar's still not picked up in WEB-INF/libI would definitely set up a context in server.xml like this:<Context path="/Oasis"
docBase="webapps/Oasis"
debug="0"
reloadable="true" >
</Context>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 PalermoZedak CorporationValhalla, NY----- Original Message -----From: Bill PfeifferTo: TomcatSent: Wednesday, November 01, 2000 8:13 AMSubject: Re: jar's still not picked up in WEB-INF/libI 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.These is the exact dir structure I have set up:D:\Java\jakarta-tomcat\webappsD:\Java\jakarta-tomcat\webapps\OasisD:\Java\jakarta-tomcat\webapps\Oasis\jspD:\Java\jakarta-tomcat\webapps\Oasis\META-INFD:\Java\jakarta-tomcat\webapps\Oasis\resourcesD:\Java\jakarta-tomcat\webapps\Oasis\WEB-INFD:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\classesD:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\libI 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