tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benny Bräuer" <bbrae...@gmail.com>
Subject mod_jk, Tomcat, Session, Servlets & Portlets
Date Fri, 17 Aug 2007 12:24:48 GMT
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.

-- 
Cheers,
Benny

Benny Bräuer
C3-Grid Developing @ Computing and Data Centre
Alfred-Wegener-Institute for polar and marine research
27570 Bremerhaven, Germany
--
"Do your work, then step back.
The only path to serenity."
 ~Lao Tzu - The Tao Te Ching

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


Mime
View raw message