1 Reply Latest reply on Feb 2, 2015 3:16 AM by influence160

    misinterpretation of cookie when request come from an applet

    influence160

      Hello,

       

      I migrate my web application to jboss AS 7.2.0.Final.

       

      My web application works very fine but when I use the applet java the session is lost aleatory, I mean sometimes it passed correctly and somtimes not (It works always well in the other server).

       

      After debugging that I found that Jboss dosen't interprete correctly the cookie that comes from the applet beacuse it is prefixed by "special-cookie=".

       

      For Example:

       

      Request came from web-browser :

      Cookie: JSESSIONID=FXxHca09y6c1qoo9l3Iy75Bh; __utma=60248435.166325448.1422529099.1422539952.1422542697.4; __utmz=60248435.1422529099.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); SnapABugHistory=1#; SnapABugRef=http%3A%2F%2Fothmen.server.local%2FdtvCtx%2Ffo%2Fdtv%2Fhome.jhtml%20http%3A%2F%2Fothmen.server.local%2FdtvCtx%2Ffo%2Fdtv%2Findex.jhtml; __utmb=60248435.10.10.1422542697; SnapABugVisit=15#1422529099; JSESSIONID=HsOI9hNAxYwcqfFR+UewYqtJ; __utmc=60248435\r\n

       

      Request came from Applet :

      Cookie: special-cookie=JSESSIONID=FXxHca09y6c1qoo9l3Iy75Bh; __utma=60248435.166325448.1422529099.1422539952.1422542697.4; __utmz=60248435.1422529099.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); SnapABugHistory=1#; SnapABugRef=http%3A%2F%2Fothmen.server.local%2FdtvCtx%2Ffo%2Fdtv%2Fhome.jhtml%20http%3A%2F%2Fothmen.server.local%2FdtvCtx%2Ffo%2Fdtv%2Findex.jhtml; __utmb=60248435.10.10.1422542697; SnapABugVisit=15#1422529099; JSESSIONID=HsOI9hNAxYwcqfFR+UewYqtJ; __utmc=60248435\r\n

       

      When Jboss created cookies, the first Cookie (javax.servlet.http.Cookie) has bad name and value (the name= "special-cookie" instead "JSESSIONID" / value="JSESSIONID" instead of "FXxHca09y6c1qoo9l3Iy75Bh").

       

      Is there a missing configuration into Jboss server related to this problem ??