Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > BOOK: Professional Apache Tomcat
|
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 2nd, 2004, 06:15 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ajithsiyer
Default Sticky Sessions while using jk2 on apache-jboss

Hi,

I have my application deployed on Jboss-tomcat on 2 linux machines. These instances are standalone and are not aware of each other.

I have my Apache2.0.50 on my win2k desktop. And using the the workers2.prop file mentioned above, i have pointed requests to the apache to the 2 my application deployed on the 2 linux servers.
I am having a session time out issue since the session is not getting carried over to both the linux instances while using the app.
Due to this,the user is asked to log in multiple times.

What is the optimal solution for this?
Is this one: Make my session sticky - ie. once the user hits a particular node (jboss-tomcat) behind apache, he continues to hit the same node.

How do i configure this on my apache?

If this is possible, can apache take care of session failovers (in the event one of my linux servers goes down automatically moves over to the next server without the user having to login)?

I already used worker.lb.sticky_session =JK_TRUE in my workers2.property file, but the login page keeps coming back!

Could some one help me out with this at the earliest?

Thanks and Regards,
Ajith





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky Sessions subirs Apache Tomcat 2 December 8th, 2005 12:23 AM
Building JK2 jakawan BOOK: Professional Apache Tomcat 1 December 18th, 2004 02:32 PM
Mixing classic ASP sessions with ASP.NET sessions scorpion_king General .NET 2 August 4th, 2004 08:20 AM
codes on JBOSS vishalmhaskar Wrox Book Feedback 0 September 18th, 2003 10:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.