Reputation: 161
After creating the XACML Policy trying to publish it to PDP, but getting error
[2014-07-10 06:30:15,910] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception java.lang.NoSuchMethodError: org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.publishPolicies([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI) at org.wso2.carbon.identity.entitlement.ui.client.EntitlementPolicyAdminServiceClient.publish(EntitlementPolicyAdminServiceClient.java:414) at org.apache.jsp.entitlement.publish_002dfinish_jsp._jspService(org.apache.jsp.entitlement.publish_002dfinish_jsp:133) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
Could you please suggest to resolve the above error.
Thanks, Asit
Upvotes: 0
Views: 173
Reputation: 5821
This has been already answered by an another SO answer, You also can check it for more details. Please find from here.
If you are using APIM 1.7.0
and If you install XACML
feature 4.2.2, you would not see such error.
Upvotes: 0
Reputation: 1
I too encountered this issue and the reason was due to some conflicts of copying org.wso2.carbon.identity.entitlement.stub jars in different versions when installing XACML via feature manager. If you are installing XACML 2.2 and XACML mediator 2.2 it should copy org.wso2.carbon.identity.entitlement.stub 4.2.1. I could resolve it as follows,
Then try to publish to PDP
Thanks, Nipuni
Upvotes: 0