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 resulting order should

Re: Server.xml Sort on Start

2007-05-23 Thread Kyle B
Martin, Thank you for your response. However, the issue does not relate to certain locations being denied access. The problem is that during Tomcat restart, it processes all WEB-INF folders and comes back with output like: -- INFO: Create Host deployer for direct deployment ( non-jmx ) M

Re: Server.xml Sort on Start

2007-05-23 Thread Martin Gainty
Kyle- someone probably put in a deny in your engine config in server.xml e.g. //if you see a Valve declaration such as and replace deny with allow and you should be good for all the addresses which were previously denied HTH/ Martin This email message and any files transmitted with it contain co