Found the problem.
I must start Tomcat With A SecurityManager.
%CATALINA_HOME%\bin\catalina start -security
jpsm wrote:
>
> I am using some classes that need to be able to call
> java.lang.Thread.setContextClassLoader in a web-application.
>
> To that end I added
>
>
I am using some classes that need to be able to call
java.lang.Thread.setContextClassLoader in a web-application.
To that end I added
grant codeBase "file:${catalina.home}/webapps/AppX/-"{
permission java.lang.RuntimePermission "setContextClassLoader";
}
to my catalina.policy file
But the prob