Background to this is as follows:Currently we use a Notes agent to communicate with MQ v5.3. This agent uses a LS script library which uses the MQ lsx extensions. However, lsx is not supported by the latest version of MQ (v6.0) so we have elected to replace the existing LS script library with a Java scrpt library calling Java classes written internally to create the MQ environment handle the connections and dataflow.
The Java script lib is being called and appears to run down into the MQ classes but gets to a point where it falls over and gives us the follwing errors:
Agent printing: Notes error in 318 LS2J Error: Threw java.lang.ExceptionInInitializerError 64 Error Handler
Agent printing: java.lang.ExceptionInInitializerError: java.lang.SecurityException
at lotus.notes.AgentSecurityManager.checkPropertiesAccess(AgentSecurityManager.java:523)
at java.lang.System.getProperties(System.java:522)
at com.ibm.mq.MQException.<clinit>(MQException.java:654)
at com.ibm.mq.MQInternalCommunications.establishChannel(MQInternalCommunications.java:1544)
at com.ibm.mq.MQInternalCommunications.<init>(MQInternalCommunications.java:523)
at com.ibm.mq.MQSESSIONC
From what we can glean from the error there seems to be some sort of security conflict with the AgentSecurityManager, but the server policy document is set to allow unrestrcited runnign of LS/Java agents so we’re a bit stumped here.
As the agent runs on a Domino server we can’t debug it, and also don’t seem to have any way of debugging Java from within Domino itself. I have access to RAD v6.0 but don’t seem to be able to get the two to talk.
Any help would be very gratefully received.