Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.