In worker2.properties I changed the following and the errors disappeared:

I added keepalive=0 (supposedly the default) to the channel.socket so it now
looks like this

# IP socket channel
#
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
keepalive=0

There is no field description on this page.
http://projects.accessibilityforum.org/tomcat-docs/jk2/jk2/configwebcom.html

But it worked so I guess that is good.

Frank

----- Original Message ----- 
From: "Frank Febbraro" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 10:43 AM
Subject: SocketException - JK2, Tomcat 4.1.29, IIS 5.1


> When accessing pages on my Tomcat server via IIS and isapi_redirector2.dll
I
> get the following errors on every page request.
>
> The errors below are for a simple page invokation like
> http://localhost/asis/index.jsp
>
> Each page is returned successfully, but there are reams of errors
generated.
>
> Thanks for any help. I have included the catalina.out, isapi.log,
> jk2.properties and workers2.properties file.
>
> Thanks again,
> Frank
>
> In the TOMCAT LOG I get:
>
> SEVERE: Error, processing connection
> java.net.SocketException: Software caused connection abort: recv failed
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:129)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
>         at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548)
>         at
> org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486)
>         at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:603)
>         at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:666)
>         at java.lang.Thread.run(Thread.java:536)
> StandardContext[/asis]:  Mapped to servlet 'default' with servlet path
> '/includes/style.css' and path info 'null' and update=true
> Jan 8, 2004 10:23:06 AM org.apache.jk.common.ChannelSocket
processConnection
> SEVERE: Error, processing connection
> java.net.SocketException: Software caused connection abort: recv failed
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:129)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
>         at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548)
>         at
> org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486)
>         at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:603)
>         at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:666)
>         at java.lang.Thread.run(Thread.java:536)
>
> In the ISAPI LOG I get:
> [Thu Jan 08 10:23:06 2004] (error ) [jk_worker_ajp13.c (341)]
> ajp13.service() error sending, reconnect channel.socket:localhost:8009 -1
0
> No error
> [Thu Jan 08 10:23:06 2004] (error ) [jk_service_iis.c (157)]
> jk_ws_service_t::head, ServerSupportFunction failed
> [Thu Jan 08 10:23:06 2004] (error ) [jk_handler_response.c (178)]
> handler.response() Error sending response[Thu Jan 08 10:23:06 2004]
(error )
> [jk_worker_ajp13.c (416)]  ajp13.service() ajpGetReply recoverable error 3
> [Thu Jan 08 10:23:06 2004] (error ) [jk_service_iis.c (157)]
> jk_ws_service_t::head, ServerSupportFunction failed
> [Thu Jan 08 10:23:06 2004] (error ) [jk_handler_response.c (178)]
> handler.response() Error sending response[Thu Jan 08 10:23:06 2004]
(error )
> [jk_worker_ajp13.c (416)]  ajp13.service() ajpGetReply recoverable error 3
> [Thu Jan 08 10:23:06 2004] (error ) [jk_worker_ajp13.c (512)]
> ajp13.service() Error  forwarding ajp13:localhost:8009 1 0
>
> My jk2.properties file:
>
> # Handler configuration
> #
> handler.list=request,container,channelSocket
>
> # Socket configuration
> #
> channelSocket.port=8009
> channelSocket.address=127.0.0.1
> channelSocket.maxPort=port+10
>
>
> My workers2.properties file:
> # shared memory
> #
> [shm]
> file=D:/tomcat-4.1.29/work/shm.file
> size=1048576
>
> # alternate logging to keep mod_jk2 logging separate from IIS logging
> #
> [logger.file:0]
> file=D:/tomcat-4.1.29/logs/jk2.log
> [workerEnv:]
> info=Global server options
> timing=1
> debug=0
> logger=logger.file:0
>
> # IP socket channel
> #
> [channel.socket:localhost:8009]
> port=8009
> host=127.0.0.1
>
> # define the ajp13 worker
> #
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
>
> # Uri mapping examples - jsp files only
> #
> [uri:/asis/*]
> worker=ajp13:localhost:8009
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to