0 Replies Latest reply on Oct 26, 2011 9:56 AM by William B

    Error message when i'm logging in my application.

    William B Newbie

      Hello, i've been looking on the net but no luck. I'm using Jboss 4.2.2

      The application works fine, i just want to get ride of that trace.

       

      15:15:28,065 ERROR [SecurityFlushSessionListener] Exception in sessionDestroyed: java.lang.IllegalArgumentException: No PolicyContextHandler for key=javax.security.auth.Subject.container         at javax.security.jacc.PolicyContext.getContext(PolicyContext.java:107)         at org.jboss.web.tomcat.security.SecurityFlushSessionListener.getSubjectAndSecurityDomain(SecurityFlushSessionListener.java:175)         at org.jboss.web.tomcat.security.SecurityFlushSessionListener.sessionDestroyed(SecurityFlushSessionListener.java:81)         at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)         at org.apache.catalina.session.StandardSession.expire(StandardSession.java:660)         at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1111)         at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)         at org.springframework.security.util.SessionUtils.startNewSessionIfRequired(SessionUtils.java:55)         at org.springframework.security.ui.AbstractProcessingFilter.successfulAuthentication(AbstractProcessingFilter.java:367)         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:272)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)         at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)         at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)         at java.lang.Thread.run(Thread.java:595)

       

      thanks in advance ...