Milton Campos

Registered
Dec 27, 2011
1
0
51
cPanel Access Level
Root Administrator
Hello,


I downloaded version 6.0.35 of Tomcat site Apache Tomcat - Apache Tomcat 6 Downloads in CORE

Unzipped in /usr/local/jakarta conformity procedure link http://forums.cpanel.net/f34/how-install-tomcat-6-cpanel-175241.html # post981462

I changed the simlink of tomcat -> /usr/local/jakarta/apache-tomcat-5.5.34/ to tomcat -> /usr/local/jakarta/apache-tomcat-6.0.35

I changed the Group TOMCAT NOBODY

lrwxrwxrwx 1 tomcat nobody tomcat -> /usr/local/jakarta/apache-tomcat-6.0.35

Run the steps:

# cd apache-tomcat-6.0.35
# cd bin
# tar xvfz commons-daemon-native.tar.gz
# cd commons-daemon-1.0.7-native-src
# cd unix
# chmod +x configure
# ./configure
# make
# cp jsvc ..
# cd ..


I edited the file in /usr/local/jakarta/tomcat/conf/tomcat-users.xml


I Run

# su tomcat
# /usr/local/jakarta/tomcat/bin/startup.sh


Then I accessed the control panel and restart the servlet (TOMCAT) and obtained the following result:

Waiting for tomcat to restart...............................................................finished.


tomcat has failed, please contact the sysadmin (result was "tomcat is not running").



Due to this error, all returned to normal, restarted the service and he returned to work, but with version 5.5 and not 6.0 as I think.

Waiting for tomcat to restart...............finished.

tomcat (jsvc.exec -user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.Bootstrap start) running as tomcat with PID 22988

tomcat started ok

ow install tomcat 6 with sucess? tks
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator