[jboss-user] [JCA/JBoss] - Re: Datasource problem.

PeterJ do-not-reply at jboss.com
Wed Oct 15 13:57:47 EDT 2008


And which line is line 3534? Is it "rs.close();"?

Looks like you are closing your result sets in the finally block. Are you, by any chance, getting an exception, which is being catch by these lines:

}catch (Throwable e) {
  |   throw new ErpProxyDaoException (e);

I suspect that there was an issue earlier that caused an exception to be thrown before the result set was opened. But it appears that the connection was successfully open, which explains the "Closing a statement you left open, please do your own housekeeping " warning. Your "finally" block should have try/catch statements around each xxx.close() statement to prevent this.

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

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



More information about the jboss-user mailing list