Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 1916 invoked from network); 5 May 2010 11:53:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 11:53:24 -0000 Received: (qmail 72491 invoked by uid 500); 5 May 2010 11:53:24 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 72476 invoked by uid 500); 5 May 2010 11:53:24 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 72468 invoked by uid 99); 5 May 2010 11:53:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 11:53:24 +0000 X-ASF-Spam-Status: No, hits=-1391.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 11:53:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o45Br2Pm025605 for ; Wed, 5 May 2010 11:53:02 GMT Message-ID: <9312002.19581273060382012.JavaMail.jira@thor> Date: Wed, 5 May 2010 07:53:02 -0400 (EDT) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-646) Execption when running the .war file without unpacking it In-Reply-To: <1779159.142961271956550789.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JSPWIKI-646?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128= 64293#action_12864293 ]=20 Harry Metske commented on JSPWIKI-646: -------------------------------------- My memory sometimes lets me down, so to record the current status: I sent this note on the dev-list on May 1 2010: {quote} Andrew, one of the root causes of this problem lies in org.freshcookies.security.po= licy.PolicyReader (we have seen this before, but never really fixed it). I tried to find the source, and tried to access freshcookies.org, but it do= esnt respond. Could you send a source tarball or something, or do you want to fix it your= self ? {quote} > Execption when running the .war file without unpacking it > --------------------------------------------------------- > > Key: JSPWIKI-646 > URL: https://issues.apache.org/jira/browse/JSPWIKI-646 > Project: JSPWiki > Issue Type: Bug > Components: Servlet Container/Java compatibility > Affects Versions: 2.8.3, 3.0 > Environment: Pax-Web 0.7.2, Felix 2.0.2, Pax-Runner > Reporter: Matthias K=C3=BCspert > Assignee: Harry Metske > Priority: Minor > Attachments: jspwiki-conf-1.0.0-SNAPSHOT.jar, jspwiki.bnd > > > When JSPWiki is run directly from the .war (not unpacking it into a direc= tory) startup fails with the following exception: > java.lang.IllegalArgumentException: File /WEB-INF/jspwiki.policy does not= exist, or the SecurityManager prohibited access to it. > =09at org.freshcookies.security.policy.PolicyReader.(PolicyReader.j= ava:188) > =09at org.freshcookies.security.policy.LocalPolicy.refresh(LocalPolicy.ja= va:324) > =09at com.ecyrd.jspwiki.auth.AuthorizationManager.initialize(Authorizatio= nManager.java:416) > =09at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:556) > =09at com.ecyrd.jspwiki.WikiEngine.(WikiEngine.java:403) > =09at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:344) > =09at com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:= 79) > =09at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97= ) > Other files from WEB-INF are read without problems, e.g. web.xml: > [FelixStartLevel] DEBUG org.ops4j.pax.web.service.jetty.internal.HttpServ= iceContext - getting resource: [/WEB-INF/web.xml] > [FelixStartLevel] DEBUG org.ops4j.pax.web.extender.war.internal.WebAppWeb= ContainerContext - Searching bundle [JSPWiki [1]] for resource [/WEB-INF/we= b.xml], normalized to [WEB-INF/web.xml] > [FelixStartLevel] DEBUG org.ops4j.pax.web.extender.war.internal.WebAppWeb= ContainerContext - Resource found as url [bundle://1.0:36/WEB-INF/web.xml] > [FelixStartLevel] DEBUG org.ops4j.pax.web.service.jetty.internal.HttpServ= iceContext - found resource: bundle://1.0:36/WEB-INF/web.xml --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.