Tomcat would start

Derek Broughton news at pointerstop.ca
Mon Jul 17 18:38:56 UTC 2006


OOzy Pal wrote:

> Hello
> 
> $ sudo /usr/share/tomcat5/bin/startup.sh

OK, are you doing this just so that you can manually control the startup
variables, or do you really use it to start tomcat?  Normally, you'd
use /etc/init.d/tomcat which would source /etc/default/tomcat5
> 
> 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
> 
> JAVA_HOME=/usr/lib/jvm/java-gcj
> 
I'd have to guess that JAVA_HOME isn't defined correctly and needs to point
to a _real_ JDK.  It does, however, seem from /etc/default/tomcat5 that
java-gcj should be good enough (and that's the path it uses).
-- 
derek





More information about the ubuntu-users mailing list