[ 
https://issues.apache.org/jira/browse/JSPWIKI-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649919#action_12649919
 ] 

Harry Metske commented on JSPWIKI-440:
--------------------------------------

If your Tomcat context has unpackWAR="false", this patch won't help you, 
because a few milliseconds later you will get this :

Nov 22, 2008 12:14:15 PM org.apache.catalina.core.ApplicationContext log
INFO: java.lang.IllegalArgumentException: File 
/localhost/jw/WEB-INF/jspwiki.policy does not exist, or the SecurityManager 
prohibited access to it.
        at 
org.freshcookies.security.policy.PolicyReader.<init>(PolicyReader.java:188)
        at 
org.freshcookies.security.policy.LocalPolicy.refresh(LocalPolicy.java:324)
        at 
com.ecyrd.jspwiki.auth.AuthorizationManager.initialize(AuthorizationManager.java:416)
        at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:552)
        at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:399)
        at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:340)
        at 
com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
        at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
        at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:267)

The org.freshcookies.security.policy.LocalPolicy.refresh() requires a File as 
the first parameter, which we obviously don't have when we don't unpack the WAR 
:-( .



> Plesk Installation of *.war
> ---------------------------
>
>                 Key: JSPWIKI-440
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-440
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Servlet Container/Java compatibility
>    Affects Versions: 2.8
>         Environment: I have JAVA 1.5 installed on Suse Linux 10 and use Plesk 
> 9.x with a simple web interface.
>            Reporter: Jens Doll
>            Assignee: Harry Metske
>            Priority: Minor
>
> I just tried to install your Wiki, but did not succeed with it. I use Plesk 
> and a simple dialogue to upload *.war applications.
> You would do yourselves and the community a big favour, if you would kindly 
> configure the Wiki for ease-of -use also under Plesk.
> Greetings from Ahrensburg, Germany,
> Jens Doll

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to