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. Ensure that the IP address of the machine on which you wish to set up the device database is on the white list managed by SDL. When in doubt, contact SDL Customer Support for more information.
  2. Open a command shell and navigate to the bin\ folder (.NET) or WEB-INF/ directory (Java) of your Web application.
  3. Generate the device database as follows:
    • If you have a .NET Web application, enter the following:

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

      java -Xmx1024m -jar lib/cwd_engine.jar https://context.sdl.com/seed
    The command creates a new subfolder called repository.
  4. 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.

Results

You have the latest version of the device database. You can check back and update the database at any time in the future.