I use WL 8.1 on Win 2000.
I am getting the following error:
Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.
Following is the code :
ctx = new InitialContext();
String datasource = (String)ctx.lookup("java:comp/env/dataSourceName");
ds = (DataSource)ctx.lookup(datasource);
Can anybody enlighten me what's going on here ? Am I using distributed transaction ? I think I am not....then why am I getting this errors for Connection.commit ?
Thanks in advance
-Anand.