Preparing the SAP CRM ESDMA for Deployment

Unzip the ESDMA to the directory structure on the server where Sybase Unwired Platform is installed, create or edit the sup-db.xml file, and if deploying for BlackBerry, identify other specified xml files.

Prerequisites
Generate and download the SAP CRM ESDMA from NetWeaver Mobile.
Task
  1. On the server where Sybase Unwired Platform is installed, create a directory named ESDMA at <UnwiredPlatform_InstallDir>\Servers\UnwiredServer.
  2. Extract the contents of the SAP CRM ESDMA to <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ESDMA.
  3. Choose one:
    • If you are deploying to device platforms that DO NOT include BlackBerry:
      1. Under the ESDMA directory create two directories: META-INF and Resources.
      2. Create a file named sup-db.xml.
      3. Copy and paste this text to the contents of the sup-db.xml file:
        <package name="SAP_CRM" short-name="SAP_CRM" sup-name="SAP_CRM“ 
        version="1.0“
        java-package="com.sybase.sap.crm.db“ 
        cs-namespace="Sybase.Sap.Crm.Db“ 
        oc-namespace="crm_db_"  
        <!-- Update with new host and port, listener.url must end with /doe/publish. -->  
        <property 
             name="listener.url" 
             value="http://<supserver host name>:<sup listener port>/doe/publish" />  
        <database name="crm-database" />  
        <database-class name="CrmDatabase" />  
        <personalization-parameter name="language" type="string" owner="client" /> 
        <include file="afx-esdma.xml" />
        </package>
      4. Replace these values with values applicable to your implementation:
        <supserver host name> Sybase Unwired Platform server host name, or Sybase Unwired Platform server IP address
        <sup listener port> The listener port for SUP server. Use 8000, the default value, or port number set during the Sybase Unwired Platform installation.
        Note: Change only <supserver host name> and <sup listener port>. The other values set in the sup-db.xml have been set to match subscription configuration in Sybase Unwired Platform. If you change these values, subscriptions may fail.
      5. Save sup-db.xml to its location at <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ESDMA\META-INF.
    • If you are deploying to device platforms that DO include BlackBerry:
      1. Locate the META-INF and Resources directories in the Sybase Unwired Platform installation at <UnwiredPlatform_InstallDir>\UnwiredPlatform\InstallLogs\silentInstall\CRM\CRM_ESDMATMP.

        These directories contain a set of .xml files, including a template sup-db.xml that is configured for deployment to device platforms that specifically includes BlackBerry.

      2. Copy the META-INF and Resources directories to the ESDMA directory <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ESDMA.
      3. From the <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ESDMA\META-INF directory, open the sup-db.xml file and edit the value attribute for the listener.url property.
        <property 
             name="listener.url" 
             value="http://<supserver host name>:<sup listener port>/doe/publish" />  
        <database name="crm-database" />
        <supserver host name> Sybase Unwired Platform server host name, or Sybase Unwired Platform server IP address
        <sup listener port> The listener port for SUP server. Use 8000, the default value, or port number set during the Sybase Unwired Platform installation.
        Note: Change only <supserver host name> and <sup listener port>. The other values set in the sup-db.xml have been set to match subscription configuration in Sybase Unwired Platform. If you change these values, subscriptions may fail.
      4. Save sup-db.xml to its location at <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ESDMA\META-INF.
You are now ready to deploy the SAP CRM ESDMA to Unwired Server.