tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Jaynes <>
Subject Maintaining Sessions
Date Wed, 02 Jun 2004 21:56:14 GMT

I am running Tomcat 5.0.25 on SuSE Linux 9.1.  I am
running ONE Tomcat server with two services:

1.  Standalone on port 80, with two hosts:
    A.  A basic shopping site with a
        that I set scope=session when I call it from
    B.  Another not related host.

2.  Standalone SECURE on port 443, with two hosts:
    C.  The secure checkout site for host A (above)
    B.  Another secure, but not related, host.

My cart.jsp on host A uses checkout.jsp on host C to
process the request.  However, the session with
CartBean objects does not carry over.  How do I keep
my session alive from host to host on the same server?
 And what if I decide to move the host C to another
server on another machine?  Then what?

Or is this the wrong approach?  Is there a way to have
SOME secure jsp's on the same host as some non-secure

And do I HAVE to have a WEB-INF directory for both
hosts, or could they somehow share a WEB-INF directory
so I only have to maintain ONE set of classes?  I
tried using symbolic-link WEB-INF's to one big WEB-INF
directory, but it did NOT work.

Justin Jaynes

Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message