pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Agustin CS <agustincs1@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem executing remote SELECT's (through internet) with JDBC
Date: Sat, 23 Feb 2008 00:46:50 +1300
Message-ID: <47BEB62A.7000009@opencloud.com> (raw)
In-Reply-To: <9fb413bd0802220252g130e6a62v1df36db15b691419@mail.gmail.com>
References: <9fb413bd0802220252g130e6a62v1df36db15b691419@mail.gmail.com>

Agustin CS wrote:
> Hello all,
> 
> I have a problem invocating SELECT statements using Java JDBC driver 
> having a remote communication between PostgreSQL database client-server 
> through Internet.

You may want to re-run with logLevel=2 as a connection parameter; then 
the driver will log all the network I/O it is doing.

Without a detailed TCP trace I can't be sure but it sounds like perhaps 
you have a path MTU discovery problem between the server and client, or 
something similar. I suspect that when you turn on driver debugging, you 
will see the driver just stop receiving new data from the network at 
some point.

(if you like, mail me a tcpdump or wireshark packet capture off-list - 
ideally one capture from each end of the connection - and I'll take a look)

-O



view thread (4+ messages)  latest in thread

Message-ID: <47BEB62A.7000009@opencloud.com>
Permalink:  ../47BEB62A.7000009@opencloud.com/
Also on:    postgresql.org/message-id/47BEB62A.7000009@opencloud.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: oliver@opencloud.com, agustincs1@gmail.com
  Subject: Re: Problem executing remote SELECT's (through internet) with JDBC
  In-Reply-To: <47BEB62A.7000009@opencloud.com>
  References: <9fb413bd0802220252g130e6a62v1df36db15b691419@mail.gmail.com> <47BEB62A.7000009@opencloud.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