Yes , I am always bewildered by these postings. Are you people completely naive in IT ?
----- Original Message ----- From: "luba powell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 08, 2002 10:22 AM Subject: Re: More File IO trouble > The rule of thumb with error messages is :- > Do not be bewildered by a scroll of error messages. > > Look at the first error message which in this case is > > > java.io.FileNotFoundException: > > > java.io.FileNotFoundException: > > usr50/home/mgardne/public_html/servlets/artxml/pacman.xml > > > (No such file or directory) > > The error is simply - The specified file <name> cannot be found. > That's it! > No mystery, No magic! > You can actually cause this error delibrately to make sure > by misnaming the file. > > ----- Original Message ----- > From: GW <[EMAIL PROTECTED]> > Date: Sun, 8 Sep 2002 10:50:29 +0200 > To: [EMAIL PROTECTED] > Subject: Re: More File IO trouble > > > > Hi > > If your file exists, check your path again, maybe you miss spelt something. > > usr50/home/mgardne/public_html/servlets/artxml/pacman.xml > > a shot in the dark just out of curiosity *-) > > shouldn't the path read > > usr50/home/mgardner... instead of > > usr50/home/mgardne... > > ? > > > > ----- Original Message ----- > > From: "Monte Gardner" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, September 08, 2002 12:34 AM > > Subject: More File IO trouble > > > > > > > In order to process a user request to make changes to the > > > user's preference file, I have to write to a file from a Servlet. > > > When I try to write to the file I get the following exception: > > > > > > java.io.FileNotFoundException: > > usr50/home/mgardne/public_html/servlets/artxml/pacman.xml > > > (No such file or directory) > > > at java.io.FileOutputStream.open(Native Method) > > > at java.io.FileOutputStream.(FileOutputStream.java:102) > > > at java.io.FileOutputStream.(FileOutputStream.java:62) > > > at java.io.FileOutputStream.(FileOutputStream.java:132) > > > at java.io.FileWriter.(FileWriter.java:43) > > > at art.Artist.writeTo(Artist.java:88) > > > at art.Artist.writeTo(Artist.java:101) > > > at artists.upload2_7._jspService(upload2_7.java:181) > > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java) > > > at > > > org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) > > > at org.apache.tomcat.core.Handler.invoke(Handler.java:322) > > > at org.apache.tomcat.core.Handler.service(Handler.java:235) > > > at > > > org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) > > > at > > > > > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91 > > 7) > > > at > > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > > > at > > > > > org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int > > erceptor.java:341) > > > at > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) > > > at > > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav > > a:516) > > > at java.lang.Thread.run(Thread.java:479) > > > > > > > > > I have checked several times, and the file does in fact exists. The file > > > and the directory which contains it both have full file permissions(777). > > > What could be causing this problem? > > > > > > --Monte Glenn Gardner > > > > > > > > ___________________________________________________________________________ > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > > body > > > of the message "signoff SERVLET-INTEREST". > > > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > > Resources: http://java.sun.com/products/servlet/external-resources.html > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > > > > > > > > > > ___________________________________________________________________________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > > > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
