Okey guys,
The load-on-startup="true" inside the web-app tag in the web-site.xml
file did the trick so now everything works as expected. Now that I know
where to look, I found the reference in the documentation even though it
is not very intuitive. Thank you very much to all who responded.
Dan
]]On Behalf Of Daniel Lopez
Sent: Friday, March 30, 2001 4:29 AM
To: Orion-Interest
Subject: Re: SV: load-on-startup is not working
Hi Patrick,
My problem is not that my servlet doesn't work. The servlet works but it
is initialised when I perform the first request. It has to open database
Hi Dan,
try putting in a load-on-startup tag for the application itself. I have
noticed that making a servlet load-on-startup causes it to get invoked on
the first request but making the application itself load-on-startup causes
the servlet to get invoked on initialization itself. To make the
Thanks Johan!
I hadn't specified load-on-startup="true" in default-web-site.xml. After I
put that in everything starts up fine.
-jason
lto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 4:29 AM
To: Orion-Interest
Subject: Re: SV: load-on-startup is not working
Hi Patrick,
My problem is not that my servlet doesn't work. The servlet works but it
is initialised when I perform the first request. It has to open database
connections, pars