Results 1 to 3 of 3

Thread: Open Source with Mod JK

  1. #1
    Join Date
    Mar 2007
    Rep Power

    Default Open Source with Mod JK

    I am trying to get mod jk working with tomcat and apache. I have followed the wiki article ( but have not had any luck. Here are some details of my installation. I installed the open source version of zimbra and have not move any of the default file locations. file (/opt/zimbra/conf/)

    added config to /opt/zimbra/conf/httpd.conf
    LoadModule jk_module modules/

    # Where to find
    JkWorkersFile /opt/zimbra/conf/
    # Where to put jk logs
    JkLogFile /opt/zimbra/httpd-2.0.54/logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel debug
    # SHM info
    JkShmFile /opt/zimbra/httpd-2.0.54/logs/jk.shm
    JkShmSize 10M
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat "%w %V %T"
    # JkMount points
    JkMount /zimbra/* hosting
    JkMount /service/* hosting
    JkMount /zimbraAdmin/* hosting

    added following to server.xml and
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

    After I restart tomcat and apache I cannot access the following but it does work when I go to

    Do I have to compile a separate version of apache? I am trying to use the version that came with the zimbra install.

    The other side effect of this is that my sasl stops functioning because my saslauthd.conf and file cannot translate the zimbra_url of zimbra_url: I tried to put in the port in the url but sasl would not start, it choked at the colon.

    Any ideas would be greatly appreciated!

  2. #2
    Join Date
    Oct 2005
    Harrisburg, Pennsylvania
    Rep Power


    Quote Originally Posted by peterro View Post
    Do I have to compile a separate version of apache? I am trying to use the version that came with the zimbra install.
    Well, while you don't need to specifically compile a separate version of Apache, the instructions there are assuming you're using the non-Zimbra Apache... so you'd just install the Apache that's available for your distro (ie, on RedHat/CentOS, it'd be "yum install httpd").

    And then, you'd setup the workers file and such with that Apache, rather than the Zimbra one. Now, you *could* get the Zimbra Apache running in the way you want with some config tweaks, but I haven't done that.

    Good luck!

  3. #3
    Join Date
    Mar 2007
    Rep Power



    My problem was two fold:

    1: I was trying to use the apache that came with zcs.
    2: I did not make the changes to my /opt/zimbra/apache-tomcat-5.5.15/webapps/service/WEB-INF/web.xml and /opt/zimbra/apache-tomcat-5.5.15/conf/ files as described in the wiki post


Similar Threads

  1. Error message in Server status
    By Max Ma in forum Installation
    Replies: 20
    Last Post: 04-19-2007, 08:55 AM
  2. Installs but won't start on Linux FC6
    By iain in forum General Questions
    Replies: 6
    Last Post: 03-29-2007, 10:19 AM
  3. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 04:30 PM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM
  5. Is Zimbra open source according to the OSI?
    By Charles22 in forum Developers
    Replies: 1
    Last Post: 10-20-2005, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts