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.