Creator III
2019-05-17
10:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are getting an exception when you try to write the Excel file or other output file to the folder /home/data1 because it does not exist on the machine with your remote engine or you do not have write permission to it. If the folder exists you should change the permission to let the Talend process write to it or just let everyone write to it, though this is less secure.
I would suggest using the default Java temp directory, which is platform independent and will work on any machine, e.g. locally on your workstation, in the cloud or an on premise machine with the remote engine.
You can use this directory in the path for your component to get the Java temp directory:
System.getProperty("java.io.tmpdir")
269 Views