Re: load-on-startup order

2003-03-23 Thread Tomas Wredendal
Mayne, Peter wrote: Tomcat 4.1.18 I have two applications, A and B, where a servlet in B depends on a servlet in A being up, so I have in A's web.xml: servlet ... load-on-startup1/load-on-startup /servlet in B's web.xml: servlet ... load-on-startup5/load-on-startup

Re: load-on-startup order

2003-03-23 Thread James Carman
Instead of performing the necessary logic in the init method, why not try lazy-loading. Only initialize whatever you need when it is requested the first time. By the way, what are you trying to do? I've never heard of anyone having this kind of requirement/architecture. Just curious. -

RE: load-on-startup order

2003-03-23 Thread Mayne, Peter
Title: RE: load-on-startup order So load-on-startup only orders within an application, not between applications? Application A is a message handler. Application B is a listener which must register with A when it starts, so A can forward incoming messages to B. Therefore, B can't lazy load

RE: load-on-startup order seems incorrect...

2002-09-05 Thread Andy Eastham
Jeff, Try 10 and 20 or 1 and 2. I know negative numbers don't necessarily start up before 1, maybe 0 doesn't either. Andy -Original Message- From: Jeff Wishnie [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 18:22 To: Tomcat Users List Subject: load-on-startup order seems