When I try to start tomcat it doesn't work.

When I look in tomcat/logs/catalina.out I get the line:

  • ./catalina.sh: 454: /usr/bin/java/bin/java: not found

This makes sense since there is no /usr/bin/java/bin/java but there is a /usr/bin/java

It looks like Catalina is adding an extra portion onto the JAVA_HOME variable. When I do echo $JAVA_HOME I get /usr/bin/java

Does anyone know how I can solve this.

link|improve this question

43% accept rate
feedback

1 Answer

Check your /etc/tomcat.conf (could be tomcat(versionnumber).conf and make sure you're not over-riding the system value there.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.