Apache Tomcat for SME 7.x
Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process.
This RPM version is based on MasterSleepy's howto (with up to date versions).
I've added mod_jk support to connect Apache and Tomcat.
wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/tomcat/smeserver-apache-tomcat-5.5.23-2.i386.rpm wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/tomcat/jdk-1_5_0_12-linux-i586.rpm
Installation and Uninstall
For installation just hit the following command
yum localinstall *.rpm
For uninstall just hit the following command
yum remove smeserver-apache-tomcat jdk
You can ignore the yum-comments signal event post-upgrade and signal-event reboot.
You can view configuration of Tomcat with the followinbg command:
config show tomcat
Default port has been changed to 8181, but you can change it with following commands:
# config setprop tomcat TCPPort 9090 # signal-events remoteaccess-update # signal-events tomcat-update
Because mod_jk is used, access to Tomcat is LAN only.
and so on!
See /etc/e-smith/templates/etc/httpd/conf/httpd.conf/99xxxTomcatxxxx for examples
Sylvain Gomez (Cool34000)