PlanetJava
Custom Search

java-gridsphere-user
[Top] [All Lists]

Re: Looking for working example of tomcat 5.0 and apache 2 httpd.conf co

Subject: Re: Looking for working example of tomcat 5.0 and apache 2 httpd.conf configuration for mod_jk
Date: Thu, 11 May 2006 10:17:07 +0200
Hi,
find below samples of my apache's config files that I use for serving
content from two tomcat containers (5.0.28 and 5.5.9) via apache's SSL.
my "workers.properties file":
====================
# Define workers
worker.list=gridsphere_tc, sakai
# Set properties for gridsphere (ajp13)
worker.gridsphere_tc.type=ajp13
worker.gridsphere_tc.host=localhost
worker.gridsphere_tc.port=8109
worker.gridsphere_tc.lbfactor=50
worker.gridsphere_tc.cachesize=10
worker.gridsphere_tc.cache_timeout=600
worker.gridsphere_tc.socket_keepalive=1
worker.gridsphere_tc.reclycle_timeout=300
# Set properties for sakai (ajp13)
worker.sakai.type=ajp13
worker.sakai.host=localhost
worker.sakai.port=8110
worker.sakai.lbfactor=50
worker.sakai.cachesize=10
worker.sakai.cache_timeout=600
worker.sakai.socket_keepalive=1
worker.sakai.reclycle_timeout=300
========================================
my "mod_jk.conf":
============================
LoadModule    jk_module  modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile     /var/log/httpd/mod_jk.log
JkLogLevel    info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat     "%w %V %T %U"
==========================================
part of my "mod_ssl.vhost.conf":
=======================
<VirtualHost ...>
..
       # serve static contant directly
       JkAutoAlias /home/portal/jakarta-tomcat-5.0.28/webapps
       JkAutoAlias /home/portal/jakarta-tomcat-5.5.9/webapps
       # the mounts (must list all webapps that should be accessible)
       JkMount  /gridsphere/* gridsphere_tc
       JkMount  /gridsphere gridsphere_tc
       JkMount  /gridportlets/* gridsphere_tc
       JkMount  /dipasportal/* gridsphere_tc
       JkMount  /sakailaunch/* gridsphere_tc
       JkMount  /embet/* gridsphere_tc
       JkMount  /portal/* sakai
       JkMount  /library/* sakai
       JkMount  /sakai-login/* sakai
       JkMount  /access/* sakai
       JkMount  /portal sakai
</VirtualHost>
=======================
Best regards,
Branislav
Jill B Gemmill wrote:
Hello - I am using tomcat 5.0.X and apache 2.0 with gridsphere 2.1.4
        I have apache and mod_jk installed successfully, and "almost"
have the configuration right for gridsphere (by this I mean that
http://myhostname/gridsphere/gridsphere are sent to tomcat w/o
specifying port 8080.  However, I get some warnings from Apache "mixing
* ports and non-* ports with NameVirtualHost not allowed".
        I was following the instructions on the gridsphere site at the
bottom of the GridSphere User's Guide, but the version of tomcat I am
using allows a single workers.properties file and I have seen other
documentation that the <IfModule mod_jk.c> is for tomcat 4.0 only and
should not be used with 5.0, so I am not using that line.
        If anyone has an example for tomcat 5.0 to share I would
certainly appreciate it.
---------
Jill Gemmill, PhD
Assistant Director, IT Academic Computing
University of Alabama at Birmingham
Phone: 205-975-2850
Email: [email protected]
Videoconference: GDS 0011549110
_______________________________________________
Gridsphere-users mailing list
[email protected]
https://www.gridlab.org/mailman/listinfo/gridsphere-users

msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • Looking for working example of tomcat 5.0 and apache 2 httpd.conf configuration for mod_jk
    • Re: Looking for working example of tomcat 5.0 and apache 2 httpd.conf configuration for mod_jk,
    • Re: Looking for working example of tomcat 5.0 and apache 2 httpd.conf configuration for mod_jk
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy