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

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: <dpandey(at)secf(dot)com>, "'PostgreSQL'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported
Date: 2005-08-24 12:42:49
Message-ID: 001b01c5a8a9$5667a6a0$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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, Florida 34243
Tel. 941-753-7111 ext 305

jfradkin(at)wazagua(dot)com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
C 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(at)postgresql(dot)org [mailto:pgsql-sql-owner(at)postgresql(dot)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.sta
rt(TxConnectionManager.java:654)

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

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

Thanks
Dinesh Pandey

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bo Lorentsen 2005-08-24 12:50:07 Re: Number of rows in a cursor ?
Previous Message John DeSoi 2005-08-24 12:08:22 Re: Number of rows in a cursor ?