Preparing the Unwired Platform Environment for SAP Connections

The SAP JCO connector is used by all Unwired Platform tooling components. Therefore, Sybase recommends that all changes be made concurrently in a distributed environment for development and production installations of Unwired Platform.

Prerequisites Before you can access the SAP Web site, you must have an SAP account.

These steps describe the common tasks for setting up an SAP environment. Other details, like where to copy files, differ by component.

  1. Go to the SAP Web site at http://service.sap.com/connectors and download the latest SAP JavaConnector, for example, sapjco-ntintel-2.1.8.
  2. Unzip the file that contains the files that you need:
    • sapjco.jar
    • librfc32.dll
    • sapjcorfc.dll
  3. Shut down all Unwired Platform components, including Unwired WorkSpace and all Unwired Servers on your network.
  4. Copy the librfc32.dll and sapjcorfc.dll files and paste them into the following directories:
    Component Targets
    Eclipse Unwired WorkSpace
    • C:\WINDOWS\system32
    • <SUP Installation root>\UnwiredPlatform\JDK1.6.0_12\bin
    Visual Studio Unwired WorkSpace
    • \Program Files\Microsoft Visual Studio 9.0\Common7\IDE
    • <SUP Installation root>\UnwiredPlatform\Server\UnwiredServer\lib
    Unwired Server
    • <SUP Installation root>\UnwiredPlatform\Servers\UnwiredServer\dll
  5. Copy the sapjco.jar file and paste it into the following directories:
    Component Targets
    Eclipse Unwired WorkSpace
    • <SUP Installation root>\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sap.mw.jco_1.2.0.<version>\lib and
    Visual Studio Unwired WorkSpace
    • \UnwiredPlatform\Unwired_WorkSpace\VisualStudio\toolingapi\lib
    Unwired Server
    • <SUP Installation root>\UnwiredPlatform\Server\UnwiredServer\lib
  6. In a clustered production environment, you must also enable SAP mobile business objects to connect to an SAP R/3 system that uses a router:
    1. Change to \UnwiredPlatform-1_2\Servers\UnwiredServer\Repository\Instance\com\sybase\sap.
    2. In a text editor, open <SAPprofile>.properties, where SAPprofile is the name of the connection profile that is used to deploy SAP mobile business objects from Unwired WorkSpace to the server.
    3. Set the value of the jco.client.ashost property to /H/proxyHost/H/applicationServer , where:
      • proxyHost is the name of the proxy-server machine, and
      • applicationServer is the name of the application server
  7. After copying the files, restart all components and all Unwired Servers.
Related tasks
Adding a New Connection Pool
Creating a Custom SAP Connection Pool from a Template
Related reference
Sybase JCO Connection Pool Properties for SAP


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com