我正在评估WSO2 Identity Server 5.0.0 SP1。点击管理网站中的"Resident Identity Provider"
链接后,我收到了错误消息。此错误消息为"Error while loading Identity Provider"
。我将在本文末尾的日志文件中包含堆栈。
到目前为止,我配置的只是一个连接到Active Directory服务器的辅助用户存储。用户和组显示在用户/角色屏幕中。如果单击“用户配置文件”链接,我会收到另一个错误。
我已为Identity Server安装了新的SSL证书,并更新了XML配置文件以使用主机名而不是localhost。
有没有人有什么建议可能有什么问题?我试图做的是测试我是否可以使用活动目录中的用户登录WSO2仪表板 - 到目前为止一切都已失败。
日志错误:
> IdentityProviderMgtServiceIdentityApplicationManagementExceptionException
> TID[-1234] [IS] [2015-03-06 14:06:39,690] ERROR {org.wso2.carbon.idp.mgt.ui.client.IdentityProviderMgtServiceClient} -
> IdentityProviderMgtServiceIdentityApplicationManagementExceptionException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source) java.lang.reflect.Constructor.newInstance(Unknown Source)
> java.lang.Class.newInstance(Unknown Source)
> org.wso2.carbon.idp.mgt.stub.IdentityProviderMgtServiceStub.getResidentIdP(IdentityProviderMgtServiceStub.java:1307)
> org.wso2.carbon.idp.mgt.ui.client.IdentityProviderMgtServiceClient.getResidentIdP(IdentityProviderMgtServiceClient.java:86)
> org.apache.jsp.idpmgt.idp_002dmgt_002dedit_002dload_002dlocal_jsp._jspService(org.apache.jsp.idpmgt.idp_002dmgt_002dedit_002dload_002dlocal_jsp:91)
> 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: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.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.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown Source)
> 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.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.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$RequestDispatcherAdaptor.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)
> 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(Unknown Source)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
答案 0 :(得分:1)
如果其他人遇到这种情况 - 似乎问题是当您更改SSL证书时,如果您在JKS密钥库中使用“wso2carbon”以外的证书别名。