Results 1 to 3 of 3

Thread: Open Source with Mod JK

  1. #1
    peterro is offline Intermediate Member
    Join Date
    Mar 2007
    Posts
    23
    Rep Power
    8

    Default Open Source with Mod JK

    I am trying to get mod jk working with tomcat and apache. I have followed the wiki article ( http://wiki.zimbra.com/index.php?tit...e_%28mod_jk%29) 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.

    workers.properties file (/opt/zimbra/conf/)
    worker.list=hosting
    worker.localhost.port=8009
    worker.localhost.host=localhost
    worker.localhost.type=ajp13
    worker.localhost.lbfactor=1
    workers.tomcat_home=/opt/zimbra/tomcat
    workers.java_home=/opt/zimbra/java

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

    # Where to find workers.properties
    JkWorkersFile /opt/zimbra/conf/workers.properties
    # 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 server.xml.in
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

    After I restart tomcat and apache I cannot access the following http://webmail.websoftdev.com but it does work when I go to http://webmail.websoftdev.com:7070.

    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 saslauthd.conf.in file cannot translate the zimbra_url of zimbra_url: http://hosting.websoftdev.com/service/soap/. 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
    andreychek is offline Special Member & Volunteer
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    9

    Default

    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!
    -Eric

  3. #3
    peterro is offline Intermediate Member
    Join Date
    Mar 2007
    Posts
    23
    Rep Power
    8

    Default

    Success!!!!

    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/service.web.xml.in files as described in the wiki post http://wiki.zimbra.com/index.php?tit...e_using_mod_jk

    Thanks!!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 05:30 PM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01: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
  •