Enabling the Sample Database in a Production Installation

The SAP Mobile Platform installer creates a Windows service (SAP Mobile Platform SampleDB) that enables the sample database (sampledb) if you install with a Personal or Enterprise Development license. If you have installed with an Enterprise Server (production) license and want the sample database to be accessible, you must run a script.

Development systems are typically kept separate from production systems. The sample database is provided for developers to use in a development system. The Enterprise Server license is for production systems, so the SAP Mobile Platform installer does not create the Windows service that enables the sample database when you install SAP Mobile Platform with an Enterprise Server license.

If you want the sample database to be available after you have installed with an Enterprise Server license, you can run a script to create the Windows service that enables the sample database server.

  1. Verify that the sample database service does not already exist on the SAP Mobile Server installation.
    Open the Windows Services control panel and look for SAP Mobile Platform SampleDB.
  2. If SAP Mobile Platform SampleDB does not exist:
    1. In the file system where the SAP Mobile Server is installed, go to the SMP_HOME\Servers\UnwiredServer\bin directory, where SMP_HOME is the SAP Mobile Platform installation directory, down to the MobilePlatform folder.
    2. Run the sampledb.bat script.

      To create the service to start automatically, enter:

      sampledb.bat install auto

      To create the service to be started manually, enter:

      sampledb.bat install manual
    3. Start the SAP Mobile Platform SampleDB service you just created, either by using the Windows Services control panel, or by entering, at the command prompt:
      sampledb.bat start

      For more information on the sampledb.bat script, see Create or Remove the Windows Service for sampledb Server (sampledb) Utility in System Administration.