tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjib Mulepati <anji...@hotmail.com>
Subject Re: DB Connection error
Date Mon, 09 Jan 2012 16:00:54 GMT
com.anjib.exceptions.ICDAOException: Error in your database.
     at com.anjib.actions.GetMyListAction.execute(GetMyListAction.java:71)
     at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
     at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
     at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
org.apache.catalina.valves.RequestDumperValve.invoke(RequestDumperValve.java:151)
     at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
     at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
     at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
     at java.lang.Thread.run(Thread.java:619)
Caused by: com.anjib.exceptions.ICDAOException: No more data to read 
from socket
     at com.anjib.dao.oracle.Table1DAO.getAll(Table1DAO.java:206)
     at com.anjib.actions.GetMyListAction.execute(GetMyListAction.java:65)
     ... 20 more
Caused by: java.sql.SQLRecoverableException: No more data to read from 
socket
     at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1142)
     at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1099)
     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:288)
     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
     at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
     at 
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:863)
     at 
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
     at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
     at 
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1477)
     at 
oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:392)
     at 
org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
     at com.anjib.dao.oracle.Table1DAO.getAll(Table1DAO.java:197)
     ... 21 more

On 1/9/2012 10:33 AM, Chema wrote:
> 2012/1/9 Anjib Mulepati<anjibcs@hotmail.com>:
>> I did change my config.xml to
>>
>>
>> <Context antiJARLocking="true" path="/myApp">
>> <Resource auth="Container"
>>             driverClassName="oracle.jdbc.driver.OracleDriver"
>>             maxActive="20"
>>             maxIdle="10"
>>             maxWait="-1"
>>             name="jdbc/myName"
>>             password="myPassword"
>>             testOnBorrow="true"
>>
>>             type="javax.sql.DataSource"
>>             url="jdbc:oracle:thin:@//localhost:8080/MYDBS"
>>             username="myUsername"
>>             validationQuery="SELECT 1 FROM DUAL" />
>> </Context>
>>
> Can you attach error trace ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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