Yes you can do it with Apache using either the JK or JK2 connectors. 

Pen is open source. I've compiled it on solaris and linux without a problem.

-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: 21 October 2004 07:10
To: Tomcat Users List
Subject: RE: Sticky session?


Matt, thanks for the reply. Now, I ruled out the idea of using balancer
application for my requirement. Is there a way of doing this with apache web
server?

I will first try using Pen. I am working on that. I have to check if it
works in all the OSs and if it is open source and free to use and
distribute.

Regards,
Srinivas

-----Original Message-----
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 6:47 PM
To: Tomcat Users List
Subject: RE: Sticky session?


For what you want to do the balancer application is not suitable as a load
balancer as it merely redirects the request to another server and does not
act as a proxy like some other kinds of load balancers.

The session ID is stored in a cookie, referenced using the hostname. If you
are redirected to another server then you will lose the handle on the
session.

You will need to look into either a hardware or some other kind of software
load balancer, I've used Pen before and found that to be quite good.

-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: 20 October 2004 13:46
To: [EMAIL PROTECTED]
Subject: Sticky session?


I want to deploy a web application in clustering environment. The request
may be processed by any of the clustered members, but the response has to go
from Load Balancer (LB) only. In case the client book marks the page he
should be taken to the same server(LB) irrespective of the cluster member
which processes the request.

 

I am using balancer application for clustering. In rules.xml I am specifying
the cluster member address to be redirected to. Cluster member is processing
and sending the response directly. From then if client performs any action
the LB is getting bypassed. I don't want this to happen. 

 

I want the request to be processed by cluster member and the response has to
be sent by the LB.

 

I'll be very thankful to you if you can shed some light on this. Can we do
this with the balancer application? If not can you please suggest the other
ways?

 

Regards,

Srinivas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to