geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <>
Subject [jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
Date Wed, 14 Mar 2007 16:19:09 GMT


Paul McMahan commented on GERONIMO-2964:

Are you interested in setting the workdir for JSPs or for the web application in general?
 If for JSPs then you can specify the work dir for the JSP servlet by setting the following
param in var/catalina/conf/web.xml

  <!--   scratchdir          What scratch directory should we use when      -->
  <!--                       compiling JSP pages?  [default work directory  -->
  <!--                       for the current web application]               -->
  <!--                                                                      -->

This solution is of course not as generic as what your patch provides because it's only useful
for JSPs.  I just wanted to point out that its already available in case that could help meet
your specific requirements.

> Cannot specify the Tomcat work directory for a web application
> --------------------------------------------------------------
>                 Key: GERONIMO-2964
>                 URL:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.2
>            Reporter: Aman Nanner
>            Priority: Minor
>             Fix For: 1.2
>         Attachments: tomcat-workdir.patch
> In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml
file.  The GeronimoStandardContext does not permit the user to specify a work directory, and
so the work directory defaults to var/catalina/work/<web-app>.
> I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the
user to optionally specify a work directory.  This work directory is then propagated into
the TomcatContext.  I've tested this and it seems to work well.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message