cancel
Showing results for 
Search instead for 
Did you mean: 

Error opening PDF (ADS) in https mode. Works fine in HTTP

Former Member
0 Kudos

Hi,

We are running a application on NW 7.01 which basically opens a pdf document (ADS). the pdf document is opening fine when we run it from NWDS / in HTTP mode. But throws this error when run on the portal which uses HTTPS. We have configured HTTPS in visual administrator (services->destination->HTTP). But still the same issue.

Can anyone please suggest?

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

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:35)

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

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)

Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:25)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:115)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:138)

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

... 45 more

Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:

com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle=com.sap.exception.io.IOResourceBundle, ID=Could not create SSL socket:java.net.ConnectException Connection refused, Arguments: []> : Cant find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection refused

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:460)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:4008)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:153)

at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)

... 48 more

Caused by: java.rmi.RemoteException: Service call exception; nested exception is:

com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle=com.sap.exception.io.IOResourceBundle, ID=Could not create SSL socket:java.net.ConnectException Connection refused, Arguments: []>

Accepted Solutions (0)

Answers (1)

Answers (1)

vijay_kumar49
Active Contributor
0 Kudos

Hi,

Please check if the pdfSource property of the IF is bound to a Context attribute of Binary Type.

Please look at this [wiki|http://wiki.sdn.sap.com/wiki/display/JSTSG/(IFWDJ)Problems-012]

Hope this is help full for you,

Regards

Vijay