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 |
+------------------------------+---------------------------------------------+