Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Adobe Live Cycle with Axis2 webservice giving error. Please help me

Avatar

Level 1

Hi I am trying to get policy details from the policy server. While running the code as stand along application its working. When i start to integrate with tomcat (Axis-2)webservice its throwing following error. Please help me. I know it might be some class path issue. I have resinstalled java and all the class files still no luck. I am pasting my error trace below

[ERROR] com.adobe.edc.sdk.SDKException: error parsing policy received from server -- Invalid argument(error code bin: 1281, hex: 0x501)
org.eagle.drm.exception.DrmException: Adobe webservice is not responding while retreving the policy
    at org.eagle.drm.service.AdobeDRMServiceImpl.getPolicy(AdobeDRMServiceImpl.java:220)
    at org.eagle.drm.service.AdobeDRMServiceImpl.isPolicyExists(AdobeDRMServiceImpl.java:272)
    at org.eagle.drm.service.DrmServiceProxy.getDocument(DrmServiceProxy.java:209)
    at org.eagle.drm.ws.server.EagleDrmWSEndPoint.getSecuredDocument(EagleDrmWSEndPoint.java:36)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
    at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
    at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
    at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
    at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
    at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.adobe.edc.sdk.SDKException: error parsing policy received from server -- Invalid argument(error code bin: 1281, hex: 0x501)
    at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:443)
    at com.adobe.livecycle.rightsmanagement.client.impl.PolicyManagerImpl.getPolicy(PolicyManagerImpl.java:134)
    at org.eagle.drm.service.AdobeDRMServiceImpl.getPolicy(AdobeDRMServiceImpl.java:212)
    ... 28 more
Caused by: com.adobe.livecycle.rightsmanagement.client.infomodel.PDRLException: Cannot construct PolicyImpl from PolicyBOcom.adobe.edc.common.CommonException: Exception in the PolicyBO xml constructor
    at com.adobe.livecycle.rightsmanagement.client.utils.SpecHelperUtil.makePolicy(SpecHelperUtil.java:134)
    at com.adobe.livecycle.rightsmanagement.client.impl.PolicyManagerImpl.getPolicy(PolicyManagerImpl.java:132)
    ... 29 more

1 Reply

Avatar

Level 2

Check that you have all the jar libraries required by for Rights management are in your path.