WAR Install


Rather than install the MailArchiva WAR file separately, it is recommended to use the normal setup distribution and procedure described in Quick InstallIn the event installing via a separate WAR file is needed, the following instructions apply:

 

  1. Install Java 21 from https://adoptium.net/temurin/releases/
  2. Install Tomcat 10.1 from https://tomcat.apache.org/download-10.cgi and delete all default existing apps under Tomcat webapps directory
  3. Download the MailArchiva WAR file from https://bs.stimulussoft.com/downloads, place inside Tomcat webapps directory
  4. 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. In Tomcat startup Java properties you may need to add "--add-exports java.xml/com.sun.org.apache.xerces.internal.impl=microsoft.exchange.webservices"
  2. If running MailArchiva behind a proxy, add "-Dproxy=yes" to Java startup.
Was this information helpful?
© 2005 - 2024 ProProfs

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

-