[jboss-user] [JNDI/Naming/Network] - JBoss autocommit problem

Sherst do-not-reply at jboss.com
Thu Sep 18 08:00:51 EDT 2008


Hi all. After running my web application I get exception:
java.sql.SQLException: You cannot rollback with autocommit set!

My oracle-ds.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <datasources>
  | 
  |   <local-tx-datasource>
  |     <jndi-name>jdbc/alphaCommondoor</jndi-name>
  |     <connection-url>jdbc:oracle:thin:@gamma.app.kv.aval:1521:alfa</connection-url>
  |     <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
  |     <user-name>user</user-name>
  |     <password>password</password>
  |   </local-tx-datasource>
  | 
  | </datasources>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177383#4177383

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177383



More information about the jboss-user mailing list