jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JSPWIKI-838) WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited access to it.
Date Tue, 13 May 2014 22:01:15 GMT
Tony Johnson created JSPWIKI-838:
------------------------------------

             Summary: WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited
access to it.
                 Key: JSPWIKI-838
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-838
             Project: JSPWiki
          Issue Type: Bug
          Components: Default template
    Affects Versions: 2.10
         Environment: Windows 8.1
Apache Tomcat/7.0.53
Java SE Development Kit 8 Update 5 (64 bit)
JSPWiki.war 2.10.0
            Reporter: Tony Johnson
             Fix For: 2.10


When trying to deploy the JSPWiki.war file the following exceptions occur

2014-05-13 14:49:41,351 [localhost-startStop-1] INFO org.apache.wiki.auth.AuthorizationManager
 - We found security policy URL: file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/WDSWiki/WEB-INF/jspwiki.policy
and transformed it to file C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%207.0\webapps\WDSWiki\WEB-INF\jspwiki.policy
2014-05-13 14:49:41,351 [localhost-startStop-1] FATAL org.apache.wiki.WikiEngine  - Failed
to start managers.
java.lang.IllegalArgumentException: File C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%207.0\webapps\WDSWiki\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 org.apache.wiki.auth.AuthorizationManager.initialize(AuthorizationManager.java:502)
	at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:586)
	at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:430)
	at org.apache.wiki.WikiEngine.getInstance(WikiEngine.java:370)
	at org.apache.wiki.ui.WikiServletFilter.init(WikiServletFilter.java:82)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
2014-05-13 14:49:41,366 [localhost-startStop-1] ERROR org.apache.wiki.WikiEngine  - ERROR:
Failed to create a Wiki engine, stacktrace follows 
org.apache.wiki.api.exceptions.WikiException: JSPWiki: Unable to load and setup properties
from jspwiki.properties. Failed to start managers: File C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%207.0\webapps\WDSWiki\WEB-INF\jspwiki.policy
does not exist, or the SecurityManager prohibited access to it.
	at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:440)
	at org.apache.wiki.WikiEngine.getInstance(WikiEngine.java:370)
	at org.apache.wiki.ui.WikiServletFilter.init(WikiServletFilter.java:82)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.wiki.api.exceptions.WikiException: Failed to start managers: File C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%207.0\webapps\WDSWiki\WEB-INF\jspwiki.policy
does not exist, or the SecurityManager prohibited access to it.
	at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:636)
	at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:430)
	... 18 more
Caused by: java.lang.IllegalArgumentException: File C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%207.0\webapps\WDSWiki\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 org.apache.wiki.auth.AuthorizationManager.initialize(AuthorizationManager.java:502)
	at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:586)
	... 19 more







--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message