Re: Need to retain session in server (Tomcat Apache) once user log in to till log off.
Saicharan, On 3/2/22 07:42, saicharan.bu...@wellsfargo.com.INVALID wrote: Can you assist on how to retain session in server (Tomcat Apache) once user log in to till log off? we have two node instances half part of log is coming in one instance and other logs are coming in another instance for same user. Just to clarify: you have two Tomcat nodes and you want the user to stick on one node for their entire session? If you have more than one node, you must have a reverse-proxy between the client and those two nodes. What kind of reverse-proxy are you using? Have you configured it to use "sticky sessions"? -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Need to retain session in server (Tomcat Apache) once user log in to till log off.
found this blog which might be helpful https://redisson.org/articles/redis-based-tomcat-session-management.html Le mer. 2 mars 2022, à 21 h 14, Sundeep Kumar Paulraj a écrit : > Hi Saicharan Burle, > > Within the conf dir have the context.xml file, we can have the redis > server information here which would assist us with session permistence. > Also note that we might have to update the jar file in the relevant library > .. > > here i am sharing an abstract > > > WEB-INF/web.xml > className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve"/> > className="com.orangefunction.tomcat.redissessions.RedisSessionManager" > sentinelMaster="" > sentinels=":PORT,:PORT" > sessionPersistPolicies="SAVE_ON_CHANGE" > database="" > maxInactiveInterval="60" > /> > className="org.apache.tomcat.util.http.LegacyCookieProcessor" /> > > > > > Le mer. 2 mars 2022, à 20 h 50, > a écrit : > >> Can you brief in detail, Can you send the sample configuration? >> >> Thanks, >> Saicharan Burle >> >> -Original Message- >> From: sundeep kumar >> Sent: Wednesday, March 2, 2022 6:16 PM >> To: Tomcat Users List >> Subject: Re: Need to retain session in server (Tomcat Apache) once user >> log in to till log off. >> >> I think we can use redis as session manager . Need to update it in >> context.xml . >> >> Sincerely || Sincèrement, >> Sundeep Kumar Paulraj >> >> > Le 2 mars 2022 à 20:43, saicharan.bu...@wellsfargo.com.invalid a écrit >> : >> > >> > Hi Team, >> > >> > Can you assist on how to retain session in server (Tomcat Apache) once >> user log in to till log off? we have two node instances half part of log >> is coming in one instance and other logs are coming in another instance >> for same user. >> > >> > Regards, >> > Saicharan Burle >> > CTO | Middleware Product Engineering >> > G=ETI DPS Middleware Prod Eng >> > >> > Block B1A Divyasree Orion | Hyderabad - 500081 | India MAC O2806-010 | >> > Cell +91 9966964321 >> > >> > MPE Service Desk: >> > https://urldefense.com/v3/__https://devops-servicedesk.wellsfargo.net/ >> > servicedesk/customer/portal/14/group/385?groupId=385__;!!F9svGWnIaVPGS >> > wU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQRdAEbi7nUznMWPmytb >> > zolw$ Enterprise Middleware Services: >> > https://wim-wiki.wellsfargo.com/pages/viewpage.action?spaceKey=MPE >> > le=Middleware+Product+Engineering+Team+Home >> > Normal Working hours: 4:00 AM to 1:00 PM EST Upcoming PTO: >> > Be Green, Leave it on Screen!!! >> > [https://urldefense.com/v3/__http://f.connect.wellsfargoemail.com/i/38 >> > /2082566297/EML-224071_4726581_6304406_logo-stagecoach-eml_511x80.png_ >> > _;!!F9svGWnIaVPGSwU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQR >> > dAEbi7nUznMWPmy3Q89L8$ ] >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >>
Re: Need to retain session in server (Tomcat Apache) once user log in to till log off.
Hi Saicharan Burle, Within the conf dir have the context.xml file, we can have the redis server information here which would assist us with session permistence. Also note that we might have to update the jar file in the relevant library .. here i am sharing an abstract WEB-INF/web.xml Le mer. 2 mars 2022, à 20 h 50, a écrit : > Can you brief in detail, Can you send the sample configuration? > > Thanks, > Saicharan Burle > > -Original Message- > From: sundeep kumar > Sent: Wednesday, March 2, 2022 6:16 PM > To: Tomcat Users List > Subject: Re: Need to retain session in server (Tomcat Apache) once user > log in to till log off. > > I think we can use redis as session manager . Need to update it in > context.xml . > > Sincerely || Sincèrement, > Sundeep Kumar Paulraj > > > Le 2 mars 2022 à 20:43, saicharan.bu...@wellsfargo.com.invalid a écrit : > > > > Hi Team, > > > > Can you assist on how to retain session in server (Tomcat Apache) once > user log in to till log off? we have two node instances half part of log > is coming in one instance and other logs are coming in another instance > for same user. > > > > Regards, > > Saicharan Burle > > CTO | Middleware Product Engineering > > G=ETI DPS Middleware Prod Eng > > > > Block B1A Divyasree Orion | Hyderabad - 500081 | India MAC O2806-010 | > > Cell +91 9966964321 > > > > MPE Service Desk: > > https://urldefense.com/v3/__https://devops-servicedesk.wellsfargo.net/ > > servicedesk/customer/portal/14/group/385?groupId=385__;!!F9svGWnIaVPGS > > wU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQRdAEbi7nUznMWPmytb > > zolw$ Enterprise Middleware Services: > > https://wim-wiki.wellsfargo.com/pages/viewpage.action?spaceKey=MPE > > le=Middleware+Product+Engineering+Team+Home > > Normal Working hours: 4:00 AM to 1:00 PM EST Upcoming PTO: > > Be Green, Leave it on Screen!!! > > [https://urldefense.com/v3/__http://f.connect.wellsfargoemail.com/i/38 > > /2082566297/EML-224071_4726581_6304406_logo-stagecoach-eml_511x80.png_ > > _;!!F9svGWnIaVPGSwU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQR > > dAEbi7nUznMWPmy3Q89L8$ ] > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
RE: Need to retain session in server (Tomcat Apache) once user log in to till log off.
Can you brief in detail, Can you send the sample configuration? Thanks, Saicharan Burle -Original Message- From: sundeep kumar Sent: Wednesday, March 2, 2022 6:16 PM To: Tomcat Users List Subject: Re: Need to retain session in server (Tomcat Apache) once user log in to till log off. I think we can use redis as session manager . Need to update it in context.xml . Sincerely || Sincèrement, Sundeep Kumar Paulraj > Le 2 mars 2022 à 20:43, saicharan.bu...@wellsfargo.com.invalid a écrit : > > Hi Team, > > Can you assist on how to retain session in server (Tomcat Apache) once user > log in to till log off? we have two node instances half part of log is > coming in one instance and other logs are coming in another instance for > same user. > > Regards, > Saicharan Burle > CTO | Middleware Product Engineering > G=ETI DPS Middleware Prod Eng > > Block B1A Divyasree Orion | Hyderabad - 500081 | India MAC O2806-010 | > Cell +91 9966964321 > > MPE Service Desk: > https://urldefense.com/v3/__https://devops-servicedesk.wellsfargo.net/ > servicedesk/customer/portal/14/group/385?groupId=385__;!!F9svGWnIaVPGS > wU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQRdAEbi7nUznMWPmytb > zolw$ Enterprise Middleware Services: > https://wim-wiki.wellsfargo.com/pages/viewpage.action?spaceKey=MPE > le=Middleware+Product+Engineering+Team+Home > Normal Working hours: 4:00 AM to 1:00 PM EST Upcoming PTO: > Be Green, Leave it on Screen!!! > [https://urldefense.com/v3/__http://f.connect.wellsfargoemail.com/i/38 > /2082566297/EML-224071_4726581_6304406_logo-stagecoach-eml_511x80.png_ > _;!!F9svGWnIaVPGSwU!5iQ3dmAfLWkY1flLCy3g5Af7GAcb_-2e-4GTkzTt253eHsGgQR > dAEbi7nUznMWPmy3Q89L8$ ] > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Need to retain session in server (Tomcat Apache) once user log in to till log off.
I think we can use redis as session manager . Need to update it in context.xml . Sincerely || Sincèrement, Sundeep Kumar Paulraj > Le 2 mars 2022 à 20:43, saicharan.bu...@wellsfargo.com.invalid a écrit : > > Hi Team, > > Can you assist on how to retain session in server (Tomcat Apache) once user > log in to till log off? we have two node instances half part of log is > coming in one instance and other logs are coming in another instance for > same user. > > Regards, > Saicharan Burle > CTO | Middleware Product Engineering > G=ETI DPS Middleware Prod Eng > > Block B1A Divyasree Orion | Hyderabad - 500081 | India > MAC O2806-010 | Cell +91 9966964321 > > MPE Service Desk: > https://devops-servicedesk.wellsfargo.net/servicedesk/customer/portal/14/group/385?groupId=385 > Enterprise Middleware Services: > https://wim-wiki.wellsfargo.com/pages/viewpage.action?spaceKey=MPE=Middleware+Product+Engineering+Team+Home > Normal Working hours: 4:00 AM to 1:00 PM EST > Upcoming PTO: > Be Green, Leave it on Screen!!! > [http://f.connect.wellsfargoemail.com/i/38/2082566297/EML-224071_4726581_6304406_logo-stagecoach-eml_511x80.png] > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org