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

Balz Schreier balz.schreier at gmail.com
Sat Feb 26 11:22:08 CET 2011


Well, yes it HAS to work, as I was using this with an earlier Tomcat version
already, but years ago :-)

On Fri, Feb 25, 2011 at 11:12 PM, Michael Wechner <michael.wechner at wyona.com
> wrote:

>  Hi
>
> This really seems to work, whereas I am currently using Tomcat 5.5.33
>
> Cheers
>
> Michael
>
>
> On 2/25/11 8:53 PM, Michael Wechner wrote:
>
> 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> 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
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>
>
>
>
> --
> Yanel-development mailing list 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/20110226/265a2bf4/attachment.html>


More information about the Yanel-development mailing list