I believe you can configure the scratch directory of a host with its workDir 
attribute in server.xml.
Hope this helps

Bernhard

Steve Vangasse schrieb:
Yes but when you have multiple hosts, each one has it's own set of compiled 
JSPs under $CATALINA_HOME/work/Catalina/(hostname). I would like to have one 
scratch directory for the shared webapps that all the hosts can use. This way I 
can pre-compile just one set of JSPs.

-Steve

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 27 March 2007 22:37
To: Tomcat Users List
Subject: Re: Sharing compiled JSPs

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

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to