X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8DC453CAF56 for ; Sat, 25 Dec 2004 00:00:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12667-02 for ; Fri, 24 Dec 2004 23:59:54 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id DC8083CAF50 for ; Fri, 24 Dec 2004 23:59:53 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 3485831956; Sat, 25 Dec 2004 00:59:54 +0100 (MET) From: "Nico" X-Newsgroups: pgsql.interfaces.jdbc Subject: Resource temporarily unavailable Date: Sat, 25 Dec 2004 00:59:48 +0100 Organization: Hub.Org Networking Services Lines: 19 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.976 tagged_above=0 required=5 tests=AWL, FORGED_YAHOO_RCVD, PRIORITY_NO_NAME X-Spam-Level: ** X-Archive-Number: 200412/182 X-Sequence-Number: 11848 I have a servlet that generates a framesetpage. Each of the three frames on that framesetpage is also a link to a the same servlet, only with other parameters. The framesetpage has two parts: a topframe and a bottomframe. The bottomframe has again two parts: a leftframe and a rightframe. The topframe gets data from two tables, so does the left and the right. They each make a connection and a resultset for each (6 of them) query based on those tables. Additionally, they use a common table for metadata. After a few refreshes(three or four), he gives me an error: resource temporarily unavailable. How can I resolve this issue? Sometimes, I don't even have to refresh to get the error. The server my servlet is running under has a threadpool. But how do I prevent this error from occurring again? I don't need much, but I have to at least support 5 users at a time. I have tought about threading or connection pools, but I know very little about it. Any help is appreciated. Nico.