> From: SH Solutions > > > Also if I understood you correctly, you've created the shm > file? Why? > > Because it was mentioned to do so on one of the very few > really helpful > pages: > http://cymulacrum.net/writings/tomcat5/c831.html#JK2_BUILD_MOD_JK2 >
That's quite outdated. In 2.0.4 we've moved to APR, and rewrote the shm logic completely. > > Also, the preferred way of using shm is using 'anonymous' > for shm file > name. > > Doing that will use the anonymous shared memory instead file based. > > The > file based is only for the platforms that lack the anon shm support. > > Does this work on debian? What do I have to set in > workers2.properties? [shm] file=anonymous It works on all linuxes, bsd, solaris 2.8+, aix, etc... > I would pefer not to specify it anyway. > Why? The shm is only used for IPC, and the best way to do that is to leave that to OS. Just imagine it as a shared memory segment. It is created when the jk2 is initialized and destoyed on exit, so the file is just the overhead for those old OS-es. MT. > This leaves only one problem open: > How to tell tomcat to use unix sockets to talk to mod_jk2 ? > I know how to set up mod_jk2 for this, but I don't know how > to specify the socket in tomcat. > Unix sockets like JNI is platform specific, IMO wasn't touched in 2.0.4. MT. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]