1 Reply Latest reply on May 12, 2003 7:42 AM by Steve Lewis

    compiled jsp deleted on restart in 3.2

    William Houck Newbie

      In JBoss 3.2 the work dir storing compiled jsp's is deleted when JBoss is shut down. This forces a jsp recompile whenever I restart JBoss. How do I disable this?
      I tried adding false
      to ..../jbossweb-tomcat.sar/META-INF/jboss-service.xml
      but this doesn't seem to work. The "DeleteWorkDirs" setting does work in JBoss 3.0.x when added to the file tomcat41-service.xml

      In JBoss 3.2 the following directory is used to hold compiled jsp's:


      I am able to solve the problem by modifying the "scratchdir" parameter in .../jbossweb-tomcat.sar/web.xml. Is this the right way to solve the problem? Compiled jsp's are now under the bin dir instead of the default loc. above.