Tomcat startup.sh doesn't work
        Posted  
        
            by OMG Ponies
        on Server Fault
        
        See other posts from Server Fault
        
            or by OMG Ponies
        
        
        
        Published on 2010-06-17T22:01:39Z
        Indexed on 
            2010/06/17
            22:03 UTC
        
        
        Read the original article
        Hit count: 332
        
I've just installed Tomcat 6.0.20 (per Jira documentation recommendation) on RedHat EL 5 Server, and attempts to use:
bin] # ./startup.sh
...result in:
Using CATALINA_BASE: /opt/software/jira-tomcat-6.0.20
Using CATALINA_HOME: /opt/software/jira-tomcat-6.0.20
Using CATALINA_TMPDIR: /opt/software/jira-tomcat-6.0.20/temp
Using JRE_HOME: /etc/alternatives/jre
Usage: catalina.sh ( commands ... )
commands:
  debug         Start Catalina in a debugger
  ...
  version       What version of tomcat are you running?
I've edited the catalina.sh file to add:
echo $0
echo $1
...and I see:
catalina.sh
start
...etc when I use:
./catalina.sh start
Why does catalina.sh not use the parameter?
© Server Fault or respective owner