> From: "Kristin Coles" <[EMAIL PROTECTED]>
> 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
detected.

> <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
useless.

> # 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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to