I did some research and found out that tomcat 5 is using a Manager to persist
http sessions. All attributes put in the session should be java.io.Serializable.
I just don't wont this,
so is there a way to disable session persistence in tomcat 5 and jboss3.2.5?
maybe the following links are helpful for your research:
i just stumbled accross some additional information. The patch of Mikko Koponen was integrated in JBoss 3.2.6RC1:
If you change to JBoss 3.2.6 you may configure a session manager for your web application in WEB-INF/context.xml. Look here for information about how to do this:
here is an example for WEB-INF/context.xml that disables session persistence:
<Context path=""> <Manager className="org.apache.catalina.session.StandardManager" pathname="" /> </Context>
Thank you trickal!
I have been using jboss3.2.6 for a long time now, and it is working very fine with the
default context manager (I made all my objects serializable, and the sessions persist fine without any errors). But your reply gave me some ideas on doing some custom
context managers that will simplify the development of my web apps (custom logging, login, custom resources and stuff).