Start of topic | Skip to actions
Installing Tomcat on Solaris 10
# cd /opt/ # unzip apache-tomcat-5.5.15.zip
# ln -s /opt/apache-tomcat-5.5.15/ tomcat
# cd /opt/tomcat/bin # chmod +x *.sh
<Connector port="8080" maxHttpHeaderSize="8192"
# groupadd tomcat # useradd -g tomcat -d /opt/tomcat tomcat # passwd tomcat # chown -R tomcat:tomcat /opt/tomcat # chown -R tomcat:tomcat /opt/apache-tomcat-5.5.15
#!/sbin/sh
JAVA_HOME=/usr/java
CATALINA_HOME=/opt/tomcat
export JAVA_HOME CATALINA_HOME
case "$1" in
start)
$CATALINA_HOME/bin/startup.sh
;;
stop)
$CATALINA_HOME/bin/shutdown.sh
;;
restart)
$CATALINA_HOME/bin/shutdown.sh
$CATALINA_HOME/bin/startup.sh
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
References
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
Guides.InstallTomcat moved from Guides.TomcatInstallation on 04 Mar 2006 - 05:00 by JesseSuen - put it back
| |||||