[kaffe] CVS kaffe (dalibor): Fix to get Tomcat 4.1.27 to run
Dalibor Topic
robilad@kaffe.org
Sun Sep 14 13:18:02 2003
This is a multi-part message in MIME format.
--------------000105000602050805030908
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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
--------------000105000602050805030908
Content-Type: text/plain;
name="tomcat-kjc.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="tomcat-kjc.diff"
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>
--------------000105000602050805030908--