Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 57616 invoked from network); 14 Mar 2007 16:19:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 16:19:37 -0000 Received: (qmail 62221 invoked by uid 500); 14 Mar 2007 16:19:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 62135 invoked by uid 500); 14 Mar 2007 16:19:38 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 62124 invoked by uid 99); 14 Mar 2007 16:19:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 09:19:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 09:19:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 454E971407A for ; Wed, 14 Mar 2007 09:19:09 -0700 (PDT) Message-ID: <5356850.1173889149271.JavaMail.jira@brutus> Date: Wed, 14 Mar 2007 09:19:09 -0700 (PDT) From: "Paul McMahan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application In-Reply-To: <14581063.1173884349329.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480820 ] 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 {{monospaced}} [...] jsp org.apache.jasper.servlet.JspServlet scratchdir mypath [...] {{monospaced}} 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: https://issues.apache.org/jira/browse/GERONIMO-2964 > 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/. > 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.