Hello everybody
I work on ASPLinux 7.2.
I installed:
- Apache/1.3.22 (Unix)
- mod_jk-ap13-1.2.0-1
- tomcat4-4.1.12
and configured:
- worker.property:
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
- server.xml:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
When I tried to start Tomcat, I received the following catalina.out:
"Starting service Tomcat-Standalone
Nov 26, 2002 7:52:31 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Nov 26, 2002 7:52:31 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/295
config=/var/tomcat4/conf/jk2.properties
StandardServer.await: Invalid command '' received
Nov 26, 2002 7:53:09 PM org.apache.jk.common.ChannelSocket
processConnection
WARNING: server has closed the current connection (-1)"
When I try to request I see NullPointerException
in the catalina.out like this:
" java.lang.NullPointerException
at
org.apache.coyote.tomcat4.CoyoteAdapter.log(CoyoteAdapter.java:624)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
java:230)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSo
cket.java:535)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)"
Where did I make a mistake? Help me, please.
--
Truly yours
Shcherbinko Ò.À.
I work on ASPLinux 7.2.
I installed:
- Apache/1.3.22 (Unix)
- mod_jk-ap13-1.2.0-1
- tomcat4-4.1.12
and configured:
- worker.property:
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
- server.xml:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
When I tried to start Tomcat, I received the following catalina.out:
"Starting service Tomcat-Standalone
Nov 26, 2002 7:52:31 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Nov 26, 2002 7:52:31 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/295
config=/var/tomcat4/conf/jk2.properties
StandardServer.await: Invalid command '' received
Nov 26, 2002 7:53:09 PM org.apache.jk.common.ChannelSocket
processConnection
WARNING: server has closed the current connection (-1)"
When I try to request I see NullPointerException
in the catalina.out like this:
" java.lang.NullPointerException
at
org.apache.coyote.tomcat4.CoyoteAdapter.log(CoyoteAdapter.java:624)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
java:230)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSo
cket.java:535)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)"
Where did I make a mistake? Help me, please.
--
Truly yours
Shcherbinko Ò.À.