geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
Date Thu, 13 Sep 2007 00:45:37 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vamsavardhana Reddy updated GERONIMO-2964:
------------------------------------------

    Attachment: GERONIMO-2964-combined-new.patch

GERONIMO-2964-combined-new.patch:

Now that plugin backward compatibility is not an issue, I guess this fix can go into 2.0.2
as well.  Here is a patch to allow a "work-dir" tag in web.xml.  For G/Jetty, the work-dir
is created under var/jetty and for G/Tomcat, the work-dir is created under var/catalina with
the specified name.  Once again, the patch does not address renaming the schema's to new versions
which is to be addressed before committing the patch.  I have verified that the patch works
on branches\2.0 without any test failures.  And the distributiions built address the issue
at hand.

> 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.


Mime
View raw message