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
--
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, pa
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
AIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 6:35 PM
Subject: RE: SV: load-on-startup is not working
> I ran into this same problem, what I ended up doing is writing a little
> utility which is auto-started by Orion. It just goes
>
> > regards,
> > Patrik Andersson
> >
> > -Ursprungligt meddelande-
> > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]]
> > Skickat: den 30 mars 2001 10:54
> > Till: Orion-Interest
> > Ämne: load-on-startup is no
to:[EMAIL PROTECTED]]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
tries to compile the servlet?
>
> regards,
> Patrik Andersson
>
> -Ursprungligt meddelande-
> Från: Daniel Lopez [mailto:[EMAIL PROTECTED]]
> Skickat: den 30 mars 2001 10:54
> Till: Orion-Interest
> Ämne: load-on-startup is not working
>
> Hi,
>
> I
Title: SV: load-on-startup is not working
Check your error log for compile time errors. is development="true" in orion-web.xml so that Orion even tries to compile the servlet?
regards,
Patrik Andersson
-Ursprungligt meddelande-
Från: Daniel Lopez [mailto:[EMAIL PROTECTED
Hi,
I don't seem to find how to get the load-on-startup attribute to work.
This is the web.xml snippet where I use it:
...
GuiaController
org.leaf.LEAFManager
1
...
I've also tried with , but to no avail. This has been
working for