We support any Java Application Server, not just Tomcat. This short tutorial will use Tomcat for the remainder of the article.
You can install Tomcat directly from:
http://tomcat.apache.org/download-80.cgi
Additionally, many Linux distributions contain Tomcat in their package repositories.
You can also install Tomcat from there.
Please note that Unimus creates '/etc/unimus' ('C:\ProgramData\Unimus' on Windows) directory to keep its configuration file in. Please make sure that the user your Tomcat runs under has access to this directory. You can create '/etc/unimus' (or its Windows equivalent) manually and assign rights to your Tomcat user. Final configuration file is '/etc/unimus/unimus.properties'
Example on how to configure this on Linux (change "tomcat" user to the right one if required):
Code: Select all
mkdir /etc/unimus
chown tomcat:tomcat /etc/unimus
touch /etc/unimus/unimus.properties
chown tomcat:tomcat /etc/unimus/unimus.properties
After deployment, you should also see in your Tomcat logs that Unimus started as is running.
If you are using the Tomcat Manager app, there is an additional step that needs to be performed. By default, the Manager app has a limitation of 50MB .war files. You can change this in ".../webapps/manager/web.xml"
Change this section:
Code: Select all
<multipart-config>
<!-- 50MB max -->
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>