Re: jspwiki.policy and anonymous users

Janne Jalkanen <[email protected]> Tue, 11 Sep 2007 00:51:10 +0300
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
> This explains why I get this warning from the logs:
> WARN com.ecyrd.jspwiki.auth.PolicyLoader  - You have set your '
> java.security.policy' to point at '/file:/home/claudia/Tools/apache-
> tomcat-5.5.20/webapps/wiki4/WEB-INF/jspwiki.policy', but that file  
> does not
> seem to exist.  I'll continue anyway, since this may be something  
> specific
> to your servlet container.  Just consider yourself warned.
>
> However I can under no conditions get the container to point to the  
> right
> security policy file. I have
> undeployed all other wikis and resorted back to the original  
> downloaded just
> called it  wiki4. The physical file is there so why can't it find  
> it????

Have you possibly set "-Djava.security.policy=..." somewhere in your  
CATALINA_OPTS, JAVA_OPTS, catalina.sh or startup.sh?

It also looks like you have an extra "/" in front of "file:", which  
might explain the problem...

/Janne