Steve,

The path for the scratch directory is configurable, so you can certainly try
to point them all at the same one and see what happens.  However it seems to
me the better solution would be to simply deploy precompiled jsps and avoid
this problem altogether -- unless there's something with your setup that
prevents that?

Both precompilation and jasper configuration are discussed in pretty good
detail here:
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration

On 3/27/07, Martin Gainty <[EMAIL PROTECTED]> wrote:

Steve-

jsps get pre-compiled to
$CATALINA_HOME/work/Catalina/localhost
generally in the form JSPName_jsp.java

Does this answer your question?

Martin--

---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the
use of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées,
le cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement
interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message -----
From: "Steve Vangasse" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Tuesday, March 27, 2007 6:14 PM
Subject: Sharing compiled JSPs


My application has a large number of contexts under virtual hosts that
use the same set of webapps. At present, all the JSPs are compiled to a
different scratch directory under tomcat/work for each context. Is it
possible to use a shared scratch directory to save on perm gen memory
and cut down the load on the Jasper compiler?

Thanks,

Steve

Reply via email to