Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integrate Tomcat 4.1.12 to Apache 1.3.22 on ASPLinux

Status
Not open for further replies.

BalBesInA

Programmer
Nov 27, 2002
1
RU
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=&quot;org.apache.coyote.tomcat4.CoyoteConnector&quot;
port=&quot;8009&quot; minProcessors=&quot;5&quot; maxProcessors=&quot;75&quot;
enableLookups=&quot;true&quot; redirectPort=&quot;8443&quot;
acceptCount=&quot;10&quot; debug=&quot;0&quot; connectionTimeout=&quot;20000&quot;
useURIValidationHack=&quot;false&quot;

protocolHandlerClassName=&quot;org.apache.jk.server.JkCoyoteHandler&quot;/>

When I tried to start Tomcat, I received the following catalina.out:

&quot;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)&quot;

When I try to request I see NullPointerException

in the catalina.out like this:

&quot; 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)&quot;

Where did I make a mistake? Help me, please.

--
Truly yours
Shcherbinko Ò.À.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top