Dalibor Topic wrote:
Kaffe CVS wrote:

PatchSet 4033 Date: 2003/09/14 20:01:45
Author: dalibor
Branch: HEAD
Tag: (none) Log:
Fix to get Tomcat 4.1.27 to run

Tomcat loads without errors with this fix. In order to get JSPs to work,
one has to set kjc as the JSP compiler in tomcat's conf/web.xml. Works
best with lots of memory.


so set JAVA_OPTS to something high enough, like -mx256M before you run tomcat. Attached is a diff to conf/web.xml that sets the default JSP compiler to kjc.

Attached now ;)


cheers,
dalibor topic

diff -u original-tomcat/jakarta-tomcat-4.1.27/conf/web.xml 
jakarta-tomcat-4.1.27/conf/web.xml
--- original-tomcat/jakarta-tomcat-4.1.27/conf/web.xml  Thu Jul 31 19:29:58 2003
+++ jakarta-tomcat-4.1.27/conf/web.xml  Sun Sep 14 19:14:18 2003
@@ -163,6 +163,10 @@
             <param-name>fork</param-name>
             <param-value>false</param-value>
         </init-param>
+       <init-param>
+           <param-name>compiler</param-name>
+           <param-value>kjc</param-value>
+       </init-param>
         <load-on-startup>3</load-on-startup>
     </servlet>
 

Reply via email to