1 Reply Latest reply on Oct 13, 2003 12:48 AM by jonlee

    Cannot Persist Session in file system

    dparrilla

      Hi,

      I'm trying to persiste the HTTP Session of my WebApp in the filesystem, but I cannot do it.

      I'm using JBoss-3.2.1 and the Tomcat 4.1.24 embedded. I have modified the jboss-service.xml in ${jboss.server.home.dir}/deploy/jbossweb-tomcat.sar/META-INF, adding the following entry into the tag:







      But it does not work. I try to find the webapp.ser file with the serialized session, and it does not exists.

      what am I doing wrong? How can I persist my sessions on disk?

      Regards
      Diego

        • 1. Re: Cannot Persist Session in file system
          jonlee

          I do not believe that JBoss currently supports the file persistence for Tomcat. You can confirm this by changing the JBoss server log level in server/default/conf/log4j.conf to debug and look at the output in server.log. You will probably find it does not understand the tags you have specified, even though the XML itself is well-formed.