Appletsecurityexception java agent

I have created a java agent in Domino and I receive the following errors when I run this agent:Missing resource appletsecurityexception.CheckSecurityAccess

COM.ibm.JEmpower.applet.AppletSecurityException: ??

at COM.ibm.JEmpower.applet.AppletSecurity.checkSecurityPermission(AppletSecurity.java:1197)



at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1382)



at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1318)



at java.lang.SecurityManager.checkSecurityAccess(SecurityManager.java:1711)



at java.security.Security.check(Security.java:1069)



at java.security.Security.insertProviderAt(Security.java:535)



at java.security.Security.addProvider(Security.java:593)



at JavaAgent.NotesMain(JavaAgent.java:16)



at lotus.domino.AgentBase.runNotes(Unknown Source)



at lotus.domino.NotesThread.run(NotesThread.java:208)

Now I have no Idea where to set the security access for this…

Any help would be greatly appreciated.

Subject: appletsecurityexception java agent

I can see you are running your agent on the client. Examine your ECL settings.

If you were running on the server, security is set in server record/security tab.

Subject: RE: appletsecurityexception java agent

  • Julie Lady. Zup? I (and a zillion others) met you at LotusSphere one year. (grin)- I presume the agent running on my client runs with my credentials, and not something else? If so, I have full rights. Just making sure! Thanks for your time…

Subject: RE: appletsecurityexception java agent

My ECL allows full access…Just to be safe I turned everything on…

I don’t believe that this is an ECL issue. I think it is an issue with the applet security profile. But I am not sure as to what to turn on to make this work.

Do you have any other ideas Julie?

Thanks for your response

Subject: Solution

  • Kudos to Craig Szolnis for this catch.- Notes security doesn’t allow providers to be added in code; they may only be added in the java.security file. This makes sense, from a security standpoint, but confuses poeple when code that works everywhere else suddenly stops working. (shrug)

  • Hope this helps someone else…