Installing the Oracle ojdbc6 Driver

This procedure describes how to use the Oracle ojdbc6.jar as the driver to connect to Oracle data sources.

  1. Download the Oracle ojdbc6.jar file.
  2. Edit the MANIFEST.MF file located in the SMP_HOME\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_<version>.<timestamp>\META-INF directory, and replace this line:
    Bundle-ClassPath: lib/ojdbc14.jar

    with

    Bundle-ClassPath: lib/ojdbc6.jar
  3. Save and close the file.
  4. Copy the downloaded ojdbc6.jar file to SMP_HOME\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_<version>.<timestamp>\lib.
  5. Perform a clean startup:
    1. Open a command prompt.
    2. Cd to SMP_HOME\MobileSDK<version>\Eclipse.
    3. Enter the command MobileWorkSpace.bat -clean
  6. From SAP Mobile WorkSpace, verify the Oracle connection profile's properties, including the correct path to the ojdbc6.jar driver.
  7. To enable the driver on SAP Mobile Server, copy the ojdbc6.jar file to the SMP_HOME\Servers\UnwiredServer\lib\ext directory.
  8. You can now create a connection profile and connect to the Oracle server and create MBOs from the Oracle data source.