Home

Add a comment

 

Avatar: Dwain A Wuerfel

Re: Java in Notes/Domino Explained: On Java Security and how it relates to Notes/Domino

I have added your JavaLib to my Java agent and put the Test method and reflectionutil code in my NotesMain, but still getting these error messages when using the com.ibm.db2.jcc.DB2Driver class.  When I add the db2jcc.jar to the build path I get a 'ClassNotFoundException' and if I add it as an archive to my agent some other error.

<div>ef655702-c6ca-40d7-b58d-e73fbe32baf4</div> <div>Runtime Exception...</div> <div>java.security.AccessControlException: Access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.security.AccessController.checkPermission(AccessController.java:132)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at COM.ibm.JEmpower.applet.AppletSecurity.superDotCheckPermission(AppletSecurity.java:1449)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1617)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1464)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:118)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at ReflectionUtil.doAccessible(Unknown Source)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at ReflectionUtil$1.run(Unknown Source)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.security.AccessController.doPrivileged(AccessController.java:277)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at ReflectionUtil.doAccessiblePrivileged(Unknown Source)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at JavaAgent.NotesMain(JavaAgent.java:69)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at lotus.domino.AgentBase.runNotes(Unknown Source)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at lotus.domino.NotesThread.run(Unknown Source)</div> <div>java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.lang.Class.forNameImpl(Native Method)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at java.lang.Class.forName(Class.java:141)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at JavaAgent.NotesMain(JavaAgent.java:97)</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>at lotus.domino.AgentBase.runNotes(Unknown Source)</div>

<span class="Apple-tab-span" style="white-space: pre;"> </span>at lotus.domino.NotesThread.run(Unknown Source) 


Re: Java in Notes/Domino Explained: On Java Security and how it relates to Notes/Domino


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).