Re: Application Context (and/or) element load orders when starting Tomcat 5/6.

2009-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean, On 7/22/2009 10:39 AM, JeanNiBee wrote: > So in effect I'm deferring all interaction w/ RAM to be at request time and > not startup time correct? Well, you're delaying such interactions until the first request is processed. A reasonable startup

Re: Application Context (and/or) element load orders when starting Tomcat 5/6.

2009-07-22 Thread JeanNiBee
So in effect I'm deferring all interaction w/ RAM to be at request time and not startup time correct? I guess I could even take it one step further (and easier to implement I think) where I build some static singleton initializer that manages an "am I loaded properly" flag and if not, loads its d

Re: Application Context (and/or) element load orders when starting Tomcat 5/6.

2009-07-22 Thread Mark Thomas
JeanNiBee wrote: > Hi > > I have two application contexts, /RAM and /UO. Context initialization is serial. If you try starting in the wrong order you will be out of luck. Tomcat won't start serving requests until all the contexts have started. You can't control the order the apps start in. It w

Application Context (and/or) element load orders when starting Tomcat 5/6.

2009-07-22 Thread JeanNiBee
Hi I have two application contexts, /RAM and /UO. OU needs to have RAM running before it can do anything as I have startup code (Fired during init of my servlet) in UO that needs to access RAM. The problem I have is that when I do startup the Tomcat container, the minute my 'init code' get's ex