----------------------------------------------------------------
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!!!
----------------------------------------------------------------
use the init method in the servlet...
-----Original Message-----
From: Ben Ricker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 06, 2000 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Pre Loading the servlet
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
> I believe adding this to your zone.properties file will answer your need.
It
> causes the servlet to be started when JServ starts up.
>
> servlets.startup=<servlet name here>
Actually, this does answer the question for such things as servlets which
are connection pool managers. Loading the servlet at startup does not
initialize the connections to the DB and the wait is still there. I
attempted to do this with a connection pool but it made no difference to
have initialized at startup or not. Maybe that has something to do with how
the servlet is written; I have no idea, being the admin and not the
programmer. Erik Kleing may be having the same problem: the initialization
on startup does not really speed up certain functionality which requires an
actual request for the servlet through http?
Ben Ricker
Web Administrator
US-Rx, Inc.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]