pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nico <nicohmail-postgresql@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: Resource temporarily unavailable
Date: Sat, 25 Dec 2004 00:59:48 +0100
Message-ID: <cqiahi$ct6$1@news.hub.org> (raw)

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. 





view thread (5+ messages)  latest in thread

Message-ID: <cqiahi$ct6$1@news.hub.org>
Permalink:  ../cqiahi$ct6$1@news.hub.org/
Also on:    postgresql.org/message-id/cqiahi$ct6$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: nicohmail-postgresql@yahoo.com
  Subject: Re: Resource temporarily unavailable
  In-Reply-To: <cqiahi$ct6$1@news.hub.org>
  References: <cqiahi$ct6$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox