https://issues.apache.org/bugzilla/show_bug.cgi?id=47678
Summary: Unable to allocate shared memory when using isapi_redirect.dll as an extension and filter Product: Tomcat Connectors Version: 1.2.28 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: isapi AssignedTo: dev@tomcat.apache.org ReportedBy: brett.prucha....@scrb.navy.mil --- Comment #0 from brett.prucha....@scrb.navy.mil 2009-08-11 12:21:00 PDT --- Created an attachment (id=24128) Added shm_id parameter to fix memory allocation on Win 2k and IIS 5 In Windows 2000 Server with IIS 5.0 when you load the dll as an extension and a filter, you will get the following error in the connector logs: [error] jk_isapi_plugin.c (2540): Initializing shm:(null) errno=-1. Load balancing workers will not function properly. This error occurs becuse the call to CreateFileMapping fails when trying to open a file with the same name. This error does not occur on Windows 2003 and IIS 6 (I assume due to the way application pools are allocated). To resolve this issue I added a shm_id parameter which is added to the end of the shm_name to make the name unique. If their is a way to have a global counter that gets updated each time the dll is loaded, that would work also. -- 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