#1 2024-03-21 12:13:12

Uddeep
Member
Registered: 2024-02-14

IllegalArgumentException: Cannot write into specified directory

Hi,

I'm trying to create a local filesytem datasink to download reports to a local filesytem where reportserver is running.
I've mentioned the path and folder in the path and when I hit test datasink, i get "IllegalArgumentException: Cannot write into specified directory".

The path and the folder exists on the server and user tomcat has write permissions to the same.

Any idea why am i getting this error? and how to fix this?

Offline

#2 2024-04-30 09:34:41

eduardo
Administrator
Registered: 2016-11-01
Website

Re: IllegalArgumentException: Cannot write into specified directory

Hi Uddeep,

this exception is thrown here:

if (!Files.isWritable(baseDir))
         throw new IllegalArgumentException("Cannot write into specified directory");

so your base dir seems to really not be writeable. You can test this with a groovy script.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB