3 Replies Latest reply on Aug 15, 2004 7:49 PM by anil.saldhana

    share session between multiple web apps?

    nlmarco

      Hello!

      Our application contains many modules. Each module is deployed as ear containing some bean jars, rars and wars:

      {jboss-deploy}/NightLabs/project1.ear/project1a.war
      {jboss-deploy}/NightLabs/project1.ear/project1b.war
      {jboss-deploy}/NightLabs/project2.ear/project2.war
      {jboss-deploy}/NightLabs/project2.ear/project2.rar
      {jboss-deploy}/NightLabs/project3.ear/project3.war
      ...

      Unfortunately, it seems, every war has an own session. This is bad, because they should share the same login and some other data.

      I've googled a lot and found some documents that mentioned, sharing of sessions between different web apps would be possible with jboss, but none of them told how.

      BTW, I'm using jboss 3.2.3.

      I've tried already sending the JSESSIONID cookie with the common path manually, but this didn't help. It seems to me, the session objects are managed within jboss/tomcat on a per-war-base...

      Please HELP!

      Best regards, Marco ;-)