Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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