Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

Matteo Turra

2006-12-29

Replies:

Sorry everybody, I misspelled jmvRoute with jvmroute in my server.xml!

Matteo

-----Original Message-----
From: Tim Lucia [mailto:timlucia@(protected)]
Sent: venerdì 29 dicembre 2006 16.42
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

FYI -- I *JUST* (as in I read the original post and wondered if I should but
did so anyway) completed an upgrade from

RHEL V.4, 1.5.8(i586) --> 1.5.10 (amd64)

And

Tomcat 5.5.12 --> 5.5.20

All my requests send along the jvmRoute properly in the JSESSIONID cookie.


Tim


> -----Original Message-----
> From: Matteo Turra [mailto:mturra@(protected)]
> Sent: Friday, December 29, 2006 10:04 AM
> To: Tomcat Users List
> Cc: rainer.jung@(protected)
> Subject: RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session
> affinity lost)
>
> No, I did not.
>
> <Server port="${shutdownPort}" shutdown="SHUTDOWN">
>
>  <GlobalNamingResources>
>   <!-- Used by Manager webapp -->
>   <Resource name="UserDatabase" auth="Container"
>          type="org.apache.catalina.UserDatabase"
>     description="User database that can be updated and saved"
>        factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>       pathname="conf/tomcat-users.xml" />
>  </GlobalNamingResources>
>
>  <Service name="Catalina">
>
>   <!-- This is here for compatibility only, not required -->
>   <!-- Define an AJP 1.3 Connector on port 8009 -->
>   <Connector port="${ajpPort}"
>           enableLookups="false" redirectPort="8443"
> protocol="AJP/1.3" />
>
>   <Engine name="Catalina" defaultHost="localhost" jvmroute="web2">
>     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>         resourceName="UserDatabase" />
>     <Host name="localhost" appBase="webapps"
>     unpackWARs="true" autoDeploy="true"
>     xmlValidation="false" xmlNamespaceAware="false">
>     </Host>
>   </Engine>
>
>  </Service>
> </Server>
>
> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung@(protected)]
> Sent: venerdì 29 dicembre 2006 13.36
> To: Tomcat Users List
> Subject: Re: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session
> affinity lost)
>
> Did you loose the jvmRoute attribute in server.xml during the upgrade
> process?
>
> Matteo Turra wrote:
> > Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10
> > and now my tomcat cluster doesn't work with sticky session (session
> > affinity).
> >
> >
> >
> > After a while I notice the jvmroute parameter is not appended to the
> > jsessionid anymore!
> >
> >
> >
> > Does anyone had the same behaviours? Does anyone have a solution?
> >
> >
> >
> > Thanks in advance, Matteo.
> >
> >
> >
> > __________________________________________________________
> >
> >
> >
> > KION SpA                Matteo TURRA
> >
> > Via Cristoni, 84           Sviluppo Web
> >
> > 40033 Casalecchio di Reno (BO)
> >
> > Tel. +39 (051) 6111411       diretto +39 (051) 6111430
> >
> > Fax +39 (051) 570423
> >
> > http://www.kion.it <http://www.kion.it/>
> > mailto:m.turra@(protected)>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)




---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.