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

             Bug #: 52947
           Summary: Shared memory is not unique amongst different configs
           Product: Tomcat Connectors
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: alex.sa...@yieldbroker.com
    Classification: Unclassified


On IIS the tomcat connector can be started in different processes and with
multiple threads.

The current code 1.2.34_8 uses a common semaphore name and a common shared
memory name.

the documentation on the web site says
"The ISAPI redirector can read it's configuration from a properties file
instead of the registry. This has the advantage that you can use multiple ISAPI
redirectors with independent configurations on the same server. The redirector
will check for the properties file during initialisation, and use it in
preference to the registry if present."

But even if you do this, the different setups will use the same shared memory
and the same semaphore handle.

I am not sure what corruption might happen from this ?

I would like to suggest adding something like

shm_namespace 

option to the isapi_redirect.properties file, that adds a postfix to the shared
names space name and to the semaphore handle

alex

-- 
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