[logback-user] SecurityException using logback

Martin Burchard martin.burchard at pentos.com
Wed Jul 6 00:06:19 CEST 2011


Hi,

I don't find out, which library is linked dynamic.
Also tried to set this permission

permission java.lang.RuntimePermission "loadLibrary.*";

But always get the following message.

05.07.2011 23:58:09   HTTP JVM: java.lang.SecurityException: Dynamisches 
Linken des Bibliothekscodes {0} ist nicht zulässig
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.notes.AgentSecurityManager.checkLink(Unknown Source)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:962)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.System.loadLibrary(System.java:470)
05.07.2011 23:58:09   HTTP JVM:         at 
com.ibm.domino.napi.c.C.initLibrary(C.java:50)
05.07.2011 23:58:09   HTTP JVM:         at 
com.ibm.domino.xsp.module.nsf.NotesContext.<clinit>(NotesContext.java:95)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.J9VMInternals.initializeImpl(Native Method)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
05.07.2011 23:58:09   HTTP JVM:         at 
com.ibm.domino.xsp.module.nsf.platform.AbstractNotesDominoPlatform.getSecurityContext(AbstractNotesDominoPlatform.java:240)
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.notes.AgentSecurityManager.getSecurityContext(Unknown Source)
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.notes.AgentSecurityManager.checkRead(Unknown Source)
05.07.2011 23:58:09   HTTP JVM:         at 
sun.misc.URLClassPath.check(URLClassPath.java:627)
05.07.2011 23:58:09   HTTP JVM:         at 
sun.misc.URLClassPath.checkURL(URLClassPath.java:601)
05.07.2011 23:58:09   HTTP JVM:         at 
java.net.URLClassLoader$5.next(URLClassLoader.java:760)
05.07.2011 23:58:09   HTTP JVM:         at 
java.net.URLClassLoader$5.hasMoreElements(URLClassLoader.java:775)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.ClassLoader.getResources(ClassLoader.java:464)
05.07.2011 23:58:09   HTTP JVM:         at 
org.slf4j.LoggerFactory.singleImplementationSanityCheck(LoggerFactory.java:212)
05.07.2011 23:58:09   HTTP JVM:         at 
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:110)
05.07.2011 23:58:09   HTTP JVM:         at 
org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
05.07.2011 23:58:09   HTTP JVM:         at 
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
05.07.2011 23:58:09   HTTP JVM:         at 
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
05.07.2011 23:58:09   HTTP JVM:         at 
de.pentos.domino.base.AgentBase.<init>(AgentBase.java:20)
05.07.2011 23:58:09   HTTP JVM:         at 
de.pentos.domino.agents.AgTest99.<init>(AgTest99.java:23)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.J9VMInternals.newInstanceImpl(Native Method)
05.07.2011 23:58:09   HTTP JVM:         at 
java.lang.Class.newInstance(Class.java:1325)
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.domino.AgentInfo.newInstance(Unknown Source)
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.domino.AgentLauncher.run(Unknown Source)
05.07.2011 23:58:09   HTTP JVM:         at 
lotus.domino.NotesThread.run(Unknown Source)
05.07.2011 23:58:09   HTTP JVM: 23:58:10.226 [AgentThread: 
de.pentos.domino.agents.AgTest99] DEBUG de.pentos.domino.base.AgentBase - 
Start Notesmain
05.07.2011 23:58:09   HTTP JVM: 23:58:10,138  -INFO in 
ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource 
[logback.groovy]
05.07.2011 23:58:09   HTTP JVM: 23:58:10,138  -INFO in 
ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource 
[logback-test.xml]
05.07.2011 23:58:09   HTTP JVM: 23:58:10,139  -INFO in 
ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource 
[logback.xml]
05.07.2011 23:58:09   HTTP JVM: 23:58:10,142  -INFO in 
ch.qos.logback.classic.LoggerContext[default] - Setting up default 
configuration.
05.07.2011 23:58:09   HTTP JVM: 23:58:10.246 [AgentThread: 
de.pentos.domino.agents.AgTest99] DEBUG de.pentos.domino.agents.AgTest99 - 
Starte Test Agent
05.07.2011 23:58:09   HTTP JVM: 23:58:10.299 [AgentThread: 
de.pentos.domino.agents.AgTest99] INFO  de.pentos.domino.agents.AgTest99 - 
[c] Document 7635EABB1A8067DEC12578BF003D42E6  last modified 02.07.2011 
0:20:28.0 was changed by CN=Martin Burchard/O=Pentos/C=DE.
05.07.2011 23:58:09   HTTP JVM: 23:58:10.300 [AgentThread: 
de.pentos.domino.agents.AgTest99] DEBUG de.pentos.domino.agents.AgTest99 - 
Test Agent abgeschlossen
05.07.2011 23:58:09   HTTP JVM: 23:58:10.307 [AgentThread: 
de.pentos.domino.agents.AgTest99] DEBUG 
de.pentos.domino.base.SessionWrapper - The session 
dev/gd/base.nsf\AgTest99b, started at 05.07.2011 23:58:10.238, has been 
recycled!
05.07.2011 23:58:09   HTTP JVM: 23:58:10.307 [AgentThread: 
de.pentos.domino.agents.AgTest99] DEBUG de.pentos.domino.base.AgentBase - 
Notesmain finshed

Any Ideas?
Regards Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110706/b54866bd/attachment.html>


More information about the Logback-user mailing list