-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


"Marche, Marie-Odile" wrote:
> 
> I have some more elements concerning this problem:
> 
> - only thoses servlets that read external files (i.e HTML files) have this
> FileNotFoundException
> 
> - in the servlet code, if I build a new File object based on the same file
> path before building a new FileInputStream, the error does not occur:
> 
>     File test = new File("my_file_path");   // prevents the
> FileNotFoundException to occur in the next line
>     stream = new FileInputStream("my_file_path");

Is the file read over NFS?

Have your tried to truss (or equivalent since I don't remember seeing
the name of your OS) the JVM. If its an OS problem that will certainly
show it

e.

========================================================================
Enrico Badella                       email:   [EMAIL PROTECTED]
Soft*Star srl                                 [EMAIL PROTECTED]
InterNetworking Specialists          tel:     +39-011-746092            
Via Camburzano 9                     fax:     +39-011-746487
10143 Torino, Italy

  Wanted, for hobbist use, any type of PDP and microVAX
hardware,software,
  manuals,schematics,etc. and DEC-10 docs or manuals
==========================================================================


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to