ICould you tri with the parameter emptySessionPath=true in the Connector?
Adding emptySessionPath=true to the connectors in the jbossweb.sar/server.xml file doesn't make a difference.
It doesn't appear that jboss web implements the emptysessionpath attribute. Its not even mentioned in the org.apache.catalina.connector.Connector class.
A quick grep through the code only reveals it being mentioned in the mbean-descriptors.xml file for the connector, but its not actually implemented into the code anywhere.
Oops sorry, the thing to do is the following.
<SessionCookie path="/">element inside a
<Context>element, for example in context.xm of application.
It's good decision!!!