0 Replies Latest reply on Jun 17, 2008 7:09 AM by Michael Anstis

    Use with Java 2 Security Manager

    Michael Anstis Newbie

      Hi,

      I'm using Netbeans 6, RichFaces 3.2.1ga and JSF RI with Security manager enabled on (vanila) Tomcat 6.0. When launching I receive the following error:-

      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.jasper.el)

      The application launches and runs OK If I enable access with:-

      java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el"
      java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el.*"

      My application is hosted on a shared Tomcat installation and the ISP wants me to prove, understandably, that the permissions are required with evidence of documentation.

      All I can find is reference to Woodstock having issues with the Theme Servlet:-

      https://woodstock.dev.java.net/servlets/BrowseList?list=issues&by=thread&from=869877

      Can anybody advise on running RichFaces with Security Manager enabled - does RichFaces Theme Servlet have the same issue as Woodstock?

      Thanks,

      Mike