File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.io.FileNotFoundException: (Too many open files) in Opmn logs

 
RaghavaRao oura
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting above Error and Apache logs througing HTTP 500 error.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your question?
 
RaghavaRao oura
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oracle Application server.

After concurency requests came into apache server. it throws HTTP 500 Error. In opmn logs islands also showing

29/10/11 21:18:31 java.io.FileNotFoundException:********/Logs/ (Too many open files)
29/10/11 21:18:31 at java.io.FileOutputStream.openAppend(Native Method)
29/10/11 21:18:31 at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
29/10/11 21:18:31 at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
29/10/11 21:18:31 at com.integrator.lib.Logger.writeLog(Logger.java:28)
29/10/11 21:18:31 at com.integrator.lib.ProcessHttpRequest.getResponse(ProcessHttpRequest.java:840)
29/10/11 21:18:31 at NECIBRedirect.service(NECIBRedirect.java:133)
29/10/11 21:18:31 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
29/10/11 21:18:31 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
29/10/11 21:18:31 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
29/10/11 21:18:31 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
29/10/11 21:18:31 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
29/10/11 21:18:31 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
29/10/11 21:18:31 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
29/10/11 21:18:31 at java.lang.Thread.run(Thread.java:534)


due to above Error getting HTTP 500 Internal server Error..... on the screen....
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You still haven't posted a question.
 
Rohan Dhapodkar
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you have many file descriptors open in your java program. On Unix file descriptors not only includes java.io.File object but socket inputStream and OutputStream are also treated as file. On Unix system, max open file descriptors are set for user and you can query it using 'ulimit -a'
This error message means you have many open file. You need to review your code.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic