WSO2 API Manager 2.1尝试使用Resident Identity Provider时出错

时间:2017-03-23 10:01:51

标签: wso2-am

尝试访问Resident Identity Provider时,页面显示为空白。

https://localhost:9443/carbon/idpmgt/idp-mgt-edit-load-local.jsp?region=region1&item=identity_providers_resident

在日志中我可以看到此错误。

TID: [-1234] [] [2017-03-22 14:42:52,171] ERROR {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() fo
r servlet bridgeservlet threw exception {org.apache.catalina.core.ApplicationDispatcher}
java.io.IOException: An exception occurred processing JSP page /idpmgt/idp-mgt-edit-local.jsp at line 61

58:     ConfigurationContext configContext = (ConfigurationContext) config.getServletContext()
59:             .getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
60:     IdentityGovernanceAdminClient client = new IdentityGovernanceAdminClient(cookie, backendServerURL, configContext
);
61:    Map<String, Map<String, List<ConnectorConfig>>> catMap = client.getConnectorList();
62: 
63: %>
64: 

2.1正在发生这种情况。它与2.0一起运作良好。

有人知道如何解决这个问题吗?

谢谢,

JP

1 个答案:

答案 0 :(得分:0)

这已通过APIM 2.1.0的wum更新修复。

作为一种解决方法,您可以从WSO2身份服务器5.3.0( require(MASS) ## Generate some data and manipulate it set.seed(47) Initial = rbeta(1e5, 2, 3) d <- density(Initial) b.5 <- dbeta(seq(0, 1, length.out = length(d$y)), 50, 50) b.5 <- b.5 / (max(b.5) / max(d$y)) # Scale down to max of original density b.6 <- dbeta(seq(0, 1, length.out = length(d$y)), 60, 40) b.6 <- b.6 / (max(b.6) / max(d$y)) # Collect maximum densities at each x to use as sample probability weights p <- pmax(d$y, b.5, b.6) Final <- sample(d$x, 1e4, replace = TRUE, prob = p) ## THIS IS MY FINAL DATA hist(Final, freq = F, ylim = c(0, 2)) ## HERE IS A HISTOGRAM m <- MASS::fitdistr(Final, "beta", ## RUN THIS TO SEE HOW THE ERROR COMES UP start = list(shape1 = 1, shape2 = 1)) )复制以下jar并将其粘贴到repository/components/plugins文件夹中:

  1. repository/components/dropins
  2. org.wso2.carbon.identity.governance_1.0.2.jar
  3. org.wso2.carbon.identity.event_5.7.5.jar
  4. 同时从Identity Server 5.3.0复制org.wso2.carbon.identity.account.suspension.notification.task_1.0.2.jar文件(在identity-event.properties中)并将其粘贴到api manager 2.1.0的相同位置。

    然后重启服务器。