tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo Jiménez <ljime...@nacion.co.cr>
Subject PLZ Help with "java.net.SocketException: Connection reset"
Date Mon, 30 Apr 2007 15:46:02 GMT
Hello.

I have this error over and over again, but I have no clue about its meaning or where to start?
Can anyone help me? After the error is my web.xml. I am using Tomcat 5.5.16.

Thanks very much,
Regards,

Lorenzo

ERROR
-----

2007-04-30 00:16:26,395 [http-198.64.153.30-80-Processor34] WARN  org.apache.catalina.core.ContainerBase.[Catalina].[registro.nacion.com]
- Exception Processing ErrorPage[errorCode=404, location=/paginanoexiste.jsp]
ClientAbortException:  java.net.SocketException: Connection reset
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:311)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
	at org.apache.catalina.connector.Response.flushBuffer(Response.java:537)
	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:286)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:769)
	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:125)
	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:579)
	at org.apache.coyote.Response.doWrite(Response.java:559)
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
	... 16 more

	
WEB.XML
-------

<?xml version="1.0" encoding="UTF-8"?>
<web-app 
	version="2.4" 
	xmlns="http://java.sun.com/xml/ns/j2ee" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <!-- ****************************************************** -->
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
            <param-name>config</param-name>
            <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <init-param>
            <param-name>debug</param-name>
            <param-value>2</param-value>
        </init-param>
        <init-param>
            <param-name>detail</param-name>
            <param-value>2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- ****************************************************** -->
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- ****************************************************** -->
    <!-- Session and access  -->
    <servlet-mapping>
        <servlet-name>NewServlet</servlet-name>
        <url-pattern>/NewServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>testCookies</servlet-name>
        <url-pattern>/testCookies</url-pattern>
    </servlet-mapping>
    <!-- ****************************************************** -->
    <!-- Manejo de errores en la ejecución -->
    <servlet>
        <servlet-name>ExceptionHandlerServlet</servlet-name>
        <servlet-class>com.nacion.excepciones.ExceptionHandlerServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>ExceptionHandlerServlet</servlet-name>
        <url-pattern>/ExceptionHandlerServlet</url-pattern>
    </servlet-mapping>
    <error-page>
        <exception-type>javax.servlet.ServletException</exception-type>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <exception-type>javax.servlet.ServletException</exception-type>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <error-code>400</error-code>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <error-code>401</error-code>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <error-code>403</error-code>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <error-code>404</error-code>
        <location>/paginanoexiste.jsp</location>
    </error-page>
    <error-page>
        <error-code>408</error-code>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <error-page>
        <error-code>500</error-code>
        <location>/ExceptionHandlerServlet</location>
    </error-page>
    <!-- ****************************************************** -->
    <!-- Manejo de la sesion y entrada al sistema -->
    <session-config>
        <session-timeout>15</session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- ****************************************************** -->
    <!-- Struts Tag Library Descriptors -->
    <jsp-config>
        <taglib>
            <taglib-uri>/tags/struts-bean</taglib-uri>
            <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/tags/struts-html</taglib-uri>
            <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
            </taglib>
        <taglib>
            <taglib-uri>/tags/struts-logic</taglib-uri>
            <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/tags/struts-nested</taglib-uri>
            <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/tags/struts-tiles</taglib-uri>
            <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
        </taglib>    
    </jsp-config>
    <!-- ****************************************************** -->
    <!-- Configuracion de Accesos -->
    <resource-ref>
        <res-ref-name>jdbc/WEB_SESSION</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>
</web-app>
___________________________________ 
Lorenzo Jiménez Briceño
Sistemas de Información, GN Grupo Nación
Tel: 247-4984,
Fax: 247-4195


Si usted no es el destinatario indicado en este mensaje o responsable como persona de la entrega
del mensaje, no debe copiar o reenviar este mensaje, por favor notifique al correo infosegura@nacion.com.
 Para más referencia sobre términos importantes relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for delivery of the
message to such person), you may not copy or send this message to anyone, please notify to
infosegura@nacion.com.  Click on the following link for important additional terms relating
to this e-mail http://www.nacion.com/disclaimer/index_en2.htm


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message