0 Replies Latest reply on Jun 27, 2015 1:36 PM by Narsimha Reddy

    java.lang.IllegalStateException: JBAS018053: No security context found

    Narsimha Reddy Newbie

      Hi All,

       

      I have configured rewritevalve in WEB-INF/jboss-web.xml , below is the configuration:

       

      <valve>

         <class-name>org.jboss.web.rewrite.RewriteValve</class-name>

      </valve>

       

      and I placed the rewrite.properties in WEB-INF.

       

      But when I access the site then I am getting the below error:

       

      Stack Trace is :

       

      18:49:40,337 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8280-4) JBWEB001018: An exception or error occurred in the container during the request processing: java.lang.IllegalStateException: JBAS018053: No security context found

              at org.jboss.as.web.security.SecurityActions$6.run(SecurityActions.java:136) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

              at org.jboss.as.web.security.SecurityActions$6.run(SecurityActions.java:130) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_60]

              at org.jboss.as.web.security.SecurityActions.popRunAsIdentity(SecurityActions.java:130) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-red

      hat-8]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:171) [jboss-as-web-7.2.0.Final-redhat

      -8.jar:7.2.0.Final-redhat-8]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.F

      inal-redhat-1]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]

       

      Please any one suggest the solution to this issue ASAP.

       

      ThanksInAdvance.