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
> 
> grant codeBase "file:${catalina.home}/webapps/AppX/-"{<br>
> permission java.lang.RuntimePermission "setContextClassLoader";<br>
> }
> 
> to my catalina.policy file.
> 
> But the problem persistis, can anyone help? What is missing?
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-5%2C-catalina.policy-problem-tf2167845.html#a6009912
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to