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

Balz Schreier balz.schreier at gmail.com
Fri Feb 25 09:52:00 CET 2011


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...

Cheers
Balz

On Fri, Feb 25, 2011 at 9:47 AM, Michael Wechner
<michael.wechner at wyona.com>wrote:

> Hi
>
> I was playing with two Tomcats both running Yanel (NOT a cluster setup, but
> just two independent Tomcats), but on different ports, e.g.
>
> http://127.0.0.1:8080/yanel/?yanel.toolbar=on
>
> http://127.0.0.1:8180/yanel/?yanel.toolbar=on
>
> and kept get signed out, because Tomcat (and/or Jetty) is setting a cookie
> called JSESSIONID independent
> of the port and hence when accessing the Tomcat's from the same browser
> conflicts start.
>
> It seems like quite a few people have this problem
>
> http://www.google.ch/search?q=JSESSIONID+same+host+different+ports+Tomcat
>
> e.g.
>
> http://threebit.net/mail-archive/tomcat-users/msg01504.html
>
> One simple workaround is just to use two different browsers, but another
> simple workaround
> is to use 127.0.0.1 for one Tomcat and localhost for the other, e.g.
>
> http://127.0.0.1:8080/yanel/?yanel.toolbar=on
>
> http://localhost:8180/yanel/?yanel.toolbar=on
>
> Cheers
>
> Michael
> --
> 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/20110225/6e9be8c1/attachment.html>


More information about the Yanel-development mailing list