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

    compiled jsp deleted on restart in 3.2

    will.houck

      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:

      JBOSS_HOME\server\default\tmp\deploy\server\default\deploy\work

      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.

      Thanks,
      Will

        • 1. Re: compiled jsp deleted on restart in 3.2
          swlhack

          Will:

          Have you figured this out?

          I have been following the posts on this issue and still am un-unable to come up with a resolution.

          I have attached my jboss-service.xml.

          Thanks for any assistance.

          I am using:
          jboss-3.2.1_tomcat-4.1.24 - Windows 2000

          Steve