Solved

File not found

Posted on 2004-03-26
7
155 Views
Last Modified: 2010-03-31
I often get an error java.io.FileNotFoundException: /misc/res2/resin-2.0.5/doc/jsp/dc_menu.jsp.(Too many files open )
What is the reason for this error?
0
Comment
Question by:anumouli
  • 2
  • 2
7 Comments
 
LVL 15

Accepted Solution

by:
Javatm earned 250 total points
ID: 10693640
> What is the reason for this error?
The most basic thing which its telling you :

A file is not found, either a file that you are using
or the dc_menu.jsp

Hope that helps . . .
Javatm
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 10693744
Is it possible that you opened several files and never closed them?

After something like:   PrintWriter pw = new PrintWriter( ... what ever ... );
                                          .... writing ... writing ....
you must do:                       pw.close();

The same goes for reading.

;JOOP!
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 10694007
The follwoing post says increasing the available memory fixes the problem:
http://www.caucho.com/support/resin-interest/0203/0212.html
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 10694096
I read the article ... I think that everybody forgets that the number of open files
is merely an Operating System limit. You can't go on forever and raise your VM to 2Gb.
I don't know what the per-process limit is on actual systems (I tend to use a few files),
but, for instance, on Windows2000 it's easy to hit the all-system-limit ("out of resources").

;JOOP!
0
 
LVL 92

Expert Comment

by:objects
ID: 10694107
I pretty much agree with you but if that is so then why would increasing the available memory get rid of the error.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 96
Python Assistance 7 80
thymeleaf natural templating vs JSP 2 95
JAVA API design with micro service cloud in mind 1 15
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question