Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 52005 invoked from network); 10 Jan 2011 14:24:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2011 14:24:14 -0000 Received: (qmail 70046 invoked by uid 500); 10 Jan 2011 14:24:14 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 69054 invoked by uid 500); 10 Jan 2011 14:24:12 -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 69045 invoked by uid 99); 10 Jan 2011 14:24:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 14:24:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 10 Jan 2011 14:24:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0AENlcd012866 for ; Mon, 10 Jan 2011 14:23:47 GMT Message-ID: <30334164.253911294669427351.JavaMail.jira@thor> Date: Mon, 10 Jan 2011 09:23:47 -0500 (EST) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Resolved: (JSPWIKI-646) Execption when running the .war file without unpacking it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-646?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Harry Metske resolved JSPWIKI-646. ---------------------------------- Resolution: Fixed Better late than never : Fixed in 2.8.4-svn-13 and 3.0.0-svn-219 > 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-646.patch, jspwiki-conf-1.0.0-SNAPSHOT.jar, = jspwiki.bnd, paxrunner.log > > > 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.