configuring open emm to run with existing tomcat

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

configuring open emm to run with existing tomcat

Postby jbr » Tue Sep 01, 2015 4:49 pm

Hello,

ho to configure opeemm installation to run with existing tomcat app server?
in the manual there is only detailed instructions for installing tomcat/opeem from scratch.

with best,
JBR
jbr
 
Posts: 1
Joined: Tue Sep 01, 2015 4:46 pm

Re: configuring open emm to run with existing tomcat

Postby horstL » Sat Oct 24, 2015 4:43 pm

hi,

there is not much todo to run inside of a tomcat but the around is more complicated (especially openemm.sh/mail.log etc)
this is for openemm2015
you have to add 2 things to the YOUR_TOMCAT_HOME/conf

server.xml (look inside the OpenEMM-2015-src/tomcat/conf/server.xml )

Code: Select all
      <Engine name="Catalina" defaultHost="OpenEMM">
         ...
         <Host
            name="OpenEMM"
            appBase="webapps-empty"
            autoDeploy="true"
            unpackWARs="false">

            <Alias>localhost</Alias>
            <Valve
               className="org.apache.catalina.valves.AccessLogValve"
               resolveHosts="false"
               directory="${catalina.base}/logs/access/"
               rotatable="true"
               buffered="true"
               prefix=""
               suffix="-access_openemm.log"
               fileDateFormat="yyyyMMdd"
               pattern='%a %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' />
            <Context cookies="false" docBase="/usr/local/openemm2015/webapps/openemm" path="" reloadable="true" />
            <Context cookies="false" docBase="/usr/local/openemm2015/webapps/openemm-ws" path="/openemm-ws" reloadable="true" />
            <Context docBase="/usr/local/openemm2015/webapps/manual" path="/manual" allowLinking="true" />
         </Host>
      ...


the paths docBase here you have to get fitting for you place where you have extracted

context.xml (look inside the OpenEMM-2015-src/tomcat/conf/context.xml)
add the Resources as defined for jdbc/openemm_db and jdbc/openemm_cms_db

more problems you will have sendmail / loading paths (plugins etc)
horstL
 
Posts: 2
Joined: Sat Oct 24, 2015 4:32 pm


Return to Installation & Upgrades

Who is online

Users browsing this forum: No registered users and 2 guests

cron