You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/29 17:28:03 UTC

DO NOT REPLY [Bug 28016] New: - mod_jk2 2.0.4 does not work with existing configuration

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28016>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28016

mod_jk2 2.0.4 does not work with existing configuration

           Summary: mod_jk2 2.0.4 does not work with existing configuration
           Product: Tomcat 5
           Version: 5.0.19
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: laurent@elanor.org


I downloaded and installed mod_jk2 2.0.4 binary for Apache2/Win32.
Somehow, the configuration that had been working so far is now broken.

*.jsp files in HTTP virtualhosts are correctly handled by Tomcat, but those that
are on the SSL virtualhost are served by Apache as text.

I have been using a mod_jk2/2.0.3-dev that I got from Tomcat 4.1.x in late
October and nuilt from sources to match my Apache version.

The configuration is all in httpd.conf and ssl.conf.
I added the lb stuff to follow the sample in 2.0.4, it was not there before. I
took out the irrelevant (IMHO) Apache conffiguration lines for better clarity (I
hope).

httpd.conf:

# Configuration for mod_jk2
# This is outside the virtual hosts, since it is also used
# in the ssl.conf part
JkSet shm.file "${serverRoot}/logs/shm.file"
JkSet shm.size 5242880
JkSet lb lb:lb
JkSet channel.socket:localhost:8009.host 192.168.50.1
JkSet channel.socket:localhost:8009.port 8009
JkSet ajp13:localhost:8009.channel     channel.socket:localhost:8009
JkSet ajp13:localhost:8009.group       lb

# That one works
<virtualhost 192.168.50.1>
  <Location "/WorkOrder/*.jsp">
    JkUriSet worker ajp13:localhost:8009
    JkUriSet group  lb
  </Location>
</virtualhost>



ssl.conf:
# That one does not work, serves the JSP files as text
<VirtualHost 192.168.50.1:443>
  <Location "/WorkOrder/">
    JkUriSet worker ajp13:localhost:8009
    JkUriSet group  lb
  </Location>
</virtualhost>


Maybe it could be related to that other bug?
http://issues.apache.org/bugzilla/show_bug.cgi?id=18472

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org