Hi, there:
I'm sorry, actually, this warning information was issued when a line is called to
close the connection. Which means it happens when
"con.close()" was called. So, I just re-describe my problem below:
I have an application to use jboss2.4.8, which keeps getting datasource,
dataconnection by calling:
DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS");
and
con = ds.getConnection();
.......
if(resultSet != null) resultSet.close();
if(statement != null) statement.close();
if(con != null) con.close();
It seems that whenever I call "con.close()", it gives me the warning information like:
XAConnectionImpl: [EMAIL PROTECTED] has no current tx!
Could anyone please tell me:
1. what does that warning information mean?
2. what can I do to get rid of this warning? (I can filter that warning from my log
file by changing log4j.properties, but, just doubt if anything wrong in my code).
Thanks a lot
David Chen
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847095#3847095
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847095
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user