[
https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vamsavardhana Reddy updated GERONIMO-2964:
------------------------------------------
Attachment: g2964.war
Verified that GERONIMO-2964.patch solves the problem. Deploy g2964.war which
uses a workDir "g2964" under var/catalina. Access http://localhost:8080/g2964
once the app is deployed.
Caution: GERONIMO-2964.patch can not be committed as we will need to change the
versions of the two schema files and this requires (a lot of) other changes.
> Cannot specify the Tomcat work directory for a web application
> --------------------------------------------------------------
>
> Key: GERONIMO-2964
> URL: https://issues.apache.org/jira/browse/GERONIMO-2964
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Tomcat
> Affects Versions: 1.2, 2.0-M5
> Reporter: Aman Nanner
> Priority: Minor
> Fix For: 1.2, 2.1
>
> Attachments: g2964.war, GERONIMO-2964.patch,
> tomcat-config-workdir.patch, 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.