pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #10545: The connection has been closed
Date: Sat, 7 Jun 2014 06:56:14 -0700 (PDT)
Message-ID: <1402149374581-5806417.post@n5.nabble.com> (raw)
In-Reply-To: <20140606054910.2711.3367@wrigleys.postgresql.org>
References: <20140606054910.2711.3367@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

surbhu06 wrote
> The following bug has been logged on the website:
> 
> Bug reference:      10545
> Logged by:          Suraj Sunar
> Email address:      

> surbhu06@

> PostgreSQL version: 9.1.13
> Operating system:   Window/linux
> Description:        
> 
> Dear Team,
> We are migrating database from oracle to postgres and its all done by now.
> But we are facing problem after multiple logins.
> 
> All transaction is working fine but suddenly the connection get closed.
> Kindly help in the matter. 
> 
> 
> 17:11:40,424 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/bvm].[faces]]
> Servlet.service() for servlet faces threw exception:
> org.postgresql.util.PSQLException: This connection has been closed.
> 	at
> org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:714)
> [:]
> 	at
> org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:274)

With the limited info provided my best guess is that you are improperly
sharing connections between threads.

David J.



--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-10545-The-connection-has-been-closed-tp5806351p5806417.h...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.


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



view thread (3+ messages)

Message-ID: <1402149374581-5806417.post@n5.nabble.com>
Permalink:  ../1402149374581-5806417.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1402149374581-5806417.post@n5.nabble.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-bugs@postgresql.org
  Cc: david.g.johnston@gmail.com
  Subject: Re: BUG #10545: The connection has been closed
  In-Reply-To: <1402149374581-5806417.post@n5.nabble.com>
  References: <20140606054910.2711.3367@wrigleys.postgresql.org> <1402149374581-5806417.post@n5.nabble.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