tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Pabst" <Simon.Pa...@web.de>
Subject Re: mod_jk2 + Tomcat 4.1.24 - no sessions?
Date Mon, 21 Jul 2003 14:43:05 GMT
You need to use tomcatId & jvmRoute for stickySession to work (don't know if it works with
default settings), for example:


workers2.properties:
[channel.socket:localhost:8009]
tomcatId=tomcat1

(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html#workers)

server.xml:
<Engine name="Standalone" defaultHost="localhost" debug="0" jvmRoute="tomcat1">
Beware - in Tomcat 4.1.24 the jvmRoute example is spelled wrong ^- jmvRoute instead of jvmRoute


"Tomcat Users List" <tomcat-user@jakarta.apache.org> schrieb am 21.07.03 14:14:49:
> 
> 
> Hi,
> 
> I upgraded my Tomcat 4.1.18 to 4.1.24, connected to Apache 2 using mod_jk2.
> 
> However now Tomcat is not succeeding in sending any JSESSIONID cookies to 
> clients if they connect via Apache.
> 
> i.e:
> 
> http://myhost:8080/myapp  --- Tomcat sends JSESSIONID cookie OK
> http://myhost/myapp       --- Tomcat does not send JSESSIONID cookie
> 
> Both cases return pages correctly apart from this problem.
> 
> Can anyone explain this? Is it a bug in Tomcat 4.1.24 / mod_jk2 ?
> 
> Kind regards,
> Marc
> -- 
> Marc Palmer
> Contract Java Consultant/Developer
> 			
>                         w a n g j a m m e r s
> 
>                  java and web software design
>               experts with an ethical outlook
> 
>                    http://www.wangjammers.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

-- 
Simon Pabst

E-Mail: Simon.Pabst@web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message