Tomcat on Centos 5.1

Discussion in 'HOWTO-Related Questions' started by cybergal, Mar 11, 2008.

  1. cybergal

    cybergal New Member

  2. zeeman

    zeeman New Member

    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
  3. cybergal

    cybergal New Member

    thanks for replying, my first question is in the How-To page 2 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.
  4. zeeman

    zeeman New Member

    yum search apxs
    gives you the answer:

    Install with
    yum install httpd-devel
    Build the connector with
    tar xvzf tomcat-connectors-1.2.26-src.tar.gz
    cd tomcat-connectors-1.2.26-src/native/
    ./configure --with-apxs=/usr/sbin/apxs
    cp apache-2.0/ /etc/httpd/modules/
    Now configure mod_jk as descriped in the tutorials.

    Finally add the apache directive in ispconfig:
    JkMount /*/servlet/* wrkr
    JkMount /*.jsp wrkr
  5. cybergal

    cybergal New Member

    ThankYou!! i'll try after 2-3 days

Share This Page