Bug#298314: /etc/init.d/tomcat4 start fails; log says JAVA_HOME is not defined correctly

Herman Robak Herman Robak <herman@skolelinux.no>, 298314@bugs.debian.org
Mon Mar 14 12:09:10 2005


On Mon, 2005-03-14 at 19:31, Barry Hawkins wrote:

> ~    Try installing a Sun or Blackdown JDK and tell me if your tomcat4
> installation will work with that.  If we can get a "known good" setup,
> maybe we can figure out your issue.  If that does not work, I would
> recommend purging the packages and starting fresh.  I am fairly certain
> that it is not a bug with the package(s).

 That may very well be the case.  However, that means that
my Skolelinux-upgraded-to-Sid system is broken.  Either by me,
or by some chain of events, possibly going back to Skolelinux.
I would like to know.

This may be a corner case where the error handling simply does
not cut it.  A situation where the simplest solution may be a 
reinstall has room for improvement.


> ~    Another thing you might check on, although it should not affect
> tomcat, is what your alternatives are set to for java-related aliases.
> If you have free-java-sdk installed, you can run
> /usr/lib/fjsdk/java-alt-setup as root to view these; just don't make any
> selections unless you wish to change something.

 Thank you.  I would like some more hints on troubleshooting
the Java environment.

-- 
 Herman Robak