Hi,

I have a server.xml with 37 virtual hosts defined, each with 1 root context
also defined in the same file (yes, not recommended, but not explicitly
disallowed either, right?).

Tomcat starts up fine and is solid with this config on 5.5.15, but not on
5.5.16.

After 14 loaded contexts on 5.5.16, I get "Too many open files" errors, and
exceptions like:
Apr 10, 2006 5:56:23 PM org.apache.catalina.startup.ContextConfig
processContextConfig
SEVERE: Missing default web.xml, using application web.xml only
conf/context.xml /usr/local/tomcat/conf/context.xml
java.io.FileNotFoundException: /usr/local/tomcat/conf/context.xml (Too many
open files)

That context.xml is in place and contains default values.

I did notice that a change was made between 5.5.15 and 5.5.16 that may have
something to do with this (from the ChangeLog):
Deploy folders which don't have a WEB-INF, and return an error when a
context file does not contain a Context element (remm)

Not sure why folders without a WEB-INF are being deployed now, as I have
many folders that contain static content that I certainly don't want
deployed as webapps.

Also, I'm on Linux, and my ulimit is set to unlimited.

Any help greatly appreciated.
-corey






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to