Thierry Cools wrote:
Hi,well this not really a struts problem, but as there are a lot of Tomcat specialists in this mailing list ( at least one ;-) ), I'm sure I'll get an answer. 
So my problem is : I currently busy to evaluate the use of different application servers and web servers, e.g I tried to communicate between Tomcat and Weblogic app server or Tomcat and ATG( another app server), I both case it works, but the problem is that in both case I have to manually add the jar file containing the client classes ( home, stubs, ...).in my classpath, however the jar file is under the web-inf/lib directory. So the question is, I tought that Tomcat automatically adds all jar files under the web-inf/lib directory, and if it is the case why do I have to add them in the classpath to avoid class not found exceptions. Thanks for your help,Thierry P.S. I'm using Tomcat 3.2.1  
Thierry Cools

Senior Java Developer
S1 Brussels
Kleine Kloosterstraat, 23
1932 st. Stevens-Woluwe
Belgium
Tel : +32 2 200 43 82
Email : [EMAIL PROTECTED]


I wonder who that Tomcat specialist might be?  :-)

Tomcat 3.2.1 does indeed put JAR files under /WEB-INF/lib into the class path visible to a web application's class loader.  In fact, for Struts to work correctly under Tomcat, the classes *must not* be visible on the system classpath, or installed as a system extension in $JAVA_HOME/jre/lib/ext.

Were you able to get the Struts example application to work "out of the box"?

Craig
 

Reply via email to