1 Reply Latest reply on Mar 20, 2003 10:27 PM by Chris Halstead

    Persisting compiled JSPs

    Chris Halstead Newbie

      I'm working with JBoss 3.0.6 w/Tomcat 4.1.18 and I can't seem to figure out how to make my compiled JSPs persist across server restarts. When the server is running the .java and .class files are there under ./work, but when I shut down the server everything gets cleared out....what am I missing?

      -chris

        • 1. Re: Persisting compiled JSPs
          Chris Halstead Newbie

          OK...I found how to do this. It took sifting through the source code on Sourceforge, but I found it. If you want the work directory to *not* get cleared on shutdown, your mbean declaration in tomcat-service.xml should look like the following:

          <mbean code="org.jboss.web.catalina.EmbeddedCatalinaService41"
                          name="jboss.web:service=WebServer">
              &catalina.home;
              false