The problem here was in the closing of the connection. It was done as follows:
finally {
try {
prepStmt.close();
result.close();
conn.close();
}
catch (Exception e) {
// ignore
}
}
The problem was that the result.close() should come before the prepared
statement close - because infact the resultset gets closed when the prepared
statement is closed and i was getting an exception when trying to close (an
already closed) result set. Although this is logical, i'm not sure why the
behaviour differs between deployments?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951311#3951311
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951311
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user