tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: How to disable Session Persistence in Tomcat 5.5.9
Date Thu, 15 Nov 2007 02:31:03 GMT
> From: "Kristin Coles" <>
> Subject: How to disable Session Persistence in Tomcat 5.5.9
> # Tomcat\conf\server.xml (version 1)
> <Host name="cas" appBase="webapps\cas"
> <Context path="" docBase="">

The above is incorrect; your appBase should be "webapps", and docBase
should be "cas".  What you've specified is illegal, but is not always

> <Manager className="org.apache.catalina.session.PersistentManager"

As the doc states, the PersistentManager is not ready for prime time -
you really don't want to mess with it.

By specifying a <Manager> element inside the <Context>, you override the
one in conf/context.xml, thereby rendering your previous configuration

> # Tomcat\conf\server.xml (version 2)
> <Host name="cas" appBase="webapps\cas"
> <Context path="" docBase="">

Same comment as above.

> <Manager className="org.apache.catalina.session.StandardManager"
> debug="0" pathname ="">

Is that a typo, or do you really have an extra space after pathname?

Note that placing <Context> elements in server.xml is strongly
discouraged these days; you might want to consider one of the standard
locations, and get rid of the path and docBase attributes.  If you want
cas to be the default app, simply name it ROOT.

Fix the obvious errors, and then let's see what happens.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message