It seems that orion loads a servlet only when load-on-start in the web.xml
is present and also the load-on-startup is set to true in the
default-web-site.xml file. My understanding was that it should be sufficient
to set the load-on-startup in the web.xml. Has anybody has a similar
experience
romen,
have you ever resolved the load-on-startup problem (message below)?. My
server freezes all together.
-rr
ello,
If I use the load-on-startup in web.xml under my startup servlet, orion will
correctly start it up automatically. What I found strange was that when this
is done I cannot
.
WR
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]För Namor Taror
Skickat: den 15 november 2001 04:12
Till: Orion-Interest
Ämne: load-on-startup
It seems that orion loads a servlet only when load-on-start in
the web.xml
is present and also the load
ello,
If I use the load-on-startup in web.xml under my startup servlet, orion will
correctly start it up automatically. What I found strange was that when this
is done I cannot shutdown orion any more by using admin.jar or ctrl-C. If I
comment out the load-on-startup line, everything
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 resp
]]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
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
I have a problem with load-on-startup on my SunOS machine..
in the init() of my HttpServlet i have
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
File temp = new File(xmlFile
If I'm not completely mistaken is the load order for servlets.
Meaning if load-on-startup is 1, that is the first servlet to load, 2 second
to load.
to load - being loaded by Orion.
//Johan
- Original Message -
From: "Neal Kaiser" [EMAIL PROTECTED]
To: "Orion-I
param-namedefaultContentType/param-name
param-valuetext/html/param-value
/init-param
load-on-startup1/load-on-startup
/servlet
And the Classpath.class is in /usr/local/orion/lib
I think it has to do
The load on startup number is what ranking to startup. It basically means
that lower numbers start up first. SO... if you wanted servlets A,B,C,D to
start up in that order,
A=10, B=200, C=316, D=445
Doesn't matter what the numbers are, as long as they are in the correct
order.
I usually
/display-name
servlet-classfoo.bar.Software/servlet-class
load-on-startup1/load-on-startup
init-param
param-nameapplication-directory/param-name
param-valueapplications/software/param-value
/init-param
/servlet
What could be the problem? Any suggestions how
Title: RE: load-on-startup doesn't work
Hi,
Problems might be:
- init does not take an instance of ServletContext, it takes ServletConfig, but maybee you misstyped in the mail.
- The servlet won't load if it has compiletime errors or throws an exception in init (I think).
-Original
-param
load-on-startup1/load-on-startup
/servlet
which works great, as expected. However, when I startup orion, it changes it
to
servlet
servlet-namemcInit/servlet-name
display-namemcInit/display-name
servlet-classuo.mc.MissionControlInitServlet/servlet-class
load-on-startup1/load
to be the
case due to lack of response at times, but it is. As an example, the last
bug you reported (sent to bugs@ on the 22nd), titled "load-on-startup
initialization called twice" was found thanks to your report and fixed is in
the latest internal build (which will pop up at
http://www.orionserver
I would love to see your bug/rfe tracker as an Orion J2EE sample app!
-Original Message-
From: Magnus Stenman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 24 August 2000 12:21 PM
To: Orion-Interest
Subject: Re: load-on-startup moving around and breaking things
Hi,
we're as you migth
in addition to the previous mail, I observed that classes are also loaded
twice, i.e. on server startup AND AGAIN when the app is first accessed.
Makes me wonder what load-on-startup in web-site.xml is good for.
Christian Sell
;Orion-Interest" [EMAIL PROTECTED]
Sent: Monday, August 21, 2000 12:32 PM
Subject: load-on-startup initialization called twice
Hello,
I have load-on-startup specified both in default-web-site.xml for the
web-app and in web.xml for a servlet within the web-app. Now the init()
method of the
20 matches
Mail list logo