X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 69DC2D1D94B for ; Wed, 30 Jul 2003 11:25:44 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 51589-03 for ; Wed, 30 Jul 2003 08:24:45 -0300 (ADT) Received: from curry.tmsl.demon.co.uk (tmsl-adsl.demon.co.uk [80.177.114.181]) by svr1.postgresql.org (Postfix) with ESMTP id 8443BD1D94A for ; Wed, 30 Jul 2003 08:25:41 -0300 (ADT) Received: from bacon.tmsl.demon.co.uk (bacon.tmsl.demon.co.uk [192.168.7.102]) by curry.tmsl.demon.co.uk (8.11.6/8.11.6) with ESMTP id h6UBPR922055; Wed, 30 Jul 2003 12:25:27 +0100 Date: Wed, 30 Jul 2003 12:25:25 +0100 From: Paul Thomas To: LEON Cc: "pgsql-sql @ postgresql . org" Subject: Re: How can I to solute this problem? Message-ID: <20030730122525.A28429@bacon> References: <20030729082305.A23245@bacon> <20030729133703.G25238@bacon> <001a01c3567f$0f356a20$1f00a8c0@leon> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 In-Reply-To: <001a01c3567f$0f356a20$1f00a8c0@leon>; from ldai@accunettech.com on Wed, Jul 30, 2003 at 10:43:39 +0100 X-Mailer: Balsa 1.2.3 Lines: 34 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/452 X-Sequence-Number: 14566 On 30/07/2003 10:43 LEON wrote: > Hi,Thank your help yesterday. > > Now I met a new question. > When I continued to clicking UI(jsp) some time, I will get a error in > page.It is "Http 404" and Exception is "NullPoinerExcaption". > > I checked the log of tomcat. It recorded a message"connected database > failed. The user perporty is missing. It is mandoatory". > > netstat | grep postgres |wc -l > The connection number is 278 > > lsof -i :5432 | wc -l > 60 > > How can I solute this problem? > Is there bug in postgresql's jdbc? > > Could you give me help? You must supply the user name in your DriverManager.getConnection(url, user, password). HTH -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for the Smaller Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+