pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #10545: The connection has been closed
3+ messages / 3 participants
[nested] [flat]

* BUG #10545: The connection has been closed
@ 2014-06-06 05:49 surbhu06@gmail.com
  2014-06-07 07:59 ` Re: BUG #10545: The connection has been closed Michael Paquier <michael.paquier@gmail.com>
  2014-06-07 13:56 ` Re: BUG #10545: The connection has been closed David G Johnston <david.g.johnston@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: surbhu06@gmail.com @ 2014-06-06 05:49 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      10545
Logged by:          Suraj Sunar
Email address:      surbhu06@gmail.com
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)
[:]
	at
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:467)
[:6.1.0.Final]
	at
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:462)
[:6.1.0.Final]
	at
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:253)
[:6.1.0.Final]
	at
com.ultimatix.framework.jsf.util.UserProfile.registerProfile(UserProfile.java:55)
[:]
	at
com.ultimatix.framework.jsf.util.UserBean.validateLoginPage(UserBean.java:560)
[:]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_22]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[:1.6.0_22]
	at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_22]
	at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
[:1.1.5]
	at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
[:1.1.5]
	at javax.faces.component.UICommand.broadcast(UICommand.java:109) [:1.1.5]
	at
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
[:1.1.1]
	at
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
[:1.1.1]
	at
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:346)
[:1.1.1]



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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #10545: The connection has been closed
  2014-06-06 05:49 BUG #10545: The connection has been closed surbhu06@gmail.com
@ 2014-06-07 07:59 ` Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2014-06-07 07:59 UTC (permalink / raw)
  To: surbhu06@gmail.com; +Cc: pgsql-bugs

On Fri, Jun 6, 2014 at 2:49 PM,  <surbhu06@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      10545
> Logged by:          Suraj Sunar
> Email address:      surbhu06@gmail.com
> 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.
This is not a bug related to Postgres itself. Btw, with the limited
amount of information you are providing, it is hard to guess why this
connection is being closed. You should have a look at your server logs
and check what is happening there. More verbose logging like setting
log_connections to on would be helpful to spot your problem.
-- 
Michael


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #10545: The connection has been closed
  2014-06-06 05:49 BUG #10545: The connection has been closed surbhu06@gmail.com
@ 2014-06-07 13:56 ` David G Johnston <david.g.johnston@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: David G Johnston @ 2014-06-07 13:56 UTC (permalink / raw)
  To: pgsql-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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-06-07 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06 05:49 BUG #10545: The connection has been closed surbhu06@gmail.com
2014-06-07 07:59 ` Michael Paquier <michael.paquier@gmail.com>
2014-06-07 13:56 ` David G Johnston <david.g.johnston@gmail.com>

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