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 2008/02/13 15:32:00 UTC

DO NOT REPLY [Bug 44414] New: - mod_jk 1.2.26 does not work with ssl on apache 2.2.8

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=44414>.
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=44414

           Summary: mod_jk 1.2.26 does not work with ssl on apache 2.2.8
           Product: Tomcat 6
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: etouchard@infovista.com


Important note: this was working with mod_jk 1.2.25, I have the same behavious 
on solaris 10 and windows 2003

I setup a connector jk 1.2.26 between tomcat 6.0.16 and apache 2.2.8 with the 
following settings in the httpd.conf

LoadModule jk_module /opt/InfoVista/TomcatWebServerConnector/apache2.2/mod_jk.so
JkWorkersFile /opt/InfoVista/TomcatWebServerConnector/conf/workers.properties
JkMountFile /opt/InfoVista/TomcatWebServerConnector/conf/uriworkermap.properties
JkLogFile /opt/InfoVista/TomcatWebServerConnector/logs/jk.log
JkLogLevel emerg
JkShmFile /opt/InfoVista/TomcatWebServerConnector/logs/jk.shm

content of /opt/InfoVista/TomcatWebServerConnector/conf/workers.properties is

worker.list=portal_localhost, portalse_localhost
#
# Defining a worker named portal_hostname and of type ajp13
#
worker.portal_localhost.type=ajp13
worker.portal_localhost.host=localhost
worker.portal_localhost.port=9009
worker.portal_localhost.lbfactor=1
worker.portal_localhost.cachesize=256
#
# Defining a worker named portalse_hostname and of type ajp13
#
worker.portalse_localhost.type=ajp13
worker.portalse_localhost.host=localhost
worker.portalse_localhost.port=10009
worker.portalse_localhost.lbfactor=1
worker.portalse_localhost.cachesize=256

content of /opt/InfoVista/TomcatWebServerConnector/conf/uriworkermap.properties 
is

/VPortal=portal_localhost
/VPortal/*=portal_localhost
/PortalSE=portalse_localhost
/PortalSE/*=portalse_localhost

I start my tomcat and apache and i can access easilly to my web applications via
http://host/VPortal/ and http://host/PortalSE

Then i stop everything and setup apache in ssl mode (stop 80, add 
certificate, ...) and restart everything. 
When i access to https://host/VPortal/ and https://host/PortalSE i have a 404.

I check https://host, it works.

So i try to diagnose it by setting 
JkLogLevel debug
i will put the result in attachemnt however, with http i notice

[debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[debug] map_uri_to_worker::jk_uri_worker_map.c (682): Attempting to map 
URI '/VPortal/' from 4 maps

with https

[debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[debug] jk_translate::mod_jk.c (3033): missing uri map for host:/VPortal/
[debug] jk_map_to_storage::mod_jk.c (3190): missing uri map for host:/VPortal/

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

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


DO NOT REPLY [Bug 44414] - mod_jk 1.2.26 does not work with ssl on apache 2.2.8

Posted by bu...@apache.org.
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=44414>.
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=44414


mturk@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From mturk@apache.org  2008-02-13 06:45 -------
Inside your add
<VirtualHost host:443>
JkMountCopy On
...
</VirtualHost>

We tightened the vhost mappings with 1.2.26, and since
SSL is actually vhost it requires JkMountCopy so that mounts
from the default server are visible in vhost as well

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

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


DO NOT REPLY [Bug 44414] - mod_jk 1.2.26 does not work with ssl on apache 2.2.8

Posted by bu...@apache.org.
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=44414>.
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=44414





------- Additional Comments From etouchard@infovista.com  2008-02-13 06:36 -------
Created an attachment (id=21521)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21521&action=view)
the apache ssl conf file


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

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


DO NOT REPLY [Bug 44414] - mod_jk 1.2.26 does not work with ssl on apache 2.2.8

Posted by bu...@apache.org.
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=44414>.
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=44414





------- Additional Comments From etouchard@infovista.com  2008-02-13 06:33 -------
Created an attachment (id=21520)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21520&action=view)
mod_jk log

Log file for access to http:/host/VPortal and https://host/VPortal

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

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


DO NOT REPLY [Bug 44414] - mod_jk 1.2.26 does not work with ssl on apache 2.2.8

Posted by bu...@apache.org.
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=44414>.
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=44414


etouchard@infovista.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From etouchard@infovista.com  2008-02-13 06:52 -------
Thanks a lot, it works

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

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