Configuring java.net.SocketPermission in new Mendix Service Console

0
I am calling a JavaAction that sends a Request to another server using a ServletHandler. Currently I'm getting a "Connection refused: connect" Error. In development, I can configure the .policy within the runtime of my Mendix runtime folder, and in the cloud the Cloud Team does that. Where do I configure this in my new Mendix Console and App deployment? I did a recursive search for a .policy file in the root folder, but was unable to determine its location. How do I set this up?
asked
1 answers
1

The policy file is only used when you explicitly tell the runtime to use a security manager:

java -Djava.security.manager -Djava.security.policy=/blablafilepath/.policy

If you don't run with those flags, you won't need a policy file: you can do anything. I believe the Mendix Service Console doesn't use a policy file by default, so it looks like your problem might lie elsewhere?

answered