Https and Java agents

I am trying to run a scheduled Java agent that uses the com.sun.net.ssl.HttpsURLConnection.

I have configured the server as recommended in this listing:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/ea5a5ae592deee2085256dd6002f0c81?OpenDocument

However, I still get the following errors when I call the line:

			          System.setProperty "java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");

java.security.AccessControlException: access denied (java.util.PropertyPermission java.protocol.handler.pkgs write)

java.security.AccessControlContext.checkPermission(AccessControlContext.java:286)

java.security.AccessController.checkPermission(AccessController.java:413)

java.lang.SecurityManager.checkPermission(SecurityManager.java:565)

message: at java.lang.System.setProperty(System.java:682)

I wanted to see if anyone else has had a similar problem and if they were able to resolve it.

I have also tried using:

System.getProperties().put(“java.protocol.handler.pkgs”, “com.sun.net.ssl.internal.www.protocol”);

Instead of the System.setProperty and this also gives an error. I have tried signing the agent with a server id and still get the same errors.

I can also successfully run the agent manually from my client. The agent security level is set to 3.

Thank you

Subject: Https and Java agents

i am facing a similer issue, Did u get to resolve it???