https://issues.apache.org/bugzilla/show_bug.cgi?id=47678

--- Comment #3 from Eric Smith <eric.sm...@mckesson.com> 2010-09-09 12:11:19 
EDT ---
I've created a patch that seems to work.  The problem seems to arise from IIS 7
having more rigorous security, in particular the default ACLs are now
restricted when create mappings and mutexes.  
The changes to jk_shm.c are to 
(1) add a SECURITY_ATTRIBUTES structure having KEY_ALL_ACCESS (I granted to
Everyone (SECURITY_WORLD_RID) in test, but this should probably be more
restricted) as the 2nd argument in the CreateFileMapping call and 
(2) add a SECURITY_ATTRIBUTES structure having MUTEX_ALL_ACCESS as the 1st
argument in the CreateMutex call.

[Thu Sep 09 12:06:06.862 2010] [4920:2456] [info] init_jk::jk_isapi_plugin.c
(2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.31
[Thu Sep 09 12:06:06.878 2010] [4920:2456] [info] jk_shm_open::jk_shm.c (174):
About to map JKISAPISHMEM_LOCALHOST_1 size 640
[Thu Sep 09 12:06:06.878 2010] [4920:2456] [info] jk_shm_open::jk_shm.c (182): 
 CreateFileMapping returned: 0
[Thu Sep 09 12:06:06.878 2010] [4920:2456] [info] jk_shm_open::jk_shm.c (197): 
 mutex name: Global\JKISAPISHMEM_LOCALHOST_1_MUTEX
[Thu Sep 09 12:06:06.878 2010] [4920:2456] [info] jk_shm_open::jk_shm.c (207): 
 CreateMutex returned: 0
[Thu Sep 09 12:06:06.878 2010] [4920:2456] [info] jk_shm_open::jk_shm.c (209): 
 jk_shm_hlock: 668
[Thu Sep 09 12:06:06.893 2010] [4920:2456] [info] init_jk::jk_isapi_plugin.c
(2573): Jakarta/ISAPI/isapi_redirector/1.2.31 initialized
[Thu Sep 09 12:06:08.768 2010] [4388:3792] [info] init_jk::jk_isapi_plugin.c
(2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.31
[Thu Sep 09 12:06:08.768 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (174):
About to map JKISAPISHMEM_LOCALHOST_1 size 640
[Thu Sep 09 12:06:08.768 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (182): 
 CreateFileMapping returned: 183
[Thu Sep 09 12:06:08.784 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (184): 
 Attached, map: 660
[Thu Sep 09 12:06:08.784 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (197): 
 mutex name: Global\JKISAPISHMEM_LOCALHOST_1_MUTEX
[Thu Sep 09 12:06:08.784 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (201): 
 OpenMutex returned: 183
[Thu Sep 09 12:06:08.784 2010] [4388:3792] [info] jk_shm_open::jk_shm.c (209): 
 jk_shm_hlock: 664
[Thu Sep 09 12:06:08.800 2010] [4388:3792] [info] init_jk::jk_isapi_plugin.c
(2573): Jakarta/ISAPI/isapi_redirector/1.2.31 initialized

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to