Creating the device database
While connected to the internet, run a Java executable to create a database with up-to-date device information.
Procedure
- Open a command shell and navigate to the bin\ folder (.NET) or WEB-INF/ directory (Java) of your Web application.
- 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/seedIf 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. - If you are using .NET, disable recycling of the Application Pool of this Web application by doing the following:
- In IIS Manager, navigate to this Web application on the current machine.
- Click Advanced settings to see the application's properties in a dialog, note down the value of Application Pool, then close the dialog.
- From the tree, select Application Pools for the current machine.
- 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.
- Deselect Regular time intervals, then click Next and Finish to commit your change.
- Restart IIS.