Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-31898

(7.1.z) JSF12TestCase test fail with security manager

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 7.1.14.GA
    • 7.1.12.GA
    • None

      JSF12TestCase fail when security manager with the following stacktrace

       

      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "getClassLoader")" in code source "(vfs:/content/multiJsf.war/ <no signer certificates>)" of "org.apache.jasper.servlet.JasperLoader@3779356d")
       at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:290)
       at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:187)
       at java.lang.ClassLoader.checkClassLoaderPermission(ClassLoader.java:1521)
       at java.lang.Thread.getContextClassLoader(Thread.java:1448)
       at com.sun.faces.util.Util.getCurrentLoader(Unknown Source)
       at com.sun.faces.util.ReflectionUtils.lookupMethod(Unknown Source)
       at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(Unknown Source)
       at org.apache.jsp.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:141)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:109)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433) 

              gsamios Giorgos Samios
              gsamios Giorgos Samios
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: