[Yanel-dev] Tomcat on different ports on same hostname
Michael Wechner
michael.wechner at wyona.com
Fri Mar 4 09:52:44 CET 2011
Btw, it comes to my mind now using Mercurial and SVN at the same time it
probably would
make sense to make the session id customization configurable by the
Yanel config such that
JAVA_OPTS="$JAVA_OPTS
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Dorg.apache.catalina.SESSION_COOKIE_NAME=HGJSESSIONID
-Dorg.apache.catalina.SESSION_PARAMETER_NAME=hgjsessionid"
is being set automatically
WDYT?
Thanks
Michael
On 2/25/11 10:12 PM, Michael Wechner 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 <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/20110304/3a2e2c4e/attachment.html>
More information about the Yanel-development
mailing list