Hi, Anyone istalled Tomcat on Centos 5.1 Perfect server setup? Found an article for Debian http://www.howtoforge.com/apache2_tomcat5_mod_jk Any Centos 5.1 users have tried it? Any issues oe tweaking to be done? Thanks
Looks quite well. We use Tomcat5.5 with CentOS 4.6 and ISPconfig. Works very well. We followed more or less the tutorials about mod_jk and added a new directive for the tomcat-webspace in ispconfig (the part you should write inside httpd.conf) If you have any detailed questions, just ask
thanks for replying, my first question is in the How-To page 2 http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 its saying "You will need to have apxs2 (APache eXtension tool) installed and configured with Apache" How do i know if its installed on my Apache under Centos 5.1 ? and if its not present then what is the yum command to install it. And yes pls let me know of the tomcat-webspace directive.
Code: yum search apxs gives you the answer: httpd-devel.i386 Install with Code: yum install httpd-devel Build the connector with Code: tar xvzf tomcat-connectors-1.2.26-src.tar.gz cd tomcat-connectors-1.2.26-src/native/ ./configure --with-apxs=/usr/sbin/apxs make cp apache-2.0/mod_jk.so /etc/httpd/modules/ Now configure mod_jk as descriped in the tutorials. Finally add the apache directive in ispconfig: Code: JkMount /*/servlet/* wrkr JkMount /*.jsp wrkr