hi,
i wrote an java agent to connect with a webservice (ssl).
When i start the agent in designer it all works perfect.
Now the Agent should be called in a webquerysave event on the server and following error raise:
access denied (java.util.PropertyPermission java.protocol.handler.pkgs write)
and the trace:
JVM: Agent started
JVM: java.security.AccessControlException: access denied (java.util.PropertyPermission java.protocol.handler.pkgs write)
JVM: at java.security.AccessControlContext.checkPermission(AccessControlContext.java:286)
JVM: at java.security.AccessController.checkPermission(AccessController.java:413)
JVM: at java.lang.SecurityManager.checkPermission(SecurityManager.java:565)
JVM: at java.lang.System.setProperty(System.java:682)
JVM: at SOAPTestClient.start(SOAPTestClient.java:72)
JVM: at JavaAgent.NotesMain(JavaAgent.java:21)
JVM: at lotus.domino.AgentBase.runNotes(Unknown Source)
JVM: at lotus.domino.NotesThread.run(NotesThread.java:215)
On the server i changed java.security and java.policy and added the necassary ssl jars in /jvm/lib/ext.
The Agent and the user has the rights for restricted acces (in server document and agent properties)
What did i miss ?
Any help welcome
THanks in advance
Holger Neumann