Topic
6 replies Latest Post - ‏2012-03-13T09:05:09Z by SystemAdmin
GlenM
GlenM
8 Posts
ACCEPTED ANSWER

Pinned topic SAP adapter throwing "Service Not Available" error

‏2012-03-13T04:19:19Z |
I have an BPM environment having a stand-alone PS server on version 7.5. Currently engaged in a customer PoC activity that requires me to connect to a SAP ECC 6 system and fetch / update certain HR records

I've created the BPEL module in IID 7.5 and used the JCA SAP adapter to connect to the SAP instance. During configuration from the EMD adapter console .... used the following jar files

sapidoc3.jar
sapjco3.jar
sapjco3.dll

During tooling configuration, IID is able to make a connection to the SAP instance and retrieve all the BAPI / RFC objects

For runtime, loaded the jar files in the INSTALL_ROOT/lib directory and the dll file in the INSTALL_ROOT/bin directory

Also loaded the CWYAP_SAPAdapterExt..jar in the INSTALL_ROOT/lib/ext folder

Though I was able to run the module once with successful execution through the UTE interface, all subsequent calls are failing (with the error message provided in the attached document)

Even after deleting and re-creating the module interface, it still does not work
Anyone seen this behavior before and any pointers of how to resolve this
Updated on 2012-03-13T09:05:09Z at 2012-03-13T09:05:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    67 Posts
    ACCEPTED ANSWER

    Re: SAP adapter throwing "Service Not Available" error

    ‏2012-03-13T04:54:39Z  in response to GlenM
    Hi Glen,

    The trace indicates a communication exception. As you mentioned that the request succeeded once via UTE, could not think of a reason why the consequent requests would fail.

    Here are a few things that you could check -
    1. Successful ping to the destination. (10.66.22.161)
    2. The below entry in the services file should exist (on windows, C:\<windows installation dir>\system32\drivers\etc\services)
    sapgw00 3300/tcp
    *Ensure that there is a carraige return at the end of the last line in this file
    3. Checking for the right SAP JCo installation -
    a. 32-bit VM needs 32-bit JCo libraries and 64-bit VM, 64-bit JCo.
    b. Ensure java (from BPM installation) is available in the PATH
    c. Execute the below command to test a successful JCo installation -
    C:\<SAP JCo libs directory>\java -cp sapjco3.jar com.sap.conn.jco.rt.About
    The popup as well as the command console should show you exceptions if the right JCo lib are not used.

    If the problem still persists, do let know.

    Cheers, Srinu
    • GlenM
      GlenM
      8 Posts
      ACCEPTED ANSWER

      Re: SAP adapter throwing "Service Not Available" error

      ‏2012-03-13T07:43:13Z  in response to SystemAdmin
      Checked all the steps from your reply and everything works fine ..... not sure what to do next !!!
      • GlenM
        GlenM
        8 Posts
        ACCEPTED ANSWER

        Re: SAP adapter throwing "Service Not Available" error

        ‏2012-03-13T07:48:59Z  in response to GlenM
        Is there a difference in the jar files for a WAS 32-bit vs a WAS 64-bit installation ?

        I've currently got WPS - 32bit installed
        • SystemAdmin
          SystemAdmin
          67 Posts
          ACCEPTED ANSWER

          Re: SAP adapter throwing "Service Not Available" error

          ‏2012-03-13T08:15:03Z  in response to GlenM
          No difference in Jar files for WAS intallation. As long as the JCo libraries are verified as correctly installed, the jar files should all be fine.
          • GlenM
            GlenM
            8 Posts
            ACCEPTED ANSWER

            Re: SAP adapter throwing "Service Not Available" error

            ‏2012-03-13T08:58:17Z  in response to SystemAdmin
            I used to use the below dll when working with WPS 6.2

            sapjco.jar
            sapjcorfc.dll
            librfc32.dll
            msvcp71.dll
            msvcr71.dll
            Are these files required to be provided now for WPS 7.5 ???
            • SystemAdmin
              SystemAdmin
              67 Posts
              ACCEPTED ANSWER

              Re: SAP adapter throwing "Service Not Available" error

              ‏2012-03-13T09:05:09Z  in response to GlenM
              The below are the only files that are needed for BPM 7.5.

              sapjco3.jar
              sapjco3.dll
              sapidoc3.jar

              ..If the java command mentioned in the step (3) above executes fine for you, then the jar or dll should have been installed correctly.