Not sure that I understand your problem: is a jk load balancer involved and your request gets send to the wrong instance? If so, we can explain, how the decision is made.

If you are only using a single node, I don't understand the problem. You write "you correctly get an exception". If it's correct, then why is it wrong?

Regards,

Rainer

Benny Bräuer wrote:
Hi,

I've written a webapp for a portlet container. Within this webapp /
the portlet I can call a link to a servlet. The servlet gets the
session from the portlet container (resp. Tomcat) and do its work.
(Session-sharing between portlets and servlets is working)

This works great when I use the direct adress of tomcat, like
http://foo.bar.com:8080/MyServlet?para=foobar

On our systems we are using Apache 2.0 and mod_jk (1.2.23 to 25). This
made no problems with any sessions until now / that case. If I call
the servlet with the address
http://www.foobar.com/MyServlet?para=foobar I correctly get an
exception from the servlet because of non-existing HttpSession.

I think the session is bound to an url. Is there an possibility to
bind the session to www.foobar.com (or has anyone another idea to
solve my problem). I would appreciate any help.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to