Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-26-2007, 03:24 PM
Intermediate Member
 
Posts: 23
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!
Reply With Quote
  #2 (permalink)  
Old 04-27-2007, 07:55 AM
Special Member & Volunteer
 
Posts: 155
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
Reply With Quote
  #3 (permalink)  
Old 04-30-2007, 12:10 PM
Intermediate Member
 
Posts: 23
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!!!!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.