El vie, 14-05-2010 a las 11:42 +0100, Pid escribió:

> > Is there any way to create a session when an image is requested so that
> > the balancer will always send the same machine?
> 
> What handles the image request?  If it's a Servlet, then you can do the
> same thing.
> 
> Alternatively you could employ a Servlet Filter which applies to the
> whole application and forces creation of a session.


In my business is generated by applications using different technologies
that we get a war with mixed static and dynamic content. Is that most
people who have a balancer, they put static content in Apache, but in my
case this is not possible.

When a user uses an application would be preferable that only agree to a
machine that the balancer chooses, but as the session is not created
until you access dynamic content (in establishing the session) the user
may be accessing several different machines in the balancer. 

We have many different applications, I do not know what will be the
entry point. So I was looking for a way to force tomcat to ask anything
when the session was created.

I will try to create a filter for the whole application, which do not
know if this will make the application much slower.

thank both

-- 
------------------------------------------------------------------------------------------------------------------
Pedro Rodrigo Cardiel
Dpto. de Informática e Ingenierí­a de Sistemas - Universidad de Zaragoza
C/ Marí­a de Luna 1, 50018 Zaragoza, Spain
Tel:    +34 976 762134
e-mail: prod...@unizar.es

Grupo IAAA - http://iaaa.cps.unizar.es
------------------------------------------------------------------------------------------------------------------
 

Reply via email to