To add the required external dependency files, you copy the files,
including the sapjco.jar file, to directories within the WebSphere® Integration
Developer directory. You then add the sapjco.jar file to the adapter project
you created.
- If you have not already done so as part of the installation of
the adapter or as part of running another tutorial, copy the required files
as outlined in the following steps.
- Obtain the files for your operating system from your SAP administrator
or from the SAP Web site.
Table 1. Files to be installedOperating system |
Files to be installed |
Windows® |
Any *.dll files that come with the SAP Jco download
from the SAP Web site |
Unix (including Unix System Services on z/OS ) |
Any .so and .o files that come with the SAP Jco download
from the SAP Web site |
- Copy the files to the following locations in the WebSphere Integration
Developer installation directory:
- \runtimes\bi_v6\java\bin
- \eclipse\jre\bin
For z/OS®,
add the files to the ${WAS_INSTALL_ROOT}/lib directory.
- For Windows environments only, obtain the msvcp71.dll and msvcr71.dll
files from your SAP administrator or the SAP Web site.
- For Windows environments only, install the msvcp71.dll and msvcr71.dll
files in the Windows system path.
- Obtain the sapjco.jar file from your SAP administrator or the
SAP Web site.
- Copy sapjco.jar to the following location in the WebSphere Integration
Developer installation directory: \runtimes\bi_v6\lib
For z/OS, add ${WAS_INSTALL_ROOT}/lib/sapjco.jar
to WAS_SERVER_ONLY_server_region_classpath
- Import the sapjco.jar file into the adapter project.
- In the J2EE perspective of WebSphere Integration Developer,
expand Connector Projects.
- Right-click CWYAP_SAPAdapter and click Properties.
Figure 1. The CWYAP_SAPAdapter project,
displayed in the Project Explorer
- In the left side of the Properties for CWYAP_SAPAdapter window,
click Java Build Path.
Figure 2. Selecting Java Build Path
- Click the Libraries tab, and click Add
External JARs.
- Navigate to the directory on your local file system where the
sapjco.jar file is located. Then select sapjco.jar and
click Open.
Figure 3. The JAR Selection window, with the sapjco.jar file highlighted for
selection
- Click OK.
The file sapjco.jar
appears in the list of JARs and class folders in the build path.
Result
The sapjco.jar file is now
part of your connector project and appears in the Project Explorer window
of WebSphere Integration Developer.
Figure 4. The Project
Explorer window of WebSphere Integration Developer
Terms of use |
Last updated: Mon 30 Oct 2006 03:34:56
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)