Documentation Center

Creating the device database

While connected to the internet, run a Java executable to create a database with up-to-date device information.

Procedure

  1. Open a command shell and navigate to the bin\ folder (.NET) or WEB-INF/ directory (Java) of your Web application.
  2. Generate the device database as follows:
    • If you have a .NET Web application, enter the following:

      java -Xms1028m -jar lib\cwd_engine-2011.jar http://context.sdl.com/seed
    • If you have a Java Web application, enter the following:

      java -Xms1028m -jar lib/cwd_engine-2011.jar http://context.sdl.com/seed
    The command creates a new subfolder called repository.
  3. If you are using .NET, disable recycling of the Application Pool of this Web application by doing the following:
    1. In IIS Manager, navigate to this Web application on the current machine.
    2. Click Advanced settings to see the application's properties in a dialog, note down the value of Application Pool, then close the dialog.
    3. From the tree, select Application Pools for the current machine.
    4. From the list on the right, select the Application Pool you noted down and in the Edit Application Pool area on the right, select Recycling. A dialog opens.
    5. Deselect Regular time intervals, then click Next and Finish to commit your change.
    6. Restart IIS.