Titlejava.security.policy file not found
Date26-Jun-2007 17:40:19 EEST
Version2.4.102
Submitter194.246.122.12
Bug criticalityLightBug
Browser versionCamino
Bug statusNewBug
PageProvider used
Servlet ContainerTomcat 5.5
Operating SystemUbuntu
URL
Java version1.6.0_01

Using default configuration (no policy file specified) I get this file-not-found warning:

'/var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF/lib/file:/var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF/jspwiki.policy' does not seem to exist.

Well, this true. But /var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF/jspwiki.policy exists. Maybe only the logging is incorrect.

2007-06-26 14:26:50,209 http-8180-Processor25 WARN com.ecyrd.jspwiki.auth.PolicyLoader - You have set your 'java.security.policy' to point at '/var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF/lib/file:/var/lib/tomcat5.5/webapps/JSPWiki/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. 2007-06-26 14:26:50,210 http-8180-Processor25 WARN com.ecyrd.jspwiki.auth.PolicyLoader - I could not locate the JSPWiki keystore ('jspwiki.jks') in the same directory as your jspwiki.policy file. On many servlet containers, such as Tomcat, this needs to be done. If you keep having access right permissions, please try copying your WEB-INF/jspwiki.jks to /var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF/lib/file:/var/lib/tomcat5.5/webapps/JSPWiki/WEB-INF

---

Hmmm my problem is a little bit diffrent..

i try to use a specific jspwiki.policy file and set the file in my .properties which is succesful used by the wiki-software

java.security.policy=/opt/web/apps/testwiki_2.4.100/Wiki_Entw/WEB-INF/jspwiki_intern.policy

But the jspwiki.log and SecurityConfig.jsp dont display my policy-configurations ive used before in "jspwiki.policy" (so iam absolutely sure that this file is right formatted and so on ...

jspwiki.log says:

2007-06-28 14:29:59,626 [main] INFO com.ecyrd.jspwiki.auth.AuthenticationManager  - Security policy not configure
d. Installing default policy: null. Please set the java.security.policy system property, if you're not happy with
 the default.
2007-06-28 14:29:59,626 [main] ERROR com.ecyrd.jspwiki.auth.AuthenticationManager  - Could not install security p
olicy: URL for security policy cannot be null.
2007-06-28 14:29:59,640 [main] INFO com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - Examining jndi:/lo
Whats the Problem here?

Thanks for AnswerMe Quick!

MartinU

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 28-Jun-2007 15:38 by 193.27.50.74