fis:~# invoke-rc.d tomcat4 start
Starting Tomcat 4.1 servlet engine using Java from /usr/lib/fjsdk: invoke-rc.d: initscript tomcat4, action "start" failed.
fis:~#
- & in the Catalina log -
The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE
I suspect I encountered bug #299643, but setting JSP_COMPILER in /etc/default/tomcat4 to "jikes-kaffe" or just "jikes" only resulted in the same behavior.
I then tried the SableVM, following the excellent instructions at - http://sablevm.org/wiki/Tomcat - though they aren't specific to the Debian packages of Tomcat & Jikes -
I updated alternatives, so /usr/bin/java -> /usr/bin/java-sablevm & /usr/bin/javac -> /usr/bin/jikes-sablevm -
fis% java -V
SableVM version 1.11.1
- compile date and time: 2005-03-21 13:19:00 UTC
- gcc version: 3.3.5 (Debian 1:3.3.5-12)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- inline-threaded interpreter
fis% javac -V
Jikes Compiler - Version 1.22 - 3 October 2004
Copyright (C) IBM Corporation 1997-2003, 2004.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
Originally written by Philippe Charles and David Shields of IBM Research,
Jikes is now maintained and refined by the Jikes Project at:
<http://ibm.com/developerworks/opensource/jikes>
Please consult this URL for more information and for reporting problems.
fis%
- & I set JAVA_HOME in /etc/default/tomcat4 to "/usr" - I even added -
<init-param> <param-name>compiler</param-name> <param-value>jikes</param-value> </init-param>
- to /etc/tomcat4/web.xml & "-Dbuild.compiler.emacs=true" to CATALINA_OPTS in /etc/default/tomcat4 - but still, same error.
Finally, Daniel suggested on #debian-java setting JAVA_HOME to /usr/lib/fjsdk - but same error.
I'm running -
free-java-sdk 1.0-1 sablevm & jikes-sablevm 1.11.1-2 kaffe, kaffe-common, kaffe-pthreads & jikes-kaffe 1.1.4.RC1-1 jikes 1.22-2 libtomcat4-java & tomcat4 4.1.31-2
- on Debian unstable.
Any help with this much appreciated! Thanks for making Java free!
Jack
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]