[
https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523007
]
Vamsavardhana Reddy commented on GERONIMO-2964:
-----------------------------------------------
Paul, Donald,
I don't think it is necessary to change the constructor. Since the only way
the new workDir parameter it is used in the constructor is to initialize a
member "this.workDir", we can do away by adding a setter method. Let me see if
I can come up with a new patch that does not change the constructor. If not,
we can forgo the fix for 2.0.2 and fix it in 2.1. The only thing I was
concerned is whether a schema change from 2.0.1 to 2.0.2 is acceptable. May be
it is if we don't break compatibility. Will report back soon.
Aman,
Will it be possible for you to post a simple test war file to verify if my new
patch (if any). If not now, it will anyway be useful later when the issue is
addressed.
Thanks
> 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: 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.