Running your web application (Java)

Procedure

  1. Move the dxa-example-webapp.war file to the subdirectory of Tomcat webapps directory.
    • If you are working with SDL Tridion 2013 SP1:
      1. Add the cd_licenses.xml to the %TOMCAT_HOME%\webapps\<webappdir>\WEB-INF\classes directory.
      2. In the %TOMCAT_HOME%\webapps\<webappdir>\WEB-INF\classes directory, edit the following configuration files:
        • cd_storage_conf.xml - modify the database settings to point to a Tridion broker database in which the content that the web application should use is deployed.
        • cd_dynamic_conf.xml - set the URLs to Tridion publications mapping.
        • cwd_engine_conf.xml - set Tridion Contextual Web Delivery engine configuration if you want to use Contextual Image Delivery for serving images.
    • If you are working with SDL Web 8:
      • In the %TOMCAT_HOME%\webapps\<webappdir>\WEB-INF\classes directory, edit the cd_client_conf.xml configuration file
  2. Run Tomcat:
    %TOMCAT_HOME%\bin\startup.bat|sh

Results

Go to your web browser to start using your web application. The default Tomcat port is 8080.