Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
SocketException - JK2, Tomcat 4.1.29, IIS 5.1

SocketException - JK2, Tomcat 4.1.29, IIS 5.1

2004-01-08       - By Frank Febbraro

 Back
Reply:     1     2  

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 Source code of 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 Source code of java.io.BufferedInputStream(BufferedInputStream.java:183)
       at java.io.BufferedInputStream Source code of java.io.BufferedInputStream(BufferedInputStream.java:222)
       at java.io.BufferedInputStream Source code of java.io.BufferedInputStream(BufferedInputStream.java:277)
       at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:548)
       at
org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:486)
       at
org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:603)
       at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
       at
org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:666)
       at java.lang.Thread Source code of java.lang.Thread(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 Source code of org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException Source code of 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 Source code of java.io.BufferedInputStream(BufferedInputStream.java:183)
       at java.io.BufferedInputStream Source code of java.io.BufferedInputStream(BufferedInputStream.java:222)
       at java.io.BufferedInputStream Source code of java.io.BufferedInputStream(BufferedInputStream.java:277)
       at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:548)
       at
org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:486)
       at
org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:603)
       at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
       at
org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:666)
       at java.lang.Thread Source code of java.lang.Thread(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 (See http://cat-4.ora-code.com).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 (See http://cat-4.ora-code.com).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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




©2008 junlu.com - Jax Systems, LLC, U.S.A.