I have the same problem! doesn't exist crossContext in Jboss 7.1.1?
disable-cross-context=false in jboss-web.xml
I tested this parameter, and the xml file didn't parse. I looked at schema files, and there are not references to crosscontext.
Do you have an example?
Jean i did just that, in both jboss-web.xml (app1 and app2), but the app1 still asking me to login, another idea?
not sure what you are trying to do...
Do you have a code sample?
I am also facing same issue while migrating web application from Jboss-4 to Jboss AS 7. In Jboss-4, two applications working properly with cross context configuration in context.xml of jboss-tomcat55.sar. But, when I migrated from 4 to 7 and used "disable-cross-context" as false in both applications' jboss-web.xml files, it does not work.
I analysed it and found that request traversing from webapp1 to webapp2 is not the same, i.e. request initiated from webapp1 does not propagate to webapp2. Somewhere in the middle, a new request gets created which reaches to webapp2.
Could you please help me with this issue?
Thanks in advance.