The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat and Port 80

Discussion in 'cPanel Developers' started by Solokron, Aug 5, 2006.

  1. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    I am having problems with mod_jk.so not functioning properly. I installed Tomcat via WHM. Servlets are installed. When I define a mount point and place a .jsp file in it with example

    "Hello"

    I am receiving a 404 error. This occurs with all .jsp files in mount points.

    I read up on jk2 but that is deprecated and my understanding is mod_jk takes its place.

    My Apache contains the following:

    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    Include "/usr/local/apache/conf/jk.conf"

    <IfModule mod_jk.c>
    JkWorkersFile conf/workers.properties
    JkLogFile logs/mod_jk.log
    JkLogLevel info

    JkMount /*.jsp ajp13
    JkMount /test/* ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13
    </IfModule>

    server.xml has port 8080 defined but my understanding is mod_jk was supposed to take care of that on the backend transparently.

    Any help would be beneficial!
     
Loading...

Share This Page