更新wso2is 5.0抛出错误

时间:2014-11-04 11:45:08

标签: wso2 wso2is

尝试更改" 身份提供商实体ID "在管理控制台用户界面,但没有运气,抛出此错误" Error while updating resident Identity Provider information"

非常感谢任何帮助。

找不到身份验证器:samlsso

  

TID [-1234] [IS] [2014-11-04 19:27:27,930] ERROR {org.wso2.carbon.idp.mgt.ui.client.IdentityProviderMgtServiceClient} - 找不到身份验证器:samlsso org.apache .axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)org.apache.axis2.description.RobustOutOnlyAxisOperation $ RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java :445)org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)org.wso2.carbon.idp.mgt.stub .IdentityProviderMgtServiceStub.updateResidentIdP(IdentityProviderMgtServiceStub.java:2206)org.wso2.carbon.idp.mgt.ui.client.IdentityProviderMgtServiceClient.updateResidentIdP(IdentityProviderMgtServiceClient.java:101)org.apache.jsp.idpmgt.idp_002dmgt_002dedit_002dfinish_002dlocal_jsp._jspService(org.apache .jsp.idpmgt.idp_002dmgt_002dedit_ 002dfinish_002dlocal_jsp:113)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)javax.servlet.http.HttpServlet.service(httpServlet.java:848)org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:403)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)javax.servlet.http.HttpServlet。 service(HttpServlet.java:848)org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)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:6 8)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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)org.apache.catalina。 core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java: 37)org.eclipse.equinox.http.helper.ContextPathServletAdaptor $ RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)org.apache.jasper.runtime。 PageContextImpl.include(PageContextImpl.java:700)sun.r eflect.GeneratedMethodAccessor50.invoke(未知来源)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:606)org.apache.tiles.jsp.context.JspUtil .doInclude(JspUtil.java:87)org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)org .apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)org.apache.tiles.jsp.taglib.InsertAttributeTag.render (InsertAttributeTag.java:117)org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)org.apache .tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles _insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)org.apache.jasper。 runtime.HttpJspBase.service(HttpJspBase.java:111)javax.servlet.http.HttpServlet.service(httpServlet.java:848)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)org.apache。 jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)javax.servlet.http.HttpServlet.service(HttpServlet.java:848)org。 wso2.carbon.ui.JspServlet.service(JspServlet.java:155)org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)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.intern al.ProxyServlet.processAlias(ProxyServlet.java:128)org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)org.apache.catalina。 core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java: 30)org.eclipse.equinox.http.helper.ContextPathServletAdaptor $ Req uestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)org.wso2.carbon.ui.action.ActionHelper.render( ActionHelper.java:52)org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)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:68)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)或者.gap。 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(AbstractHttp1 1Processor.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:745)

1 个答案:

答案 0 :(得分:0)

您是否为MySQL或任何其他数据库配置了Identity Server?这适用于默认的H2数据库。但是我发现了Identity Server的MySQL脚本存在一些问题。我认为这可能是问题所在。

如果您打开<IS_HOME>/dbscripts/identity/application-mgt/mysql.sql文件,则可以看到以下条目

INSERT INTO IDP_AUTHENTICATOR (TENANT_ID, IDP_ID, NAME) VALUES (-1234, 1, 'saml2sso');

必须更改为

INSERT INTO IDP_AUTHENTICATOR (TENANT_ID, IDP_ID, NAME) VALUES (-1234, 1, 'samlsso');

不是saml2sso,必须是samlsso。如果您检查h2.sql文件,则为samlsso因此没有问题

我认为,您可以重新运行该脚本并解决此问题。