<div dir="ltr">hi,<div><br></div><div>could you share us the configuration of the datasource, are you using XA datasource or non-XA ? in case of use of XA did you configured max_prepared_transactions on all your database server ? also did you configured the validation query of your datasoucer ?</div><div><br></div><div>Regards </div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 9 ene. 2019 a las 10:33, Sylvie Pruvot (<<a href="mailto:sylvie.halat@gmail.com">sylvie.halat@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Thanks for reply<br>We don't have error when application server is connected directly ti Postgresql.<br>Today , i can't test in debug mode , testing platform is not available but i send the pgpool's logs when i will can test again .<br>Regards</div></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 9 janv. 2019 à 02:08, Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Wed, 9 Jan 2019 09:34:03 +0900<br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> wrote:<br>
<br>
> Hi,<br>
> <br>
> On Mon, 7 Jan 2019 17:35:43 +0100<br>
> Sylvie Pruvot <<a href="mailto:sylvie.halat@gmail.com" target="_blank">sylvie.halat@gmail.com</a>> wrote:<br>
> <br>
> >  Hi,<br>
> > I'm using pgpool for load balancer and control VIP adress (3 servers<br>
> > configured for streaming replication ) . Pgpool is accessed by applications<br>
> > servers (JBOSS /spring-jdbc)<br>
> > Version Pgpool :<br>
> > pgpool-II-pg10-4.0.2-1pgdg.rhel7.x86_64<br>
> > Version PostgreSQL : 10.4<br>
> > Version JBOSS:<br>
> > jboss-eap-7.0.2-1<br>
> > During tests , application server logs many warnings :<br>
> > 2018-12-20 16:36:26,956 WARN<br>
> > [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (default<br>
> > task-19) IJ000621: Destroying connection that could not be validated:<br>
> > org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@359e117e[state=NORMAL<br>
> > managed<br>
> > connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@3b73b9f1<br>
> > connection handles=0 lastReturned=1545320007568 lastValidated=1545318977951<br>
> > lastCheckedOut=1545320007543 trackByTx=false<br>
> > pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@6653ef59<br>
> > mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@cae2d43[pool=ds_rest_api]<br>
> > xaResource=LocalXAResourceImpl@17dce3ba[connectionListener=359e117e<br>
> > connectionManager=62c08011 warned=false currentXid=null<br>
> > productName=PostgreSQL productVersion=10.4 jndiName=java:jboss/rest_api]<br>
> > txSync=null]<br>
> > 2018-12-20 16:48:27,416 WARN<br>
> > [org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory] (default<br>
> > task-23) IJ030027: Destroying connection that is not valid, due to the<br>
> > following exception: org.postgresql.jdbc.PgConnection@28dcf51f:<br>
> > org.postgresql.util.PSQLException: An I/O error occurred while sending to<br>
> > the backend.<br>
> > Please, can you help to figure out what's could be wrong?<br>
> <br>
> I'm not sure if this is Pgpool-II's problem.<br>
> Does the same error occur even if connecting directly to PostgreSQL?<br>
> <br>
> Is there some error in pgpool's log?<br>
<br>
Could you provide pgpool's log includig client messages and debug log?<br>
<br>
Setting "log_client_messages = on" to output client messages to pgpool's log.<br>
And starting pgpool with "-d" option to log debug messages.<br>
<br>
> If you could provide a test program to reproduce this issue, <br>
> I will look into it.<br>
> <br>
> > Regards<br>
> > S. Halat<br>
> <br>
> <br>
> -- <br>
> Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
> SRA OSS, Inc. Japan<br>
> <br>
> _______________________________________________<br>
> pgpool-general mailing list<br>
> <a href="mailto:pgpool-general@pgpool.net" target="_blank">pgpool-general@pgpool.net</a><br>
> <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
> <br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS, Inc. Japan<br>
<br>
</blockquote></div>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net" target="_blank">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</blockquote></div>