[Yanel-dev] Tomcat on different ports on same hostname

Michael Wechner michael.wechner at wyona.com
Fri Feb 25 20:53:39 CET 2011


According to

http://lkamal.blogspot.com/2010/10/jsessionid-tomcat-cookie-change-default.html

This system properties based feature is only available in releases newer 
than Tomcat 5.5.28 and Tomcat 6.0.20.

and one can add it to catalina.sh

JAVA_OPTS="$JAVA_OPTS
              -Dorg.apache.catalina.SESSION_COOKIE_NAME=MYJSESSIONID
              -Dorg.apache.catalina.SESSION_PARAMETER_NAME=myjsessionid"

Cheers

Michael



On 2/25/11 10:03 AM, Balz Schreier wrote:
> You guess this is a normal JAVA_OPTION that you pass to the JVM when 
> starting it (like the other java options). some people call them 
> system properties of the JVM.
>
> On Fri, Feb 25, 2011 at 9:59 AM, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Hi Balz
>
>
>     On 2/25/11 9:52 AM, Balz Schreier wrote:
>>     Hi Michael,
>>
>>     another workaround is to set the following JAVA_OPTION:
>>     org.apache.catalina.SESSION_COOKIE_NAME=myothersessioncookiename
>>
>>     then you souldn't have conflicts neither...
>
>     Thanks very much for pointing this out. But where/how do you set
>     this parameter?
>
>     Thanks
>
>     Michael
>
>
>     --
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110225/1f235181/attachment.html>


More information about the Yanel-development mailing list