1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache Tomcat 5.5

Discussion in 'Plesk for Linux - 8.x and Older' started by serlank, Mar 27, 2006.

  1. serlank

    serlank Guest

    Will Plesk 8.0 support Apache Tomcat 5.5 with mod_jk?
  2. eilko

    eilko Regular Pleskian

    Aug 1, 2001
    Likes Received:
    Enschede, Netherlands
    I have installed Plesk8 beta on FC4 and it seems what you asked for is possible.

  3. serlank

    serlank Guest

    Wooh boy!! Can't wait!
  4. funat120mph

    funat120mph Guest

    Were you able to upgrade to Tomcat 5.5? I am also interested in doing this under Fedora Core 4.
  5. garan

    garan Guest

    Is anyone running tomcat 5.5? I'm going to upgrade at least one of my servers and will probably go for the 'remove all trace, install from scratch approach', removing the Plesk Tomcat capability in the process.

    Any advice?

  6. funat120mph

    funat120mph Guest


    Please let me know if you have any luck. I really would like to upgrade as well.
  7. garan

    garan Guest

    I ended up removing tomcat5 completely and installing tomcat5.5 manually. It means that I've lost the psa control but I'm going to live with it :)

    Rough steps are:
    1. Put a copy of /etc/tomcat5 somewhere safe where you can refer to it
    2. rpm -e tomcat5-admin-webapps tomcat5-webapps psa-tomcat-configurator tomcat5
    3. Download tomcat5.5 and the compatibility package (I'm running JRE 1.4) from apache and untar it somewhere sensible. This is your $CATALINA_HOME. chown -R the directory so that it is owned by your tomcat user.
    4. Locate, download and install a jsvc pre-compiled rpm (got mine for FC4 from http://www.jpackage.org/)
    5. Create an /etc/init.d/tomcat5.5 startup script that utilises JSVC. Make sure that the processes run as the tomcat user. Create the symlinks for start and stop
    6. Replace the $CATALINA_HOME/logs directory with a symlink to /var/log/tomcat5
    7. Edit the server.xml in $CATALINA_HOME/conf to create an AJP connector that listens on port 9008 (as per the Plesk /etc/httpd/conf/workers.properties)
    8. Define hosts, start it up, tail the catalina.out, fix the exceptions and bask in the glow!
      Hope that helps.