I am using the WebObjects EOF framework for developing my applications I deploy with jboss. This framework uses the data source connection described in my postgres-ds.xml. Since upgrading from jboss-4.0.3.SP1 to jboss-4.0.4.GA I am getting the ResultSet already closed exception. I have seen others say the problem occurs because the ResultSet is being closed AFTER instead of BEFORE the Statement is closed.
Unfortunately for me, this code occurs in the framework and is beyond my control. If jboss insists on throwing an exception in this instance, I am afraid I will be prevented from using jboss-4.0.4 or I will have to start using the framework for creating its own jdbc connections, bypassing the jboss data source connections.