Place your JARs in the WEB-INF/lib directory of your web app - or if they are shared in the /common/lib (5.x) location of Tomat.
These locations are scanned and used automagically by Tomcat when doing classloading. You may want to check out the tomcat architecture descriptions for the version of Tomcat you are using , for 5.0.x: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html Carl -----Original Message----- From: Toby Vidler [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 8:23 AM To: Tomcat Users List Subject: Too many jars Hi All, I'm sure this must be a reasonably common scenario but havn't been unable to find a suitable solution as yet: For my application I utilise many jar files from the rich and varied open source apps that are out there. After deploying the webapp I am now getting a Jasper compilation error when viewing the JSPs for the first time: org.apache.jasper.JasperException: Unable to compile class for JSP This is apparently due to the fact that classpath parameter is too long for the Windows allowed command line length when the javac command is called. This can be fixed by shortening the names of the jars or moving CATALINA_HOME to be in a less verbose directory location (eg not ..\Program Files\Apache Group\Tomcat.. etc). Does anyone have a better solution for this? Thanks, Toby --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
