Enabling the Sample Database in a Production Installation

The Unwired Platform installer creates a Windows service (Sybase Unwired 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 Unwired Platform installer does not create the Windows service that enables the sample database when you install Unwired 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 Unwired Server installation.
    Open the Windows Services control panel and look for Sybase Unwired SampleDB.
  2. If Sybase Unwired SampleDB does not exist:
    1. In the file system where the Unwired Server is installed, go to the SUP_HOME\Servers\UnwiredServer\bin directory, where SUP_HOME is the Unwired Platform installation directory, down to the UnwiredPlatform 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 Sybase Unwired 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.