[JBoss JIRA] Commented: (JBAS-3358) Work directory shouldn't be deleted on Context Destroy
by Anil Saldhana (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3358?page=comments#action_12341219 ]
Anil Saldhana commented on JBAS-3358:
-------------------------------------
Also, as part of this JIRA issue, JBossContextConfig has been made default at the host level.
> 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
19 years, 11 months
[JBoss JIRA] Resolved: (JBAS-3358) Work directory shouldn't be deleted on Context Destroy
by Anil Saldhana (JIRA)
[ 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
19 years, 11 months
[JBoss JIRA] Resolved: (JBAS-2637) Reduce memory footprint of HAPartition's state transfer
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2637?page=all ]
Brian Stansberry resolved JBAS-2637.
------------------------------------
Fix Version/s: (was: JBossAS-5.0.0.Beta)
Resolution: Won't Fix
Once streaming state transfer is in place (JBAS-3315), that's the mechanism to ensure large states transfer effectively.
Also, in AS 5 only HASessionState uses ClusterPartition state transfer.
> Reduce memory footprint of HAPartition's state transfer
> -------------------------------------------------------
>
> Key: JBAS-2637
> URL: http://jira.jboss.com/jira/browse/JBAS-2637
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> HAPartitionImpl's state transfer mechanism marshalls state to a byte[] using java.io.ByteArrayOutputStream. This memory-inefficient, as BAOS.toByteArray() makes a copy of the internal byte[]. Need to move class org.jboss.cache.util.ExposedByteArrayOutputStream to jboss-common and use it instead.
--
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
19 years, 11 months