Skip to end of metadata
Go to start of metadata

Deploy the Razuna WAR on your J2EE server

The WAR/EAR distribution of Razuna is actually the same as the standalone server, just comes without the J2EE Server (obviously) and with the needed third party applications. Thus you will need to configure your server to work successfully with Razuna. Please find the needed additional steps below.

Configure your J2EE server configuration

Razuna stores all assets in a dedicated directory. Since this directory is usually stored outside of your webroot or on another hard drive (or even in the cloud) you will have to add a "Alias" to that folder in your localhost container.

As a example on Tomcat you can make use of the "Context" parameter to achieve this. This is done with the following line that should be put inside the localhost host container:

On Ubuntu and Debian systems the docBase has to be a absolute path or else it will not work!

Remember this code is within the <host></host> container. If you are adding a new host you will need to copy this context path to each host you have!

Installing ImageMagick, FFmpeg and ExifTool

Depending on your operating system please refer to the following pages for the installation for the additional tools:

Install Razuna on Linux
Install Razuna on MacOS X
Install Razuna on Windows

  • No labels

3 Comments

  1. Anonymous

    > On Ubuntu and Debian systems the docBase has to be a absolute path or else it will not work!

    I can confirm that an absolute path for docBase is required also on Redhat Enterprise Linux 5.4.

  2. Anonymous

    Question:

    Which directories so path="/assets" and docbase="/razuna/assets" refer to?

    I've created a directory for my assets to be stored in, but it seems like I should also create another. Could you help me, or explain this section in more detail?

    Thanks.

    1. You only need to adjust the "docbase" parameter to fit your path.

      Example:
      If my path to the "/assets" folder would be "/opt/tomcat/razuna/assets" then the context path would be:

      <Context path="/assets" docBase="/opt/tomcat/razuna/assets/" crossContext="false" debug="0" reloadable="true" />

      So point the docbase to the directory you created, restart Tomcat and you should be fine.

      Kind Regards,
      Nitai