----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

on 5/17/2000 6:16 AM, Richard Begg <[EMAIL PROTECTED]> wrote:

> Now this usually wouldn't create a problem but the JDBC-ODBC bridge
> driver in conjunction with Access has a problem which means a connection to
> a database is only valid for a finite number of accesses.  I could change
> the code so that for every access a new connection is created but this would
> greatly decrease the speed of the servlet.
> 
> I would like JServ to unload the server after a short period of time
> (say 5 minutes).  Is this possible and if so how would I do this?

The problem isn't your servlet, the problem is your methodology for getting
a connection. You should use a connection pool that can properly deal with
connections that get timed out.

This has nothing to do with JServ, please move the discussion over to
[EMAIL PROTECTED]

thanks,

-jon

-- 
    Java Servlet Based - Open Source  |        Collab.Net
        Bug/Issue Tracking System     |   now hiring smart people
       <http://scarab.tigris.org/>    |  <http://Collab.Net/jobs/>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to