security exception when reading file from java action

I want to test cloud security, when I am reading a file from a java action. I put the file in the projectdirectory/resources (I tried projectdir/deployment/data/tmp as well). When I am reading the file I get a security exception: access denied java.util.PropertyPermission read Anybody knows what I did wrong
1 answers

The part in the reference guide you are referring to is specifically about Java in the Cloud. My suspicion is that the propertypermissions in the modeler aren't in sync with de default permissions in the cloud.

You can add the property permission yourself in the policy file which is located in the runtime folder at the location where the business modeler is installed. Opposed to 4.5.x and earlier, in 4.6.0 a lot of propertypermissions are set in the policy file.

You can find more info about this policy file here.