Thread: SQLException - SET AUTOCOMMIT TO OFF is no longer supported

SQLException - SET AUTOCOMMIT TO OFF is no longer supported

From
"Dinesh Pandey"
Date:
<div class="Section1"><p class="MsoNormal"><font face="Verdana" size="2"><span style="font-size:10.0pt;
font-family:Verdana">I have created datasource but getting this error on JBOSS startup.</span></font><p
class="MsoNormal"><b><fontface="Verdana" size="2"><span style="font-size:10.0pt; 
font-family:Verdana;font-weight:bold"> </span></font></b><p class="MsoNormal"><b><font face="Verdana" size="2"><span
style="font-size:10.0pt;
font-family:Verdana;font-weight:bold">Using:</span></font></b><font face="Verdana" size="2"><span
style="font-size:10.0pt;font-family:Verdana">PostgreSQL 8.0</span></font><p class="MsoNormal"><b><font face="Verdana"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Verdana;font-weight:bold">JBOSS</span></font></b><font face="Verdana" size="2"><span
style="font-size:10.0pt;font-family:Verdana">:JBOSS-3.2.6</span></font><p class="MsoNormal"><font face="Verdana"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Verdana"> </span></font><p class="MsoNormal"><font face="Verdana" size="2"><span style="font-size:10.0pt;
font-family:Verdana">16:09:37,093 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257,
GlobalId=dinesh//1,BranchQual=] errorCode=XA_UNKNOWN(0)</span></font><p class="MsoNormal"><font face="Verdana"
size="2"><spanstyle="font-size:10.0pt; 
font-family:Verdana">org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; -
nestedthrowable: (org.jboss.resource.JBossResourceException: </span></font><p class="MsoNormal"><b><font color="blue"
face="Verdana"size="2"><span style="font-size:10.0pt;font-family:Verdana;color:blue;font-weight:bold">SQLException; -
nestedthrowable: (java.sql.SQLException: ERROR:  SET AUTOCOMMIT TO OFF is no longer supported</span></font></b><p
class="MsoNormal"><fontface="Verdana" size="2"><span style="font-size:10.0pt; 
font-family:Verdana">))</span></font><p class="MsoNormal"><font face="Verdana" size="2"><span style="font-size:10.0pt;
font-family:Verdana">        at
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:654)</span></font><p
class="MsoNormal"><fontface="Verdana" size="2"><span style="font-size:10.0pt; 
font-family:Verdana">        at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)</span></font><p
class="MsoNormal"><fontface="Verdana" size="2"><span style="font-size:10.0pt; 
font-family:Verdana"> </span></font><p class="MsoNormal"><font face="Verdana" size="2"><span style="font-size:10.0pt;
font-family:Verdana">        at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)</span></font><p
class="MsoNormal"><fontface="Verdana" size="2"><span style="font-size:10.0pt; 
font-family:Verdana"> </span></font><p><font face="Verdana" size="2"><span style="font-size:10.0pt">Thanks<br /> Dinesh
Pandey</span></font><pclass="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 
12.0pt"> </span></font></div>

Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported

From
"Dinesh Pandey"
Date:

After using correct version of JDBC driver I am able to start JBOSS server.

 

Thanks
Dinesh Pandey


 

I have created datasource but getting this error on JBOSS startup.

 

Using: PostgreSQL 8.0

JBOSS: JBOSS-3.2.6

 

16:09:37,093 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=dinesh//1, BranchQual=] errorCode=XA_UNKNOWN(0)

org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; - nested throwable: (org.jboss.resource.JBossResourceException:

SQLException; - nested throwable: (java.sql.SQLException: ERROR:  SET AUTOCOMMIT TO OFF is no longer supported

))

        at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:654)

        at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)

 

        at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)

 

Thanks
Dinesh Pandey

 

Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported

From
"Russell Simpkins"
Date:

 

16:09:37,093 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=dinesh//1, BranchQual=] errorCode=XA_UNKNOWN(0)

org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; - nested throwable: (org.jboss.resource.JBossResourceException:

SQLException; - nested throwable: (java.sql.SQLException: ERROR:  SET AUTOCOMMIT TO OFF is no longer supported

))

        at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:654)

        at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)

 

        at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)

 

Thanks
Dinesh Pandey

Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported

From
"Russell Simpkins"
Date:
 

I have created datasource but getting this error on JBOSS startup.

 

Using: PostgreSQL 8.0

JBOSS: JBOSS-3.2.6

 

16:09:37,093 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=dinesh//1, BranchQual=] errorCode=XA_UNKNOWN(0)

org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; - nested throwable: (org.jboss.resource.JBossResourceException:

SQLException; - nested throwable: (java.sql.SQLException: ERROR:  SET AUTOCOMMIT TO OFF is no longer supported

))

        at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:654)

        at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)

 

        at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)

 

Thanks
Dinesh Pandey

I think you need to get a more up to date version of your JDBC Driver

Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported

From
"Joel Fradkin"
Date:

I am getting ready to start using jboss with postgres (newer to jboss then postgres).

Is there a mailing list for java postgres support?

Can you post the connection elements for JBOSS or is that something documented in the JDBC driver?

 

Joel Fradkin

 

Wazagua, Inc.
2520 Trailmate Dr
Sarasota, F
lorida 34243
Tel.  941-753-7111 ext 305

 

jfradkin@wazagua.com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
© 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc
 This email message is for the use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message, including attachments.

 


 

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Dinesh Pandey
Sent: Wednesday, August 24, 2005 7:22 AM
To: 'PostgreSQL'
Subject: Re: [SQL] SQLException - SET AUTOCOMMIT TO OFF is no longer supported

 

After using correct version of JDBC driver I am able to start JBOSS server.

 

Thanks
Dinesh Pandey


 

I have created datasource but getting this error on JBOSS startup.

 

Using: PostgreSQL 8.0

JBOSS: JBOSS-3.2.6

 

16:09:37,093 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=dinesh//1, BranchQual=] errorCode=XA_UNKNOWN(0)

org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; - nested throwable: (org.jboss.resource.JBossResourceException:

SQLException; - nested throwable: (java.sql.SQLException: ERROR:  SET AUTOCOMMIT TO OFF is no longer supported

))

        at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:654)

        at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)

 

        at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)

 

Thanks
Dinesh Pandey