File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.io.FileNotFoundException: myserver\telemsgr.log

 
Shyam Hai
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi,

when i give the input to loginform.
then i get UserName & Password is incorrect.
But i check that the UserName & Password correct only.

Then i saw the Exception in Admin server command promt .

How can i rectify.Please..



java.io.FileNotFoundException: myserver\telemsgr.log (The system cannot find the
path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollin
gFileAppender.java:259)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic