pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: XA transaction -- Linux v Windows
Date: Wed, 30 Jul 2014 13:52:38 -0700
Message-ID: <53D95B16.4060603@hogranch.com> (raw)
In-Reply-To: <CADyGkNS2hm8eV_1YqcRYGp6u5nTLMiYWGdiswdHKf4i8L6BEPQ@mail.gmail.com>
References: <CADyGkNS2hm8eV_1YqcRYGp6u5nTLMiYWGdiswdHKf4i8L6BEPQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 7/30/2014 1:42 PM, Dennis Gesker wrote:
> I have an application running in Glassfish using the 9.3-1102 JDBC 41 
> driver against pgsql 9.3. The install on Linux (Ubuntu) is installed 
> using the default configuration. Everything runs smoothly.
>
> I installed pgsql 9.3 on my Windows 8.1 workstation (again default 
> install) but I get errors similar to:
> ...
> Caused by: org.postgresql.util.PSQLException: ERROR: prepared 
> transaction with identifier 
> "4871251_BgAAAEfR84hkcmdXb3Jrc3RhdGlvbixzZXJ2ZXIsUDEwMA==_ZHJnV29ya3N0YXRpb24sc2VydmVyLFAxMDAsAQ==" 
> does not exist
> [snip]

what is max_prepared_transactions on both servers?

test=# show max_prepared_transactions ;
  max_prepared_transactions
---------------------------
  0
(1 row)


I believe 0 disables server-side prepared transactions.

-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (3+ messages)  latest in thread

Message-ID: <53D95B16.4060603@hogranch.com>
Permalink:  ../53D95B16.4060603@hogranch.com/
Also on:    postgresql.org/message-id/53D95B16.4060603@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: XA transaction -- Linux v Windows
  In-Reply-To: <53D95B16.4060603@hogranch.com>
  References: <CADyGkNS2hm8eV_1YqcRYGp6u5nTLMiYWGdiswdHKf4i8L6BEPQ@mail.gmail.com> <53D95B16.4060603@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox