Hi again.
Few more questions-
I'm using the Coyote connector, together with the mod_jk.It seems that apache(1.3.19) and tomcat(4.1.29) are connected succesfully.
But- when tomcat is started, the following message is printed to console:
"Dec 31, 2003 5:46:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:10001
Dec 31, 2003 5:46:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/221 config=D:\Sc\jt\conf\jk2.properties" even though I'm not using the JK2 at all.
The content of jk2.properties is all commented:
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
# shm.file=${jkHome}/work/jk2.shm
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
(I didn't touch this file, it is the default).
What should I do in order to avoid printing this message to console?
How can I move tomcat prints to log (instead of console)?
and one more question-
can I control the severity level of the prints? Can only ERROR messages(not INFO, WARNING etc.) be written to logs?
please advise
thanks again
keren.
Few more questions-
I'm using the Coyote connector, together with the mod_jk.It seems that apache(1.3.19) and tomcat(4.1.29) are connected succesfully.
But- when tomcat is started, the following message is printed to console:
"Dec 31, 2003 5:46:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:10001
Dec 31, 2003 5:46:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/221 config=D:\Sc\jt\conf\jk2.properties" even though I'm not using the JK2 at all.
The content of jk2.properties is all commented:
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
# shm.file=${jkHome}/work/jk2.shm
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
(I didn't touch this file, it is the default).
What should I do in order to avoid printing this message to console?
How can I move tomcat prints to log (instead of console)?
and one more question-
can I control the severity level of the prints? Can only ERROR messages(not INFO, WARNING etc.) be written to logs?
please advise
thanks again
keren.