Version: jboss-4.0.1sp1

I am trying to turn off http session persistence for all applications deployed 
on JBoss by placing a context.xml under deploy\jbossweb-tomcat50.sar as per 
this post:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DisableSessionPersistence

But this doesn't seem to work. However, if I place this under WEB-INF for the 
target web application it works fine. But this would mean that we package this 
context.xml for each and every application. Instead I want http session 
persistence turned off at the server level.

Interestingly, I observed that if I placed this context.xml under 
deploy\jbossweb-tomcat50.sar\ROOT.war\WEB-INF then http session persistence 
gets turned off at the server level.

What is the recommended way to turn off http session persistence as default at 
the server level for all applications in jboss-4.0.1sp1? And is it safe to 
place the context.xml under deploy\jbossweb-tomcat50.sar\ROOT.war\WEB-INF ?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977168#3977168

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977168
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to