I'm using Apache 2.2.11 with the worker mpm. Apache always seems to initialize it's modules twice, but when I compile mod_jk statically this seems to cause problems for mod_jk: [info] init_jk::mod_jk.c (3018): mod_jk/1.2.27 initialized [warn] init_jk::mod_jk.c (2991): The optimal shared memory size can now be determined automatically. [warn] init_jk::mod_jk.c (2993): You can remove the JkShmSize directive if you want to use the optimal size. [info] init_jk::mod_jk.c (3018): mod_jk/1.2.27 initialized If I compile mod_jk as a module the warning does not appear. It seems mod_jk can't tell if it has been initialized already so this can cause problems elsewhere.
Fixed in the SVN.
Will be part of 1.2.29.