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

Application cannot create log file in linux

 
Maya sekar
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application I want to create a log file and append log details in it. But when i deploy it, it throws a fileNotFound Exception when what should happen is a new log file must automatically be created and messages need to appended to it.

I am deploying the application in apache tomcat, in a unix system please help
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most probably you mis-spelled or mis-capitalized the directory path for the log file.
 
Maya sekar
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply but turns out tomcat didn't have permission to write in the Directory where I wanted the log file to be created.

Thanks again
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic