-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
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");
- the java version I use to build my servlets is the jdk1.1.7
If anyone has an idea...
Thanks
Marie-odile
> -----Message d'origine-----
> De: Marche, Marie-Odile
> Date: jeudi 23 septembre 1999 11:16
> À: Java Apache Users
> Objet: Paralysing FileNotFoundException after JServ1.0
> installation
>
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Hello
>
> I HAVE READ THE FAQ BUT FOUND NOTHING OF HELP IN IT;
>
> I have recently upgraded jserv1.0-b3 to Jserv1.0 on a sun server machine,
> keeping the Apache configuration files (jservproperties etc...) unchanged
> (they worked fine for jserv1.0-b3).
>
> The whole of yesterday, the same weird and paralysing exception came over
> and over :
>
> java.io.FileNotFoundException:
> /export/home/esm/pages/webuser/eng/top_fs_home1.html
> [this file exists, here is its status:
> [ -rwxrwxrwx 1 tlssbg nss 20857 Sep 22 14:31
> /export/home/esm/pages/webuser/eng/top_fs_home1.html
>
> This same error occurs in each and every servlet... Apache sometimes even
> don't find the servlets themselves (says the servlet cannot be found)
>
> So Jserv cannot access exisiting readable files from its virtual machine.
> This happens from any servlet and for any file.
>
> I have written a java programm that does the same operations (reading the
> same files), and that I launch with the same virtual machine as Apache:
> -> this program perfectly finds adn reads the file.
>
> What makes me think it is linked to jserv1.0 is that after upgrading a
> second machine to Jserv1.0, with a second instance of the file
> distribution
> and the web server, exactly the same error occured again.
>
> Can anyone help me about this?
> Was there anything to change in the configuration when upgrading to
> JServ1.0
> final, that I did not do??
>
> Thanks for your help
>
> Marie-odile
>
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]