簡體   English   中英

在WAC2 API中發布XACML策略期間

[英]During XACML Policy published issue in WSO2 API

創建XACML策略后,嘗試將其發布到PDP,但出現錯誤

[2014-07-10 06:30:15,910]錯誤-Servlet BridgeServlet的ApplicationDispatcher Servlet.service()拋出異常java.lang.NoSuchMethodError:org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.publishPolicies([Ljava / lang / String; [Ljava / lang / String; Ljava / lang / String; Ljava / lang / String; ZI),位於org.wso2.carbon.identity.entitlement.ui.client.EntitlementPolicyAdminServiceClient.publish(EntitlementPolicyAdminServiceClient.java:414)在org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)上的org.apache.jsp.entitlement.publish_002dfinish_jsp._jspService(org.apache.jsp.entitlement.publish_002dfinish_jsp:133) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)處的.HttpServlet.service(HttpServlet.java:848)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)

您能否建議解決以上錯誤。

謝謝,Asit

我也遇到了這個問題,原因是由於通過功能管理器安裝XACML時以不同版本復制org.wso2.carbon.identity.entitlement.stub jar產生了一些沖突。 如果要安裝XACML 2.2和XACML介體2.2,則應復制org.wso2.carbon.identity.entitlement.stub 4.2.1。 我可以解決以下問題,

  1. 轉到/ repository / components並打開artifacts.xml。 找到工件標識“ org.wso2.carbon.identity.entitlement.stub”,並將版本更改為4.2.1(可能有兩個工件的版本分別為4.2.0和4.2.1)
  2. 轉到/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator並打開bundles.info文件。 找到行org.wso2.carbon.identity.entitlement.stub,4.2.0並將其刪除。 (版本4.2.1應該有相同的條目)

然后嘗試發布到PDP

謝謝Nipuni

另一個SO答案已經回答了這個問題,您也可以檢查它以獲取更多詳細信息。 請從這里找到。 如果您使用的是APIM 1.7.0並且安裝了XACML功能4.2.2,則不會看到此類錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM