1 Reply Latest reply on Apr 13, 2009 9:54 AM by Brian Stansberry

    JSession ID appearing on First hit only

    Rajesh Chande Newbie

      JBoss Version: 4.2.2GA
      OS: Solaris 10
      Apache: 2.0.55
      Mod_jk: 1.2.15

      I have a struts based application deployed on a clustered webfarm. The WAR is deployed on JBoss. No code is on Apache side, When I first hit the application http://aaa.mysite.com:port/, the URL becomes

      http://aaa.mysite.com:port/changesite.do;jsessionid=8tPDG3ZOfomZRl-S7wG-4g**.worker1
      with a "Internal Server Error". In the same browser window, if I hit again by changing the URL address to
      http://aaa.mysite.com:port/
      then the application works fine.

      Why do we get the Jsession ID ONLY at the first hit and NOT for later requests?

      The same application and same setup works fine with JBoss 4.2.0GA. No Jsessionid appears in address bar in the first hit or subsequent hits

      Any major difference at tomcat level between JBoss 4.2.2GA and JBoss4.2.0GA?

      Any help / suggestions?