JBoss 4.0.4 appears to re-compile JSPs every time the server starts up regardless whether the JSPs have changed or not. In 4.0.3SP1 and previous versions, JSPs would only pre-compile (per our web.xml settings) if they were changed.
The result is an extra 2 to 3 minutes added to server startup time. I have searched forums and Wiki for any hint of a possible configuration change that would cause this but didn't find anything. I just wonder if there is there something new in 4.0.4... This behavior hurts most in our development environments where JBoss restarts can be very frequent. Here is a snippet of our web.xml showing our pre-compilation settings for a few JSPs: <!-- Precompile jsps --> <!-- root directory --> <servlet-name>aboutus</servlet-name> <jsp-file>/aboutus.jsp</jsp-file> <load-on-startup>20</load-on-startup> <servlet-name>address</servlet-name> <jsp-file>/address.jsp</jsp-file> <load-on-startup>20</load-on-startup> <servlet-name>addressRefine</servlet-name> <jsp-file>/addressRefine.jsp</jsp-file> <load-on-startup>20</load-on-startup> <servlet-name>allMachineParts</servlet-name> <jsp-file>/allMachineParts.jsp</jsp-file> <load-on-startup>20</load-on-startup> Our web app is fairly straightforward in its use of JavaEE features: stateless session beans (EJB2.1), JSP/Struts, a couple of MDBs, JNDI (no O/R framework) to the database. Our development environments work from an exploded ear/war deployment where we have pointed JBoss to a separate deployment directory, with deployment directory scanning disabled. I could certainly have missed something... Any advice would be greatly appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955598#3955598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955598 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user