[jboss-jira] [JBoss JIRA] Resolved: (JBAS-3358) Work directory shouldn't be deleted on Context Destroy

Anil Saldhana (JIRA) jira-events at jboss.com
Mon Aug 14 16:32:18 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3358?page=all ]

Anil Saldhana resolved JBAS-3358.
---------------------------------

    Resolution: Done

Made configurable at the tomcat service level.   There is an attribute that can be changed in deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml

 <!--Flag to delete the Work Dir on Context Destroy -->
<attribute name="DeleteWorkDirOnContextDestroy">false</attribute>


Do we need a testcase for this?

> Work directory shouldn't be deleted on Context Destroy
> ------------------------------------------------------
>
>                 Key: JBAS-3358
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3358
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Javid Jamae
>         Assigned To: Anil Saldhana
>             Fix For: JBossAS-4.0.5.GA
>
>
> I tried enabling HTTP session persistence, but found out that the default directory that it writes to is the work directory. Working with JBoss support, I discovered that the work directory is deleted when the server shuts down.
> Either the work directory should not be deleted, or the default directory where the persistent HTTP sessions are serialized to a file should be changed to be in a directory other than work (since it is being deleted).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list