When code is loaded, it is assigned permissions based on the security policy in effect. This policy specifies the permissions that are available for code from various locations. You can initialize this policy from an external policy file.
By default, the client uses the app_server_root/properties/client.policy file. You must update this file with the following permission:
permission java.util.PropertyPermission "*", "read"; permission java.net.SocketPermission "yourserver.yourcompany.com ,"connect";