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
configuring open emm to run with existing tomcat
Moderator: moderator
Re: configuring open emm to run with existing tomcat
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 )
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)
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>
...
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)