[kaffe] CVS kaffe (dalibor): Fix to get Tomcat 4.1.27 to run

Dalibor Topic robilad@kaffe.org
Mon Sep 15 01:49:01 2003


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.
> 
> When you get into the management console, you should see a picture like 
> this: http://www.kaffe.org/~robilad/tomcat-4.1.27-screenshot.png where 
> you can see at the bottom that tomcat is running on kaffe.
> 
> thanks to Helmer for providing very useful ideas for patches on the irc 
> channel. It would be nice if someone could take a look into merging the 
> URL* classes from GNU Classpath into kaffe.

One more thing: you may need to put struts-legacy.jar from 
jakarta-struts into
  $CATALINA_HOME/server/lib/ to get it to work .

cheers,
dalibor topic