I'm trying to better understand what options my tomcat setup has that it may not need.
Here is pertinent starting information from catalina.out
Can someone explain what each of these lines mean?


Apr 19, 2004 5:59:13 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Apr 19, 2004 5:59:13 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Apr 19, 2004 5:59:15 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
[Mon Apr 19 05:59:23 2004] ( info ) [jk_config_file.c (320)] cfg.update() Updating config /etc/httpd/conf/workers2.properties 0 1079026848
[Mon Apr 19 05:59:23 2004] ( info ) [jk_config_file.c (331)] config.setConfig(): Reading properties /etc/httpd/conf/workers2.properties 31
Apr 19, 2004 5:59:23 AM org.apache.jk.apr.AprImpl init
INFO: JK2: Initialized apr
Apr 19, 2004 5:59:23 AM org.apache.jk.common.ChannelUn init
INFO: JK: listening on unix socket: /usr/local/jakarta-tomcat/work/jk2.socket
Apr 19, 2004 5:59:23 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 19, 2004 5:59:23 AM org.apache.jk.common.ChannelJni init
INFO: JK2: listening on channel.jni:jni
Apr 19, 2004 5:59:23 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/307 config=/usr/local/jakarta-tomcat/conf/jk2.properties
Starting service Tomcat-Apache


I'm especially wondering if I need to jave apr, JK and JK2 running. I was trying to only use JK2 with unixSockets... maybe that isn't what is actually happening, eh?
Can I disable JNI?
How do I use just JK or JK2?


The examples for setting up jk / jk2 are not very clear as to what does what and what the options are...
I know that most of the time the examples are trying to be inclusive for everything on all platforms, but what that ends up meaning is that it is hard to see what someone wants specifically for a specific platform. In my case, I just want the fastest and least buggy connection between apache 2 and tomcat 4 on RedHat Linux 9. I'm sure that enough people have that configuration that it would seem that you could find a specific example of how to set that up without including everyone else's possible configurations in the same doc.


Anyway here is my jk2.properties:
channelUnix.file=/usr/local/jakarta-tomcat/work/jk2.socket
shm.file=/usr/local/jakarta-tomcat/work/jk2.shm
handler.list=apr,channelUnix,request
channelJni.disabled = 0
apr.NativeSo=/usr/local/jakarta-tomcat/server/lib/jkjni.so

What defaults are set besides those that I've got here?

Thanks for your help!
Daniel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to