[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527758 ]
Vamsavardhana Reddy commented on GERONIMO-2964: ----------------------------------------------- Donald, Incase of patch with constructor change I ran into the error "Could not find a valid constructor for GBean: TomcatWebApplicationContext". I ran into another error once I got past this error by not changing the TomcatWebApplicationContext constructor (see my previous comment). Will it be possible for you to verify if GERONIMO-2964.patch breaks compatibility the way you originally tested the patch posted by Aman? Thank you, > 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-combined-new.patch, > GERONIMO-2964-combined.patch, 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.