File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problem with TomCat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem with TomCat" Watch "Problem with TomCat" New topic
Author

Problem with TomCat

Marcelo Jourdan
Greenhorn

Joined: Oct 01, 2004
Posts: 1
Hi,
Who already saw this problem, and how did solve?

Catalina.start: LifecycleException: memoryRealm.readXml: java.lang.Exception: Can't open config file: C:\Program Files\Apache Tomcat 4.0\conf\tomcat-users.xml due to: java.io.IOException: Too many open files
LifecycleException: memoryRealm.readXml: java.lang.Exception: Can't open config file: C:\Program Files\Apache Tomcat 4.0\conf\tomcat-users.xml due to: java.io.IOException: Too many open files
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java:335)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:261)
at org.apache.catalina.startup.CatalinaService.execute(CatalinaService.java:172)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:428)
----- Root Cause -----
java.lang.Exception: Can't open config file: C:\Program Files\Apache Tomcat 4.0\conf\tomcat-users.xml due to: java.io.IOException: Too many open files
at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:238)
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java:333)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:261)
at org.apache.catalina.startup.CatalinaService.execute(CatalinaService.java:172)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:428)
Stopping service Tomcat-Standalone

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with TomCat
 
Similar Threads
jdbc problems with tomcat 4.0
Adding new application in tomcat
Help! Can't Connect to Oracle Database Using Tomcat
problem! BindException: JVM_Bind: 80
Can not run Tmacat on Win2k