Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error During installation of tomcat in linux

Status
Not open for further replies.

991974

Programmer
Jul 24, 2006
1
DE
Hai Friends!

I m facing some difficulties during installation of tomcat in linux redhat enterprise edition-3. i installed apache-tomcat-5.5.17 and jre-1-5-0-07-linux-i586.bin under root directory.

My Env Variables settings are,

JAVA_HOME=/root/jre1.5.0.07
CATALINA_HOME=/root/apache-tomcat-5.5.17
path=$JAVA_HOME/bin
CLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/common/lib/servlet-api.jar


If i start the server it showing the following error:

$CATALINA_HOME/root/apache-tomcat-5.5.17/bin/startup.sh
cannot find /root/apache-tomcat-5.5.17/bin/catalina.sh
this file is needed to run this path


But catalina.sh file will be available under the same path.

pls,suggest me urs valuable ideas..

thank you

Regards
Babu
 
Its a mistake to install and run tomcat and java as root - you should choose another user. But never mind.

You should execute this :

$CATALINA_HOME/bin/startup.sh

rather than this :

$CATALINA_HOME/root/apache-tomcat-5.5.17/bin/startup.sh

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top