You are on page 1of 3

Adobe Connection Error - ABAP

Problem Description
This problem analysis scenario describes the approach in order to investigate and resolve connection errors to the Adobe document services that are accessed from an ABAP environment. When a connection error appears, one of the following messages is displayed: SOAP Runtime Exception Invalid HTTP connection No system respond, timeout Scenario Type: NetWeaver Component: Validity: Error analysis SAP Web AS, Adobe document services SAP NetWeaver 04 >= SP Stack 12 SAP NetWeaver 7.0 >= SP Stack 4

Possible Error Sources


Error Source Faulty connection Analysis
...

Check general availiability of document services Check configuration settings

Decision Roadmap
Prerequisites
You need to have access to the following systems: 1. Web AS Java that hosts the Adobe document services (HTTP connection) 2. Web AS ABAP that hosts the ABAP application (SAP GUI connection) 3. Web AS ABAP that hosts the Computing Center Management System (CCMS) (SAP GUI connection) In order to change configuration settings you need the appropriate user rights.

Main Tools
Transactions  RZ20  SE 38 (SA38)  SM59

Execution
The following figure shows the solution path that should be followed in order to correct connection errors. First of all you should check the general availability of the document services. If this does not solve the connection problem, you have to investigate configuration settings within the Web AS ABAP that might be erroneous.

Figure 1: Solution path

Analysis
Check general availability Heartbeat First of all you should check the general availability of the document services.
...

1. Connect to the CCMS and start transaction RZ20. Navigate to the monitor set SAP J2EE Monitor Templates and load the monitor Adobe Document Services. The Heartbeat node contains availability information for all registered servers. For more information, see Configuring GRMG Availability for the Adobe Document Services Web Services Navigator In a second step, you should check the document services by calling it within the Web Services Navigator using the following URL: http://[host]:[port]/AdobeDocumentServices/Config You have to enter the host name and the port number of the Web AS Java that runs the document services. The default port number is 50000. Table 1 shows possible error messages and their probable origins.

Table 1: Error messages Origin Message Server Dispatcher node Server node HTTP provider Web Services Container EJB Container If necessary restart the appropriate instance, node or service using, for example, the Visual Administrator tool. Check configuration settings You can use the program FP_PDF_TEST_00 (transaction SE38 or SA38) in order to check if the document services respond to the Web AS ABAP. If this response is successful, a version information of this software component is shown. Otherwise you should check the RFC connection that is used by the ABAP PDF Object implementation (CL_FP_PDF_OBJECT).
...

Error message Cannot find server or DNS Error

503 Service Unavailable // Dispatcher running, but no server connected! 503 Service Unavailable // Application stopped!

Log-on to the Web AS ABAP that sends the request and start transaction SM59 (Display and maintain RFC destinations). Navigate to the section HTTP Connections to Ext. Server and ensure that the destination ADS exists (the name might vary) and has the following properties: 1. Connection type: G 2. Description: any descriptive text 3. Technical Settings / Target System Settings 1. Target Host: the host name of the Web AS Java which runs the document services 1. Service No: the HTTP port number (default: 50000) 1. Path Prefix: /AdobeDocumentServices/Config?style=rpc or /AdobeDocumentServicesSec/Config?style=rpc if the connection uses SSL (a warning might show up that can be ignored) 4. Logon/Security / Security Options 1. Logon Procedure: select Basic Authentication or SSL Client Certificate If Basic Authentication is selected, Logon / User and Logon / Password must refer to the user that has been assigned to the security role ADSCaller within the Web AS Java that hosts the document services. If SSL Client Certificate is marked, an appropriate certificate has to be selected and additionally SSL / Active has to be chosen. You can test the connection by clicking on the appropriate button (Test connection). Please be aware of the fact that this test does not check for an appropriate authentication.

Additional Information
Refer to the document Adobe Document Services Configuration Guide for detailed information regarding the configuration of the Adobe document services. SAP Note 717568 contains additional information regarding the analysis of runtime errors.

You might also like