Service Provider Configuration
Since
MailArchiva runs under Apache Tomcat, multiple
MailArchiva web applications can be deployed on a single Tomcat instance. The configuration scripts to deploy multiple web applications are currently only supported for
MailArchiva EE customers (we hope to add this capability to future versions of OSE). To deploy an additional
MailArchiva instance for a given customer, you would simply run the deployapp.sh script included with the EE . Once the web application is unpacked an entirely new instance of
MailArchiva would be created, giving the customer full control over the entire application. Furthermore, this configuration model offers an acceptable level of isolation; if something goes wrong in one
MailArchiva instance, it is unlikely to have an effect on the other instance.
Installation Linux
(1) Copy the directory:
/usr/local/mailarchiva/server/webapps/ROOT
to
/usr/local/mailarchiva/server/webapps/App
(2) Edit the file /usr/local/mailarchiva/server/webapps/App/WEB-INF/conf/server.conf
Change agent.port=8091 to another port
Change agent.milter.port=8092 to another port
(3) Edit the /usr/local/mailarchiva/server/webapps/App/WEB-INF/classes/log4j.properties OR log4j.xml
Change:
log4j.appender.archivaaudit.File=${catalina.home}/logs/mailarchiva_audit.log
log4j.appender.archivadebug.File=${catalina.home}/logs/mailarchiva_debug.log
to
log4j.appender.archivaaudit.File=${catalina.home}/logs/app_audit.log
log4j.appender.archivadebug.File=${catalina.home}/logs/app_debug.log
Installation Windows
(1) Copy the directory
C:\Program Files\MailArchiva\Server\Webapps\ROOT
to
C:\Program Files\MailArchiva\Server\Webapps\App
(2) Edit the file C:\Program Files\MailArchiva\Server\Webapps\App\WEB-INF\conf\server.conf
Change agent.port=8091 to another port
Change agent.milter.port=8092 to another port
(3) Edit the C:\Program Files\MailArchiva\Server\Webapps\App\WEB-INF\classes\log4j.properties
log4j.appender.archivaaudit.File=${catalina.home}/logs/app_audit.log
log4j.appender.archivadebug.File=${catalina.home}/logs/app_debug.log
(4) In the task tray applet, you may need to increase the amount of memory and perm gen space allocated to the JVM
Set:
-XX:PermSize=96M
-XX:MaxPermSize=128M (or greater depending on how many web applications)
Maximum memory pool: 1024 (or greater depending on how many web applications)
(4) Restart the server
--
TWikiGuest - 26 Jun 2008