WSO2身份服务器。处理请求时出错

时间:2014-02-12 11:47:23

标签: wso2 wso2is

访问链接到WSO2 Identity Server的tomcat应用程序时出现以下错误

  

TID [-1234] [IS] [2014-02-12 11:43:34,386]错误
  {org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet} -   处理身份验证请求时出错!   org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil.unmarshall(SAMLSSOUtil.java:193)   org.wso2.carbon.identity.sso.saml.SAMLSSOService.validateSPInitSSORequest(SAMLSSOService.java:67)   org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleSPInitSSO(SAMLSSOProviderServlet.java:236)   org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:132)   org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:81)   javax.servlet.http.HttpServlet.service(HttpServlet.java:755)   javax.servlet.http.HttpServlet.service(HttpServlet.java:848)   org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)   org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)   org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)   org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)   javax.servlet.http.HttpServlet.service(HttpServlet.java:848)   org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)   org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)   org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)   org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47)   org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)   org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)   org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)   org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)   org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)   org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)   org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:589)   org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1653)   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)   java.lang.Thread.run(Thread.java:744)

2 个答案:

答案 0 :(得分:1)

我猜您正在使用WSO2IS的SSO Web应用程序。根据错误,似乎是从SSO Web应用程序发送的SAML请求无效。您能否提供一些有关WSO2IS版本以及您尝试过的Web应用程序下载位置的更多详细信息。 但是,有关更多详细信息,您可以通过在/ repository / conf

中的log4j.prorperties文件中添加以下条目,在SAML组件中启用调试日志
  

log4j.logger.org.wso2.carbon.identity.sso.saml = DEBUG

答案 1 :(得分:0)

我遇到了同样的问题并通过取消选中“启用签名验证”和“启用断言加密”来修复它。