Hi. I have some problem executing servlet examples provided in tomcat
using the tomcat connector.
 
I am using tomcat 5.0.28, IIS 5.1 and just manage to install
isapi_redirect.dll.
 
I manage to execute the servlet examples using
http://localhost:8080/servlet-examples, thru tomcat directly.
 
I manage to view http://localhost/servlet-examples/index.html, but i
can't execute the servlet examples. there's one request parameters
example. When i click on "Submit Query", the next page show "The page
cannot be displayed". 
 
I checked the isapi.log file, it shows:
[/servlets-examples/servlet/RequestParamExample] is a servlet url -
should redirect to ajp13
Maintaining worker ajp13
jk_worker.c (111): found a worker ajp13
jk_isapi_plugin.c (1018): got a worker for name ajp13
jk_ajp_common.c (2131): acquired connection cache slot=0
jk_ajp_common.c (566): ajp marshaling done
jk_ajp_common.c (1670): processing with 3 retries
jk_connect.c (328): socket TCP_NODELAY set to On
jk_connect.c (426): trying to connect socket 1912 to 127.0.0.1:8009
jk_connect.c (452): socket 1912 connected to 127.0.0.1:8009
jk_ajp_common.c (864): Connected socket 1912 to
(127.0.0.1:8009)jk_ajp_common.c (909): sending to ajp13 pos=4 len=564
max=8192
....
jk_ajp_common.c (1261): request body to send 28 - request body to resend
0
[error] jk_isapi_plugin.c (604): ReadClient failed with 0000274c
jk_ajp_common.c (1118): Receiving data from client failed. Connection
aborted or network problems
jk_ajp_common.c (1741): Sending request to tomcat failed, because of
client error without recovery in send loop 0
jk_isapi_plugin.c (1031): service() returned OK
jk_ajp_common.c (2074): recycling connection cache slot=0 for worker
ajp13

and the stdout.log shows:
org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request 
java.io.IOException
 at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
 at
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:50
0)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
675)
 at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
 at java.lang.Thread.run(Thread.java:534)
 
May I know how to correct this problem? Is there any configuration that
i need to set?
Or has anyone successfully execute servlet examples using tomcat
connector?
Appreciate any help. Thank you.
 
regards,
zl

Reply via email to