WAR Install

Rather than install the MailArchiva WAR file separately, it is recommended to use the normal setup distribution and procedure, described in Quick Install.


In the event that install via separate WAR file is highly desirable, the following instructions apply:


  1. Install Java 7 https://www.java.com/en/download/index.jsp
  2. Install JCE http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
  3. Install Tomcat 7 https://tomcat.apache.org/download-70.cgi
  4. Download the MailArchiva WAR file from http://www.mailarchiva.com/downloads, place inside Tomcat webapps

Change protocol in HTTP connector in Tomcat's server.xml to use Nio protocol as follows:


  <Connector connectionTimeout="20000" port="80" protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443" />


Note: If you do not add the NIO connector,  the server's progress indicators and status updates will not function correctly.


(Alternatively, borrow the server/conf/server.xml file that comes with the standard MailArchiva distribution)


  1. Delete all default existing apps under webapps
  2. Unpack the WAR file in /var/opt/mailarchiva/tomcat/ROOT (Linux) or C:\ProgramData\MailArchiva\Tomcat\ROOT (Windows)
Was this information helpful?
© 2005 - 2023 ProProfs

Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.