https://bz.apache.org/bugzilla/show_bug.cgi?id=58287

            Bug ID: 58287
           Summary: Questionable use of "Global" objects on Windows
           Product: Tomcat Connectors
           Version: 1.2.41
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common
          Assignee: dev@tomcat.apache.org
          Reporter: rainer.j...@kippdata.de

In common/jk_shm.c and in iis/jk_isapi_plugin.c we create objects in the
Windows "Global" name space. Those are used as names for mutexes and for shared
memory. Creating global objects needs the privilege SeCreateGlobalPrivilege. It
did not work for me when using a Windows binary of mod_jk inside httpd not
running as a service. I has to add "run as administator" to the binary although
the user already was in the administrator group.

I question the use of the global namespace. I can't see, why local should not
be enough plus local would make conflicts between multiple instances less
likely.

Do we see any reasons, why using Local\ insted of Global\ should not work (and
even be better)? Especially for IIS I don't know enough about the various
operating models.

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