Access Denied Eror

Hi Java Gurus,

We are getting “Error access denied java.util.propertypermission java.protocol.handler.pkgs write, lotus”

error message on and off in our application, added permission java.util.PropertyPermission “java.protocol.handler.pkgs”, “write”; in java.policy.

However we are getting another error message as follows “Unexpected error occurred in the function webservice LS2J Error: Java constructor failed to execute”.

Is there any workaround to fix above issue.

Thanks & Regards,

P. Mallik Ram

Subject: permissions, thrid-party applications

On the server, at the operating system level, be sure the related Java files have the correct permissions to allow Domino to use them. Sometimes changes at the OS level (updates, etc) can change the permissions at the file or folder level.

Since you said it seems intermittent, another thing to check is thrid party applications, especially backup and anti-virus type applications. If these applications are “grabbing” the files, even for a short time, they would be unavailable to Domino during that time. The key is to be sure you’re using third party apps that are Domino Server friendly.

Subject: Intermittent Error Messages

Hi Maria,

I got some useful info to add below statement on client

  1. Added below line to java.policy file.

permission java.util.PropertyPermission “java.protocol.handler.pkgs”, “write”;

  1. Added below line in java.security file.

security.provider.10=com.sun.net.ssl.internal.ssl.Provider

  1. Copy jcert.jar, jnet.jar, jsse.jar files to ext folder of the jvm at domino server.

  2. Below line already exists in our java code.

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

Above two steps did not help much do we need to help resolve the issue. Do we need to add the third step to get it resolved and restart the domino server?

Thanks,

Pervela Mallik Ram Sharma

Subject: not a java expert

I’m not a java expert, so I don’t know how to answer that. I would suggest that whomever provided the steps you found would be the one to ask.