Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E485AB5DBE6 for ; Thu, 4 Aug 2011 10:47:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 98228-03; Thu, 4 Aug 2011 13:47:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.sdb.it (mail2.sdb.it [85.37.147.67]) by mail.postgresql.org (Postfix) with ESMTP id 761B0B5DBCA; Thu, 4 Aug 2011 10:47:22 -0300 (ADT) Received: by mail2.sdb.it (Postfix, from userid 500) id 74D96806C; Thu, 4 Aug 2011 15:47:22 +0200 (CEST) Received: from geronimo.sdb.it (geronimo.sdb.it [10.101.1.20]) by mail2.sdb.it (Postfix) with ESMTP id 6FBDA8064; Thu, 4 Aug 2011 15:47:22 +0200 (CEST) Received: from mailtech.sdb.it (localhost [127.0.0.1]) by geronimo.sdb.it (Postfix) with ESMTP id 32CDB3808A2; Thu, 4 Aug 2011 15:47:12 +0200 (CEST) Received: from [10.118.101.88] (silviob.sdb.it [10.118.101.88]) by mailtech.sdb.it (Postfix) with ESMTP id 21B2A6000B; Thu, 4 Aug 2011 15:50:04 +0200 (CEST) Message-ID: <4E3AA2EA.9010308@tech.sdb.it> Date: Thu, 04 Aug 2011 15:47:22 +0200 From: Silvio Brandani User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Oliver Jowett Cc: pgsql-bugs@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Postgres Server Jdbc driver error References: <4DD38883.9060103@tech.sdb.it> <4DD41148.4080500@tpf.co.jp> <4DD4C814.80505@tech.sdb.it> <4DD4DDC0.4060400@tpf.co.jp> <4DD4E578.7030305@tech.sdb.it> <4E3A67FD.10501@tech.sdb.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Private-Material: Please read notice X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.084 tagged_above=-5 required=5 tests=BAYES_50=0.8, RP_MATCHES_RCVD=-0.716 X-Spam-Level: X-Archive-Number: 201108/40 X-Sequence-Number: 30852 Il 04/08/2011 13.00, Oliver Jowett ha scritto: > 2011/8/4 Silvio Brandani: > >> On the Tomcat side we get followin message: >> >> >> Caused by: java.io.IOException: Tried to send an out-of-range integer as a >> 2-byte value: 34027 >> at org.postgresql.core.PGStream.SendInteger2(PGStream.java:201) >> at >> org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1236) >> at >> org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1508) >> at >> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1097) >> at >> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) > What is the query that triggers this exception? (Not the one logged on > the server side, it is the next query that's the problem) > Taking the exception at face value implies that your query has 34,027 > parameters, which seems somewhat unlikely (!!) unless you have a badly > garbled query string. > > Oliver > thanks for the support, we find the bug in the application , we will limt the number of parameters. -- Silvio Brandani --- Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalitą amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/privacy.html Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/privacy/codice_penale_616.html L'Azienda non si assume alcuna responsabilitą giuridica qualora pervengano da questo indirizzo messaggi estranei all'attivitą lavorativa o contrari a norme. --