URGENT!!! I need to locate the file CATALINA.SH

Discussion in 'Plesk 7.1 Reloaded Installation and 'How Do I' Questions' started by jaibux, Nov 29, 2004.

  1. jaibux

    jaibux Guest

    This is the results executing find command.

    [root@ns1 /]# find / -name 'catalina.*'
    /var/log/tomcat4/catalina.out
    /var/log/tomcat4/catalina.out.2.gz
    /var/log/tomcat4/catalina.out.3.gz
    /var/log/tomcat4/catalina.out.4.gz
    /var/log/tomcat4/catalina.out.1.gz
    /var/tomcat4/server/lib/catalina.jar
    /etc/tomcat4/catalina.policy
    /etc/tomcat4/catalina.policy.bk
    [root@ns1 /]#


    I need to modify the line JAVA_OPTS, but I dont know if Plesk use catalina.sh or another way to start up Tomcat.

    PLEASE HELP ME!!!!
     
  2. luksa

    luksa Guest

    Code:
    find / -name tomcat4 -exec grep TOMCAT_SCRIPT {} \; -exec grep 'tomcat_root' {} \; -exec grep 'product_root' {} \; | grep =
    TOMCAT_SCRIPT="$tomcat_root/bin/catalina.sh"
    tomcat_root=$product_root/tomcat4
    TOMCAT_CFG="$tomcat_root/conf/tomcat4.conf"
    TOMCAT_SCRIPT="$tomcat_root/bin/catalina.sh"
    product_root="/usr/local/psa"
    tomcat_root=$product_root/tomcat4

    /usr/local/psa/tomcat4/bin/catalina.sh
     
  3. dukex

    dukex Guest

    I can't find it either

    I can't find it either

    Does someone knows where catalina.sh is located in plesk 7 reloaded?

    /usr/local/psa/tomcat4/bin/catalina.sh
    doesn't exist.
     
  4. luksa

    luksa Guest

    find: Startup script for Tomcat 4.0

    /etc/rc.d/init.d/tomcat4

    inside it:

    # Path to the tomcat launch script (direct don't use wrapper)
    TOMCAT_SCRIPT=/usr/bin/dtomcat4

    /usr/bin/dtomcat4 - looks like catalina.sh, inside it:

    # Start/Stop Script for the CATALINA Server

    it's in tomcat4-4.1.24-full.2jpp.noarch.rpm, from psa-7.1.6-fc2.build71041118.17.i586.rpm.tar.gz :eek: :eek: :eek:
     
  5. dukex

    dukex Guest

    Thank you

    Hi luksa

    Thank you I'll try that one. :)



    :) :)
     
  6. luksa

    luksa Guest

Share This Page