X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 30E1B9DC80D for ; Thu, 19 Jan 2006 10:46:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29279-08 for ; Thu, 19 Jan 2006 10:46:39 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id E815C9DC82A for ; Thu, 19 Jan 2006 10:46:32 -0400 (AST) Received: from hermes-uno.uned.es (hermes-uno.uned.es [62.204.192.102]) by svr4.postgresql.org (Postfix) with ESMTP id EC6415AF06B for ; Thu, 19 Jan 2006 14:46:37 +0000 (GMT) Received: from hermes-uno.uned.es (localhost.localdomain [127.0.0.1]) by localhost.uned.es (Postfix) with ESMTP id 62DBA30D404 for ; Thu, 19 Jan 2006 15:46:31 +0100 (CET) Received: from [62.204.199.175] (ind-062-204-199-175.uned.es [62.204.199.175]) by hermes-uno.uned.es (Postfix) with ESMTP id 4EC5730D3F1 for ; Thu, 19 Jan 2006 15:46:31 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <2a79240a023ca6313b0672d6b9950365@dia.uned.es> Content-Type: text/plain; charset=US-ASCII; format=flowed To: pgsql-jdbc@postgresql.org From: Antonio Rodriguez Anaya Subject: ERROR: The backend has broken the connection -- AND: FATAL: Socket command type unknown Date: Thu, 19 Jan 2006 15:46:33 +0100 X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/97 X-Sequence-Number: 14548 Hi, I have some problems with jdbc and postgresql 7.3. I've developed a class java to read form file, to get interesting information and to store them in database. The class gets connect with postgrsql by jdbc (pg73jdbc3.jar) without problems. It does some queries (select, update, insert) but a error happens in the same point. The error message in the java class is: ErrorCod: 0 Message: The backend has broken the connection. Possibly the action you have attempted has caused it to close. State: null The query inserts data in the database and gets identificator by function. I execute the query by psql and there isn't any problem. I check if the query has been executed in postgresql by java class, and yes, it has been executed correctly. But the data isn't got by java class. There is a error message in postgresql: FATAL: Socket command type unknown I don't know what is happened. I've changed the query but the errors go on. The query is executed in a method of the class and the error appear after 5 queries are executed correctly in the same method. I need help because I don't know where is the problem. Thanks in advanced. Toni.