When I put jar files in $TOMCAT_HOME/common/lib they work fine for running 
Catalina, but they do not work for javac on my own classes, so I have had 
to put the actual classes into 
$TOMCAT_HOME/webapps/myapp/WEB-INF/classes/.  Is there a reason why the 
common/lib directory does not work for javac?  The app can see the javac 
command, but cannot see the classes in common/lib/whatever.jar.

Micael



>If you need classes to be visible to *both* Tomcat and your webapp, put
>them in $CATALINA_HOME/common/classes (or in JAR files in
>$CATALINA_HOME/common/lib).  For more information on how class loading
>works in Tomcat 4, see the appropriate docs:
>
>   http://localhost:8080/tomcat-docs/class-loader-howto.html
>
>or online at:
>
>   http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
>
> > Renato
> >
>
>Craig
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to