The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems install tomcat 6

Discussion in 'General Discussion' started by Milton Campos, Dec 27, 2011.

  1. Milton Campos

    Milton Campos Registered

    Joined:
    Dec 27, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page