Migrating an application that contains an SAP adapter connection project

If you migrate an application or library that contains an SAP adapter connection project from IBM® Integration Bus Version 9.0 (or earlier) to IBM Integration Bus Version 10.0, you must replace the 32-bit version of the SAP libraries with the 64-bit version of the SAP libraries.

About this task

IBM Integration Bus Version 10.0 is only available on 64-bit platforms. If migrate an application that contains an SAP adapter connection project, and the project uses 32-bit libraries, then you must reconfigure the project to use 64-bit libraries.
Note: The 32-bit libraries and the 64-bit libraries have the same file names. If you perform an iterative discovery on an SAP adapter connection project in IBM Integration Bus Version 10.0, and you get a com.ibm.adapter.framework.BaseException error, your project is using the 32-bit libraries.
The library file names are detailed in the following list:
  • sapjco3.jar
  • sapidoc3.jar
  • sapjco3.dll (Windows only)
  • libsapjco3.so (Linux® only)
You can configure your SAP adapter connection project to use the 64-bit libraries by using one of the following methods:

Replacing the 32-bit libraries with the 64-bit libraries

Procedure

To replace the 32-bit libraries with 64-bit libraries, complete the following steps:

  1. Stop the IBM Integration Toolkit.
  2. Navigate to the directory where the 32-bit SAP libraries are stored.
  3. Replace the 32-bit SAP libraries with the 64-bit SAP libraries.
  4. Restart the IBM Integration Toolkit.

Results

Your SAP adapter connection project is using the 64-bit libraries.

Updating the Java build path to use the 64-bit libraries

Procedure

To update the Java™ build path for the SAP connection, complete the following steps:

  1. In the IBM Integration Toolkit, navigate to the application or library that contains the SAP adapter connection project.
  2. Expand Other Resources and right-click the SAP adapter connection project; for example, CWYAP_SAPAdapter_Tx.
  3. Click Properties > Java Build Path and click the Libraries tab.
  4. Select sapidoc3.jar, click Edit, navigate to the location of the 64-bit version of sapidoc3.jar, and click Open.
  5. Select sapjco3.jar, click Edit, navigate to the location of the 64-bit version of sapjco3.jar, and click Open.
  6. Click OK to close the Properties dialog.

Results

Your SAP adapter connection project is using the 64-bit libraries.