2009/6/6 andreas <[email protected]>:
> Hi!
>
> Have anyone beside me had any issues with the software versions mentioned in
> the subject line?
>
>
> First I thought it was my wacky setup, so I tried to "vanilla" directly from
> tomcat.apache.org, and it still fails.
>
> NOTE : Running the same tomcat installation with JDK1.6.0_12 produces no
> errors.
>
>
> This is what I get in 'catalina.out' with JDK1.6.0_14;
>
> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
> java.security.AccessControlException: access denied
> (java.lang.RuntimePermission setContextClassLoader)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
> at
> java.security.AccessController.checkPermission(AccessController.java:546)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.Thread.setContextClassLoader(Thread.java:1351)
> at java.util.logging.LogManager$Cleaner.<init>(LogManager.java:204)
> at java.util.logging.LogManager$Cleaner.<init>(LogManager.java:198)
> at java.util.logging.LogManager.<init>(LogManager.java:235)
> at
> org.apache.juli.ClassLoaderLogManager.<init>(ClassLoaderLogManager.java:47)
> (..)
>
> Something happened in the latest JDK-release, question is what... :)
>
Do you have sources for JDK classes?
I do not have 6u14 installed yet - I have only 6u13, and the
LogManager.Cleaner class there has no explicit constructor and has no
Thread.setContextClassLoader() call.
I think that is what changed.
Without the sources I do not know why it calls it, and whether there
will be any problems due to that.
You may try adding
permission java.lang.RuntimePermission "setContextClassLoader";
for the "file:${catalina.home}/bin/tomcat-juli.jar"
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]