Hi,
i develop a web application on WebSphere 5.1 and every night the db server goes down for backup. after that on every sql call i get
until i reboot the webapp.Code:org.springframework.dao.DataAccessResourceFailureException: PreparedStatementCallback; SQL [SELECT * FROM foo where bar order by foobar desc]; Io exception: There is no process to read data written to a pipe.; nested exception is java.sql.SQLException: Io exception: There is no process to read data written to a pipe. org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:231) org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java(Compiled Code)) org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java(Compiled Code)) org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java(Inlined Compiled Code)) org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java(Inlined Compiled Code)) org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java(Inlined Compiled Code)) org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java(Inlined Compiled Code)) org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java(Compiled Code))
my question is how do i get spring to reconnect to my oracle DB.
cheerio
gabe


Reply With Quote