File permissions Enterprise Integrator

Hello,

Using the Enterprise Integrator (EI) (inplemented by JDEdwards), I run into a problem regarding file permissions.

We have a system in which a File Poll triggers an action. However, after the
file is beeing polled, we want to remove it with a Custom Code block. Now,
the problem is that the IOadapter throws a Java file permission exception. (
I may not even call “if (file.exists ())”. It looks to us that EI is making itself a “sandbox” because by default a Java-application
has access to it’s host filesystem. Modifying the .policy file does not help,
neither does the documentation tell us about it.

So, my first question is: may a Custom Code block access a filesystem (the shipped operations like the File Poll may), and if yes, how can we accomplish this?

Thanks very much in advance,

Patrick.

Hello,

In the IOAdapter configuration you will find a Java tab. Uncheck “Enable
Script Security” checkbox and this should work.

Let me know if this helps.

Regards,
Laxmikant

Hello,

it works now. Thanks alot!

Patrick.

What was root cause and how did disabling the script securty help in this regard?