Configuring a restrictive cookie path in JBoss
For JBoss Application server using Apache Tomcat 7 as the web server, the
restrictive cookie path can be configured by setting sessionCookiePath="/"
in the
global context.xml (in CATALINA_BASE/conf/context.xml). For more information,
see http://tomcat.apache.org/migration-7.html#Session_cookie_configuration