Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2006, 07:58 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default tomcat error

My application developed on struts, tomcat and MySQL.
Tomcat is displaying the following error :

Mar 4, 2006 8:39:50 AM org.apache.struts.legacy.GenericDataSource getConnection
INFO: getConnection()
Mar 4, 2006 8:39:50 AM org.apache.struts.legacy.GenericDataSource getConnection
INFO: Check for timeout, activeCount=2, useCount=0
Mar 4, 2006 8:39:50 AM org.apache.struts.legacy.GenericDataSource getConnection
INFO: Found available connection
Mar 4, 2006 8:39:50 AM org.apache.struts.legacy.GenericDataSource getConnection
INFO: Return allocated connection, activeCount=2, useCount=1
Error: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
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 com.mysql.jdbc.util.ReadAheadInputStream.fill(Read AheadInputStream.java:104)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromU nderlyingStreamIfNecessary(R eadAheadInputStream.java:144)
at com.mysql.jdbc.util.ReadAheadInputStream.read ReadAheadInputStream.java:172)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1839 )
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO. java:2288)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2784)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:15 31)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java :1622)
at com.mysql.jdbc.Connection.execSQL(Connection.java: 2370)
at com.mysql.jdbc.Connection.execSQL(Connection.java: 2297)
at com.mysql.jdbc.Statement.executeQuery(Statement.ja va:1183)
at com.its.struts.dao.LoginDAO.returnCount(LoginDAO.j ava:138)
at com.its.struts.action.LoginFormAction.execute(Logi nFormAction.java:88)
at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcesso r.java:484)
at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFi lterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChai n.java:157)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java :214)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext. java:104)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextVa lve.java:198)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java :152)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext. java:104)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext. java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext. java:102)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:1 09)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext. java:104)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnect ion(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java: 683)
at java.lang.Thread.run(Thread.java:536)
** END NESTED EXCEPTION **






Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat error kaushiksamaddar Apache Tomcat 2 April 4th, 2007 08:55 AM
Chapter 5 example 1 tomcat error bozokhun BOOK: Beginning JavaServer Pages 0 March 28th, 2007 04:51 AM
Tomcat Connection error venkatachar Servlets 0 December 16th, 2004 06:52 AM
Tomcat set up error vaithise Apache Tomcat 2 August 3rd, 2004 12:55 AM
Unfixable Tomcat Error ! pkhann1 Apache Tomcat 1 May 18th, 2004 10:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.