HOWTO Run Tomcat On Kaffe#
- Download and install the latest developer release of Kaffe. That's 1.1.3 at the moment.
- Download and extract Tomcat. I used Tomcat4 (4.1.29, to be precise), Tomcat3 should also work fine on Kaffe. Tomcat5 doesn't at the moment.
- Set the environment variable JAVA_HOME to where you installed Kaffe. That's export JAVA_HOME=/usr/local/kaffe in Bash if you haven't changed the installation prefix, for example.
- Tell Tomcat to use Kaffe's java compiler KJC to compile the JSP pages by setting the environment variable JAVA_OPTS to -Dbuild.compiler=kjc. That's export JAVA_OPTS="-Dbuild.compiler=kjc" in Bash, for example.
- Download and extract Jakarta Struts (I used 1.1). You need to copy one file, lib/struts-legacy.jar from Struts into Tomcat's server/lib/ directory. I'm not sure why you need this, but without it, Tomcat's Admin interface will complain.
- Cd into the directory where you extracted Tomcat, run it by invoking bin/startup.sh.
You may also want to allow Kaffe to use more memory, if the default limit of 64M is too small for your Tomcat4 needs. You can do that by adding -Xmx128M to JAVA_OPTS, for example.
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 12-Jan-2004 03:15 by 139.19.20.93.