Error:
Exception in component tFileOutputDelimited_1
java.io.FileNotFoundException: C:/testfile.csv (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
Solution:1 If file is already Available in that location
Solution:2 If file not exist
Then Execute the job. file will be created along with directory structure.
Exception in component tFileOutputDelimited_1
java.io.FileNotFoundException: C:/testfile.csv (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
Solution:1 If file is already Available in that location
- This file is already opened. You need to close the file and execute this job again.
Solution:2 If file not exist
- Go to components --> go to advanced settings --> check create directory if not exists property
Then Execute the job. file will be created along with directory structure.
how to handle file not found exception in "tfileinputdelimited" die on error is not working in my big data batch component, and i'm unable to handle it anyways. What is the work around
ReplyDeleteNice blog. Thanks for sharing
ReplyDeleteJava Programming in Delhi | Java Certification Training in Delhi
Chez moi les configuration sont correct mais j ai toujours la même erreur
ReplyDelete