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
Topic
This topic has been locked.
-
Re: SAP adapter throwing "Service Not Available" error
2012-03-13T04:54:39ZThis is the accepted answer. This is the accepted answer.
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 -
Re: SAP adapter throwing "Service Not Available" error
2012-03-13T07:43:13ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin
- 2012-03-13T04:54:39Z
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 -
Re: SAP adapter throwing "Service Not Available" error
2012-03-13T08:15:03ZThis is the accepted answer. This is the accepted answer.
- GlenM
- 2012-03-13T07:48:59Z
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 -
Re: SAP adapter throwing "Service Not Available" error
2012-03-13T08:58:17ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin
- 2012-03-13T08:15:03Z
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.
sapjco.jar
sapjcorfc.dll
librfc32.dll
msvcp71.dll
msvcr71.dll
Are these files required to be provided now for WPS 7.5 ??? -
Re: SAP adapter throwing "Service Not Available" error
2012-03-13T09:05:09ZThis is the accepted answer. This is the accepted answer.
- GlenM
- 2012-03-13T08:58:17Z
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 ???
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.