java.lang.SecurityException: c:\gcsdev\transforms\dxl-grl-PX.xsl

Having some problems with a Java Agent running on my Domino Server. My application works correctly from my Notes Client scheduled to run locally. But when I move it to the Domino Server I get :

java.lang.SecurityException: c:\gcsdev\transforms\dxl-grl-PX.xsl

at lotus.notes.AgentSecurityManager.checkRead(AgentSecurityManager.java:608)

This application needs to stream in an xsl template from the file system to transform dxl.

I’ve attempted adjusting the java.policy file by adding :

grant codeBase “file:.” {

permission java.io.FilePermission “c:\gcsdev\transforms\dxl-grl-PX.xsl”, “read, write”;

};

But I get the same results.

Any advise on this matter is appreciated.

Thanks,

Larry Norcross

972-280-1817

Subject: java.lang.SecurityException: c:\gcsdev\transforms\dxl-grl-PX.xsl

I figured this out and the answer was not in the java.policy file.

I went to the Agent Properties and changed the Runtime Security Level to 2. Allow Restricted Operations in the security tab.

Looks like its working now. I don’t know why that was not required on the client, but it appears to work fine with this change. Hope this helps someone else. Thanks.