tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44738] New: mod_jk-1.2.26 does not work in virtualhost
Date Wed, 02 Apr 2008 01:27:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44738

           Summary: mod_jk-1.2.26 does not work in virtualhost
           Product: Tomcat 6
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sasajima@pc.fujitsu.com


Created an attachment (id=21760)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21760)
This patch handles JkOptions correctly

My site works on Apache 2.0.61 + mod_jk-1.2.23 + Tomcat.
I upgrade my site to Apache 2.0.63 + mod_jk-1.2.26 + Tomcat,
and it does not work.
mod_jk logs following messages:

  [Tue Apr 01 19:21:55.450 2008] [20648:27] [error] jk_handler::mod_jk.c
(2223): Could not init service for worker=customer

An abobe trouble causes by a bug of merge_jk_config(). 
My httpd.conf is like a following:

  JkOptions       +ForwardURIProxy
  <Virtualhost *>
    JkOptions       +ForwardURICompat
  </Virtualhost>

In server settings, "options" variable is JK_OPT_FWDURIPROXY (0x0004).
In virtualhost settings, "options" variable is JK_OPT_FWDURICOMPAT (0x0001).
merge_jk_config() merges both variables to 0x0005
and it causes an error of init_ws_service().


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message