Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat connector for IIS 5.1 error executing servlet example  RSS feed

zelynn goay
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
jk_connect.c (452): socket 1912 connected to
jk_ajp_common.c (864): Connected socket 1912 to ( (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
at org.apache.jk.common.JkInputStream.receive(
at org.apache.jk.common.HandlerRequest.decodeRequest(
at org.apache.jk.common.HandlerRequest.invoke(
at org.apache.jk.common.ChannelSocket.invoke(
at org.apache.jk.common.ChannelSocket.processConnection(
at org.apache.jk.common.SocketConnection.runIt(
at org.apache.tomcat.util.threads.ThreadPool$

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!