It appears that I've answered my own question though. Just set fork to false and this problem is overcome. I probably could have thought of that about 8 hours ago...
Thanks anyway.
Carl Olivier wrote:
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]
-- <http://www.eb2-international.com> Toby Vidler — Solutions Engineer *EB2 International Limited (London & Sydney)
* Grd Floor, 99 Stanley Street, Darlinghurst, NSW 2010 Australia (ABN 27 095 125 045)
Tel: +61 (2) 8353 9101 Fax: +61 (2) 9380 9386 Mob: +61 (0) 405 241 842
www.EB2-International.com <http://www.EB2-International.com>
IMPORTANT: This electronic mail message and its attachments (if any) are confidential and may be legally privileged. If you are not the intended recipient, you may not legally copy, disclose or use the contents in any way and you should contact us immediately and destroy this message and any attachments.
This email is not guaranteed to be error-free, virus-free, or intact. The sender does not accept any liability for the effects the reception, or non-reception, of this email have on their systems or business. This email is not guaranteed to arrive in a timely manner.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
