Charles Caldarale wrote:

>
> > when talking with a web browser directly to tomcat (port 8080), the
> > web page is shown correctly.
>
> Are you sure the original request on port 80 is actually
> making it through httpd all the way to Tomcat?  The symptoms
> you're reporting are characteristic of a misconfigured httpd
> not forwarding anything to Tomcat.  Post your mod_jk config
> for someone (probably not me) to look at.
>

Currently i'm logging the whole AJP-stuff between httpd and tomcat (that's a 
lot). This shows that httpd forwards the request to tomcat, and tomcat delivers 
the response.

My mod_jk.conf:

    # Load mod_jk module
    # LoadModule    jk_module  libexec/mod_jk.so

    # Declare the module for <IfModule directive> (remove this line on Apache 
2.0.x)
    # AddModule     mod_jk.c

    # Where to find workers.properties
    # JkWorkersFile /etc/httpd/conf/workers.properties

    # Where to put jk shared memory
    JkShmFile     /var/log/apache2/mod_jk.shm

    # Where to put jk logs
    JkLogFile     /var/log/apache2/mod_jk.log

    # Set the jk log level [debug/error/info]
    JkLogLevel    debug

    # Select the timestamp log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

    JkRequestLogFormat     "%r %s %w %V"

    JKWorkerProperty worker.appl01.type=ajp13
    JKWorkerProperty worker.appl01.host=localhost
    JKWorkerProperty worker.appl01.port=8009
    JKWorkerProperty worker.list=appl01

    # Send servlet for context /mouseidgenes to worker named appl01
    JkMount  /mouseidgenes/* appl01

    # Send JSPs  for context /examples to worker named worker1
    # JkMount  /examples/*.jsp worker1


Bernd

Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671

Reply via email to