DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27222>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27222 Jk2: error mmapping shm file leads to workerEnv.init() create slot epStat.0 failed on Apache 1.3 Summary: Jk2: error mmapping shm file leads to workerEnv.init() create slot epStat.0 failed on Apache 1.3 Product: Tomcat 5 Version: 5.0.18 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Native:JK AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The actual bug is that JK2 on Apache 1.3 on Win2K encounters an error when creating the shared memory file. The log file simply says: [jk_shm.c (358)]: shm.create(): error mmapping c:/servers/apache/logs/jk2.shm I have seen the shm file working without problems on apache 2.0 and not working on apache 1.3, on the same machine with the same tomcat version. This in turn leads to further errors when requests start comming in: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed .. because this requires shared memory. I have seen a number of reports of the first error online, but nobody seems to have a solution. I have also seen many people with the second problem, and not many people realize that it is often a result of the first problem... Fortunately there is a workaround: set shm.disabled=1. The details: Tomcat 5.0.18 Apache 1.3.29 JK2 2.0.2 (mod_jk2-1.3.27.dll) My config file: [shm] file=${serverRoot}/logs/jk2.shm size=1048576 [channel.socket:localhost:8009] [uri:/examples/*] The log output: [Wed Feb 25 13:49:23 2004] (error) [jk_shm.c (358)]: shm.create(): error mmapping c:/servers/apache/logs/jk2.shm [Wed Feb 25 13:49:53 2004] (error) [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed [Wed Feb 25 13:49:53 2004] (error) [jk_worker_lb.c (402)]: lb.service() worker failed 21000 for ajp13:localhost:8009 [Wed Feb 25 13:49:53 2004] (error) [jk_worker_lb.c (415)]: lb.service() unrecoverable error... [Wed Feb 25 13:49:53 2004] (error) [mod_jk2.c (427)]: mod_jk.handler() Error connecting to tomcat 21000 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]