Re: Server.xml Sort on Start

2007-05-25 Thread Mark H. Wood
On Thu, May 24, 2007 at 07:37:25PM -0700, Kyle B wrote: [snip] > In regards to Mark's statement. I'm not opposed to writing some XML parsing > tools to play nice with Tomcat. However, I'm still left trying to figure out > how Tomcat sorts that HashMap it creates for all elements. I've > looked for

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
> From: Kyle B [mailto:[EMAIL PROTECTED] > Subject: Re: Server.xml Sort on Start > > The Host elements do not contain backgroundProcesserDelay. Not by default, but one can be added. I wouldn't recommend it, since there doesn't seem to be much advantage to do so unl

Re: Server.xml Sort on Start

2007-05-24 Thread Kyle B
Mark H. Wood,UL 0115A,+1 317 274 0749, > [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood > Subject: Re: Server.xml Sort on Start > > I don't *know*, mind you, but random ordering suggests that the > container starts a thread for each 'host' and the checks are takin

RE: Server.xml Sort on Start

2007-05-24 Thread Caldarale, Charles R
> From: Mark H. Wood,UL 0115A,+1 317 274 0749, > [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood > Subject: Re: Server.xml Sort on Start > > I don't *know*, mind you, but random ordering suggests that the > container starts a thread for each 'host' and the c

Re: Server.xml Sort on Start

2007-05-24 Thread Mark H. Wood
I don't *know*, mind you, but random ordering suggests that the container starts a thread for each 'host' and the checks are taking place in those threads. Thread switching is influenced by lots of things and would be fairly unpredictable, so a bunch of threads setting up host objects could comple

RE: Server.xml Sort on Start

2007-05-23 Thread Caldarale, Charles R
> From: Kyle B [mailto:[EMAIL PROTECTED] > Subject: Server.xml Sort on Start > > Can anyone explain the server.xml sorting algorithm Tomcat > uses on start? Tomcat handles most configuration items by inserting them into a HashMap and then iterating over the contents. The

Re: Server.xml Sort on Start

2007-05-23 Thread Kyle B
sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Kyle B" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 23, 2007 9:10 PM Subject: Server.xml Sort on Start >I am inquiring about the

Re: Server.xml Sort on Start

2007-05-23 Thread Martin Gainty
- From: "Kyle B" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 23, 2007 9:10 PM Subject: Server.xml Sort on Start I am inquiring about the algorithm Tomcat uses for processing the server.xmlfile on startup. When Tomcat is started, it processes all hosts listed in the serve

Server.xml Sort on Start

2007-05-23 Thread Kyle B
I am inquiring about the algorithm Tomcat uses for processing the server.xmlfile on startup. When Tomcat is started, it processes all hosts listed in the server.xml file for catalina policy compliance. Issues arise when there is an account that does not comply with our policy file and Tomcat refu