tomcat - Spring SAML - Cannot create a session after the response has been committed -
we using spring saml make out product sp. encounter issue when our active user can't connect our product. exception in log when tried connect. know how fix it?
[27 jul 2017 19:04:58] - servlet.service() servlet invoker threw exception
java.lang.illegalstateexception: cannot create session after response has been committed
at org.apache.catalina.connector.request.dogetsession(request.java:2437) @ org.apache.catalina.connector.request.getsession(request.java:2157) @ org.apache.catalina.connector.requestfacade?.getsession(requestfacade?.java:833) @ org.apache.catalina.connector.requestfacade?.getsession(requestfacade?.java:844) @ javax.servlet.http.httpservletrequestwrapper?.getsession(httpservletrequestwrapper?.java:224) @ javax.servlet.http.httpservletrequestwrapper?.getsession(httpservletrequestwrapper?.java:224) @ javax.servlet.http.httpservletrequestwrapper?.getsession(httpservletrequestwrapper?.java:224) @ javax.servlet.http.httpservletrequestwrapper?.getsession(httpservletrequestwrapper?.java:224) @ com.easa.container.filter.fileaccessfilterbase?.dofilter(fileaccessfilterbase?.java:125) @ org.apache.catalina.core.applicationfilterchain?.internaldofilter(applicationfilterchain?.java:235) @ org.apache.catalina.core.applicationfilterchain?.dofilter(applicationfilterchain?.java:206) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:330) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor?.invoke(filtersecurityinterceptor?.java:118) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor?.dofilter(filtersecurityinterceptor?.java:84) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.access.exceptiontranslationfilter?.dofilter(exceptiontranslationfilter?.java:113) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.session.sessionmanagementfilter?.dofilter(sessionmanagementfilter?.java:103) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.authentication.anonymousauthenticationfilter?.dofilter(anonymousauthenticationfilter?.java:113) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.servletapi.securitycontextholderawarerequestfilter?.dofilter(securitycontextholderawarerequestfilter?.java:54) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.savedrequest.requestcacheawarefilter?.dofilter(requestcacheawarefilter?.java:45) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.filterchainproxy?.dofilterinternal(filterchainproxy?.java:186) @ org.springframework.security.web.filterchainproxy?.dofilter(filterchainproxy?.java:166) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.context.securitycontextpersistencefilter?.dofilter(securitycontextpersistencefilter?.java:87) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.saml.metadata.metadatageneratorfilter?.dofilter(metadatageneratorfilter?.java:87) @ org.springframework.security.web.filterchainproxy?$virtualfilterchain?.dofilter(filterchainproxy?.java:342) @ org.springframework.security.web.filterchainproxy?.dofilterinternal(filterchainproxy?.java:192) @ org.springframework.security.web.filterchainproxy?.dofilter(filterchainproxy?.java:160) @ org.springframework.web.filter.delegatingfilterproxy?.invokedelegate(delegatingfilterproxy?.java:346) @ org.springframework.web.filter.delegatingfilterproxy?.dofilter(delegatingfilterproxy?.java:259) @ org.apache.catalina.core.applicationfilterchain?.internaldofilter(applicationfilterchain?.java:235) @ org.apache.catalina.core.applicationfilterchain?.dofilter(applicationfilterchain?.java:206) @ org.apache.catalina.core.standardwrappervalve?.invoke(standardwrappervalve?.java:233) @ org.apache.catalina.core.standardcontextvalve?.invoke(standardcontextvalve?.java:191) @ org.apache.catalina.core.standardhostvalve?.invoke(standardhostvalve?.java:127) @ org.apache.catalina.valves.errorreportvalve?.invoke(errorreportvalve?.java:103) @ org.apache.catalina.core.standardenginevalve?.invoke(standardenginevalve?.java:109) @ org.apache.catalina.connector.coyoteadapter?.service(coyoteadapter?.java:293) @ org.apache.coyote.http11.http11processor.process(http11processor.java:861) @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:606) @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:489) @ java.lang.thread.run(unknown source)
Comments
Post a Comment