Jure,
Something just occured to me as I was working on this. Do you close the 
connection that you get from the datasource? I seem to recall that we've 
seen similiar errors when connections are left open through a rollback. 
You might still get a rollback exception at the client, but the 
transaction may then rollback, if this is the same issue. The 'close' 
should be done in a finally clause at the end of your try. You should 
also close all ResultSet objects and Statement objects (preferebly in 
the order ResultSet, Statement, Connection). Often projects will define 
various static cleanuup methods in a utility class that do all of the 
null-checking and catch the SQLExceptions that the various close methods 
are declared as throwing (not that you can do much about a SQLException 
from a close() method)

-danch

danch wrote:

> Jure Lodrant wrote:
> 
>> Dne sobota 07 julij 2001 04:25 ste napisali:
>> 
>>> Jure, sorry if you see this twice, sourceforge has decided to not like
>>> my mail account so I've sent this directly to you in addition to trying
>>> to send to the list.
>>> 
>>> If you look at the server.log file in the log directory, you should see
>>> the server-side version of that stack trace. That should tell us more of
>>> what is going on when this fails.
>>> 
>>> thanks,
>>> danch
>>> 
>> 
>> 
>> 
>> Maybe you've hit the problem now. There is no server side stack trace. 
>> No exception is logged in the server console.
>> 
>> calling rollback on the user transaction or on the datasource 
>> conenction object throws an exception on the client, but nothing 
>> happens on the server...
>> 
> 
> OK, I'll work on duplicating this and see if I can figure out what's 
> going wrong.
> 
> -danch
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to