Skip to Content
author's profile photo Former Member
Former Member

PDFDocumentRuntimeException Error with web dynpro and Interactive Forms

Hi,

I installed on my notebook the Trail Versions of:

- SAP NetWeaver Application Server 7.00/Java AS 7.00

- SAP NetWeaver Developer Studio Version: 7.0.14

- Acrobat Reader 7.0.9

- Internet explorer 7.0.5730.13

I configured and tested the ADS after the configuration guide and i get the Version info sucessfully if I do the http://localhost:50000/AdobeDocumentServices/Config Test.

So i developed a web dynpro application with interactive forms after a tutorial and did exactly the same (so i think i have to configure something on the server or on the client). All other Webdynpro applications without an interactive forms are running without any problems.

when im running the application with the interactive forms this error occured:

com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/TableDemo/TableDemoApp/~wd_key27_1206449390828/Error+PDF.pdf;jsessionid=(J2EE9974800)ID2009226050DB10771811086936887683End;saplb_*=(J2EE9974800)9974850?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=f50f6853fa6911dca5cc001a4b8ead76&sap-wd-appwndid=f50f6854fa6911dc97d6001a4b8ead76&sap-wd-norefresh=X

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:405)

... 29 more

Have anybody a solution for this problem ?!

Im not quit sure if i installed the Adobe Component Framework. Could this be the problem ?

Where can i download the ACF ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2008 at 02:36 PM

    ok, i installed the ACF now.

    But now im haveing a new Problem with the UsageRights. I tested the ADSUser and password in

    http://localhost:50000/AdobeDocumentServices/Config Test and it works. But when im start a webdynpr (with an interactive form) im getting

    this error:

    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Wed Mar 26 15:24:57 CET 2008 com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM-7580089883363445531.dir\DM5811253857237079597.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. Exception Stack Trace: com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM-7580089883363445531.dir\DM5811253857237079597.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. at com.adobe.ads.operation.UsageRights.execute(Unknown Source) at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source) at com.adobe.ads.operation.CachableOperation.doWork(Unknown Source) at com.adobe.ads.request.Request.processOperations(Unknown Source) at com.adobe.ads.request.Request.process(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0 at com.adobe.document.pdf.CredentialLoginFailureHelper.read(CredentialLoginFailureHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:284) at com.adobe.ads.remote.EJB_PDFAgent.setUsageRights(Unknown Source) ...

    I already copied the credential file to C:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials and made the entries via Visual Administrator in Document Services Configuration -> Runtime-> Credential and restartet the server. But it still doesnt work.

    Have anybody an idea ?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 06:38 AM

    I installed and configured the credentials, but there is still the same problem:

    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Tue Apr 01 08:31:54 CEST 2008 com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. Exception Stack Trace: com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. at com.adobe.ads.operation.UsageRights.execute(Unknown Source) at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source) at com.adobe.ads.operation.CachableOperation.doWork(Unknown Source) at com.adobe.ads.request.Request.processOperations(Unknown Source) at com.adobe.ads.request.Request.process(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0 at com.adobe.document.pdf.CredentialLoginFailureHelper.read(CredentialLoginFailureHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:284) at com.adobe.ads.remote.EJB_PDFAgent.setUsageRights(Unknown Source) ...

    I cant figure out ..what the problem is..

    I als made the test in http://localhost:50000/AdobeDocumentServices/Config successfully:

    this is the Response:

    HTTP/1.1 200 OK

    Connection: close

    Set-Cookie: <value is hidden>

    Set-Cookie: <value is hidden>

    Server: SAP J2EE Engine/7.00

    Content-Type: text/xml; charset=UTF-8

    Date: Tue, 01 Apr 2008 06:36:54 GMT

    http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" > Error_Level 0 Results Processing exception during a "checkDocument" operation.

    Request start time: Tue Apr 01 08:36:54 CEST 2008

    com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.

    Exception Stack Trace:

    com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.

    at com.adobe.ads.request.Request.checkDocument(Unknown Source)

    at com.adobe.ads.request.Request.setUpOperations(Unknown Source)

    at com.adobe.ads.request.Request.process(Unknown Source)

    at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

    at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

    at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:324)

    at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

    at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

    at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

    at SoapServlet.doPost(SoapServlet.java:51)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    </pns:value></pns:RpString><pns:RpString><pns:name>VersionInfo</pns:name><pns:value>800.20070708051308.406522</pns:value></pns:RpString><pns:RpString><pns:name>TraceString</pns:name><pns:value> com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.

    </pns:value></pns:RpString></pns:rpStrings></rpl:Response></rpl:rpDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

    My installation:

    • SAP NetWeaver Application Server 7.00/Java AS 7.00

    • SAP NetWeaver Developer Studio Version: 7.0.14

    • Acrobat Reader 7.0.9

    • Internet explorer 7.0.5730.13

    • xAcf_NW711_SP00

    J2EE 7.00 SP14

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I FOUND THE SOLUTION FOR MY PROBLEM!!

      oh man, i have to read configuration guides exactly!!

      ...The problem was i entered in Sha1 the password, which comes with the credential. But it have to be blank, if your Alias is ReaderRights

      Alias: ReaderRights

      Type: P12

      P12 File: xxxx_EXPXXXXX.pfx

      Sha1: xxxxx <----


      it have to be blank if you entered Alias: ReaderRights

      Password: XXXXX <----


      here the password from txt credential file

      Password: XXXXX <----


      here the password again from txt credential file

      If you entered ReaderRights in the Alias field, you must not make any entry in the sha1 field.

      Thanks for your help Amit!!!

  • Posted on Jun 16, 2008 at 03:14 PM

    Hi Andreas,

    I am facining the same issue as yours. I am getting the error -

    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF

    at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)

    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)

    ..................

    I have JAVA Netweaver WebAS 2004s Installed. I have the ADS configured. All the credentials are in place and even the test conducted on the ADS in the webservices portal works fine.

    After going through the post, I feel that I need to Install ACF (Adobe Component Framework) as you seem to have done the same to get this issue fixed.

    Please let me know where did you get the installable for ACF. Also, I would be glad if you could let me know if you had to do some other settings/configurations to get this issue fixed.

    Regards,

    Debasish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Debasish,

      you can download the xACF on the marketplace (service.sap.com).

      But the solution of my problem was not the ACF. I configured the credential in Visual Ad. wrong.

      I entered the password in the field sha1, but it have to be blank.

      It looks like you have a different problem as mine, as it failed to update the datas in the pdf. So the installation of the ACF could solve it.

      Is your Contextelement of pdfSource (in Web Dynpro) marked as binary (under Type in properties) ?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.