-
1. Re: Issue trying to share http session between war apps in the same ear file
pferraro Sep 11, 2014 2:39 PM (in response to marcosfilho)How old is you snapshot of master? We have tests that verify this behavior - so there must be something mis-configured somewhere.
-
2. Re: Issue trying to share http session between war apps in the same ear file
marcosfilho Sep 11, 2014 5:01 PM (in response to pferraro)i cloned and built it two days ago.
I didnt change any configuration of Wildfly. The only thing I did was set up the jboss-all.xml under the WEB-INF of my ear file.
Is the content of jboss-all.xml correct?
<
jboss
umlns
=
"urn:jboss:1.0"
>
<
shared-session-config
xmlns
=
"urn:jboss:shared-session-config:1.0"
>
<
session-config
>
<
cookie-config
>
<
path
>/</
path
>
</
cookie-config
>
</
session-config
>
</
shared-session-config
>
</
jboss
>
With this configuration, all contexts(wars in the same ear) will have access to the same session(HttpSession)?
-
3. Re: Issue trying to share http session between war apps in the same ear file
marcosfilho Sep 11, 2014 6:25 PM (in response to marcosfilho)I just checked the test cases on https://github.com/stuartwdouglas/wildfly/commit/3c3fe8c82b93c9c32ae02496398910c7349f4351
it seems to be exactly what Im doing. Im going to double check everything.
Please let me know if you have tips for me.
Cheers,
Marcos
-
4. Re: Issue trying to share http session between war apps in the same ear file
pferraro Sep 12, 2014 9:39 AM (in response to marcosfilho)Correct. And your configuration looks fine to me.