Difference between revisions of "Apache Tomcat"
m (categorisation) |
Unnilennium (talk | contribs) |
||
Line 58: | Line 58: | ||
---- | ---- | ||
− | [[Category: | + | [[Category: Deprecated_Contrib]] |
[[Category: Administration]] | [[Category: Administration]] |
Latest revision as of 08:26, 11 July 2022
Apache Tomcat for SME 7.x
Maintainer
Sylvain Gomez
mailto:sylvaingomez@free.fr
Description
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.
Download
You can download this package here. You will also need this package for dependency. If you would like to save it directly on your SME Server, you should give this command at a linux-prompt
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.
Use
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.
i.e. You can reach admin panel at http://yourdomain.com/admin and/or http://yourserver:8181/admin
i.e. You can reach the manager panel at http://yourdomain.com/manager/html and/or http://yourserver:8181/manager/html
and so on!
See /etc/e-smith/templates/etc/httpd/conf/httpd.conf/99xxxTomcatxxxx for examples
Additional information
Sylvain Gomez (Cool34000)