java.lang.IllegalArgumentException

File d:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\jc_wiki\WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited access to it.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21780

  • via Apache's JIRA Issue Tracker by Curtis Pendleton, 11 months ago
    File d:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\jc_wiki\WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited access to it.
  • Document base D:\Program Files\Tomcat\tomcat-7.0\webapps\ROOT does not exist or is not a readable directory
  • Document base D:\apache-tomcat-7.0.57\webapps\ROOT does not exist or is not a readable directory
  • Stack trace

    • java.lang.IllegalArgumentException: File d:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\jc_wiki\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:491) at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:562) at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:406) at org.apache.wiki.WikiEngine.getInstance(WikiEngine.java:346) at org.apache.wiki.ui.WikiServletFilter.init(WikiServletFilter.java:83) at org.apache.wiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:74) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.