glenn 2002/12/31 06:12:32 Modified: catalina/src/conf web.xml webapps/docs jasper-howto.xml Log: Implement new Ant javac fork option. If set to true Ant forks a new process to compile JSP pages and does it without synchronization. Default is false. Revision Changes Path 1.10 +4 -0 jakarta-tomcat-catalina/catalina/src/conf/web.xml Index: web.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/web.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- web.xml 28 Dec 2002 01:39:38 -0000 1.9 +++ web.xml 31 Dec 2002 14:12:31 -0000 1.10 @@ -111,6 +111,10 @@ <!-- enablePooling Determines whether tag handler pooling is --> <!-- enabled [true] --> <!-- --> + <!-- fork Tell Ant to fork compiles of JSP pages so that --> + <!-- a separate JVM is used for JSP page compiles --> + <!-- from the one Tomcat is running in. [false] --> + <!-- --> <!-- ieClassId The class-id value to be sent to Internet --> <!-- Explorer when using <jsp:plugin> tags. --> <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] --> 1.2 +11 -3 jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml Index: jasper-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jasper-howto.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jasper-howto.xml 16 Nov 2002 14:59:07 -0000 1.1 +++ jasper-howto.xml 31 Dec 2002 14:12:31 -0000 1.2 @@ -114,6 +114,10 @@ Explorer when using <jsp:plugin> tags. Default <code>clsid:8AD9C840-044E-11D1-B3E9-00805F499D93</code>.</li> +<li><strong>fork</strong> - Have Ant fork JSP page compiles so they are +performed in a seperate JVM from Tomcat? <code>true</code> or +<code>false</code>, default <code>false</code>.</li> + <li><strong>javaEncoding</strong> - Java file encoding to use for generating java source files. Default <code>UTF8</code>.</li> @@ -152,9 +156,13 @@ <ul> <li><strong>development</strong> - To enable background compilation of JSP pages set this to <code>false</code>.</li> -<li><strong>compiler</strong> - The internal JVM javac compiler used by Ant -has a known memory leak. If you anticipate that JSP pages will get recompiled -frequently consider using an external compiler such as <code>jikes</code>.</li> +<li><strong>fork</strong> - The internal JVM javac compiler used by Ant +has a known memory leak. And Ant requires that java compiles be synchronized, +i.e. only one JSP page can be compiled at a time. Set fork to +<code>true</code> so that Ant compiles JSP pages in a seperate JVM. +This removes the synchronization of JSP page compiles and prevents +all the javac classes from being instantiated and subsequently garbage +collected by the JVM Tomcat is running in.</li </ul> </p>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>