Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WtH6d-0002BQ-Ba for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Jun 2014 13:56:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WtH6b-0003Ls-VF for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Jun 2014 13:56:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WtH6Z-0003Lj-Nj for pgsql-bugs@postgresql.org; Sat, 07 Jun 2014 13:56:19 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WtH6V-0003Y8-WE for pgsql-bugs@postgresql.org; Sat, 07 Jun 2014 13:56:17 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WtH6U-0003HG-Ju for pgsql-bugs@postgresql.org; Sat, 07 Jun 2014 06:56:14 -0700 Date: Sat, 7 Jun 2014 06:56:14 -0700 (PDT) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1402149374581-5806417.post@n5.nabble.com> In-Reply-To: <20140606054910.2711.3367@wrigleys.postgresql.org> References: <20140606054910.2711.3367@wrigleys.postgresql.org> Subject: Re: BUG #10545: The connection has been closed MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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.html 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