On Sun, 13 Mar 2005 00:10:25 -0500, Barry Hawkins <[EMAIL PROTECTED]> wrote:

~ I think I failed to make an instruction explicitly clear before.

No, you were clear enough.


You have both a Blackdown 1.3.1 JRE and a kaffe install.  You need to
explicitly indicate kaffe by setting JAVA_HOME in /etc/default/tomcat4,

That did not make any difference.


since the startup script will try to use your 1.3 JRE instead of kaffe.
~ Note the following line from the /etc/init.d/tomcat4 script:

JDK_DIRS="/usr/lib/j2se/1.4 /usr/lib/j2sdk1.4 /usr/lib/j2se/1.3
/usr/lib/j2sdk1.3 /usr/lib/kaffe"

I tried solving it The Wrong Way by removing the JDK_DIRs I did not intend to use for Tomcat:

JDK_DIRS="/usr/lib/kaffe"

Yet, the last lines of the newest catalina<date>.log are:

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


Is somebody/something pulling my leg here?!


~    Because the 1.3 comes first, you can count on it being chosen for
use unless you explicitly set JAVA_HOME for kaffe.  That is why I told
you to set it in my original reply on March 6th[0].  Let me know if this
takes care of the issue.

[0] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298314&msg=4

I did set that, and tomcat still failed with the same message in the log.

--
Herman Robak


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to