[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ORA-02396: exceeded maximum idle time, please connect ag

PeterJ do-not-reply at jboss.com
Tue Nov 11 13:24:40 EST 2008


You could write a simple service that does a query every so often to keep the connection refreshed.

But there must be timeout either on the database (a default one, or perhaps in the JDBC driver) because the error message (ORA-02396) is an Oracle error message - JBossAS would never generate an Oracle error. If it is the driver, there should be a configuration option that you can set to change the driver timeout.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188552#4188552

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188552



More information about the jboss-user mailing list