Documentation Center

Installing the web application in SDL Tridion 2013 SP1 (Java)

To deploy the example web application in Java, you must deploy the SDL Digital Experience Accelerator Java framework.

Before you begin

  • Install Java SE Development Kit 7 or later.
  • Include %JAVA_HOME%/bin in your PATH.

About this task

Use scripts included in the web\install folder of the DXA Java CD layout.

Procedure

  1. Copy your content delivery license to the source-license folder.
  2. In the source-config\2013sp1\common\classes folder, edit the following configuration files replacing the values provided with actual values :
    • cd_dynamic_conf.xml
      • ***PUBLICATION_ID*** - the ID of your DXA publication.
      • ***WEBSITE_DOMAIN*** - the URL you want to use for your website.
      • ***WEBSITE_PORT*** - your website's port.
    • cd_link_conf.xml
      • ***PUBLICATION_ID*** - the ID of your DXA publication.
      • ***WEBSITE_DOMAIN*** - the URL you want to use for your website.
      • ***WEBSITE_PORT*** - your website's port.
    • cd_storage_conf.xml
      • ***SERVER_NAME*** - the URL or IP of your database server.
      • ***DATABASE_NAME*** - the name of your broker database.
      • ***USER_NAME*** - a database user name of a user with access to the broker database.
      • ***PASSWORD*** - the password for the previously provided user name.
    • cwd_engine_conf.xml
      • ***WEBSITE_URL*** - the URL of your website, for example http://localhost:8080.
  3. (Optional) To generate the WAR file for your staging website, in the source-config\2013sp1\staging\classes folder, edit the following configuration files replacing the values provided with actual values:
    • cd_storage_conf.xml
      • ***SERVER_NAME*** - the URL or IP of your database server.
      • ***DATABASE_NAME*** - the name of your broker database.
      • ***USER_NAME*** - a database user name of a user with access to the broker database.
      • ***PASSWORD*** - the password for the previously provided user name.
      • ***SESSION_PREVIEW_DATABASE_NAME*** - the name of your session preview broker database.
      • ***SESSION_PREBIEW_USER_NAME*** - a database user name of a user with access to the session preview broker database.
      • ***SESSION_PREVIEW_PASSWORD*** - he password for the previously provided preview user name.
  4. (Optional) To change the message logging level:
    1. In the common, open the logback.xml file and edit the log.level property.
  5. To build your web application for the production server, from the command line, run the prepare.cmd|sh interactive script.
  6. Deploy the customized WAR file in your application server.

Results

Your WAR files is created. You can find it in the target folder.

For advance customization, you can create your own web application without using scripts included in SDL Digital Experience Accelerator. See Creating web application (Java).