Enabling CMA after Internet Server is installed:
In the Internet Server install directory, perform these steps
Note: it is important to install CMA in the Internet Server directory. The installer checks this directory to see if CMA is being used.
Install CMA:
: unjar CMAInstall.jar
: chmod 755 *sh
:./cmainstall.sh
: Respond to the prompts. CMA and Internet Server are configured in the cmainstall step
: The CMA Server starts at the end of cmainstall
Update Internet Server to use CMA:
: copy the reverseProxyDmz.xml file from the CMA WEB-INF directory to the Internet Server WEB-INF directory
<MFT-Install>/cmaserver/webapps/connmgr/WEB-INF/reverseProxyDmz.xml
to
<MFT-Install>/server/webapps/cfcc/WEB-INF/reverseProxyDmz.xml
: Enable Connection Manager on Internet Server
: edit file MFT-Install>/server/webapps/cfcc/WEB-INF/reverseProxyDmz.xml
: change this line (at around line 39)
<proxy-selector state="cma"> <!-- state: on|off|cma, on|off are used by MFT's sock selector, cma means this config is for cma, not for mft -->
to
<proxy-selector state="on"> <!-- state: on|off|cma, on|off are used by MFT's sock selector, cma means this config is for cma, not for mft -->
: save the file
:Check File: <MFT-Install>/CFIConfig.cfg
- Ensure that the "db_address" parameter value is a valid Database IP Address or IP Name
: Restart Internet Server
Internet Server should be using CMA.
Disabling CMA after Internet Server is installed
Disable Internet Server usage of CMA
: edit file <MFT-Install>/server/webapps/cfcc/WEB-INF/reverseProxyDmz.xml
: change this line (at around line 39)
<proxy-selector state="on"> <!-- state: on|off|cma, on|off are used by MFT's sock selector, cma means this config is for cma, not for mft -->
to
<proxy-selector state="off"> <!-- state: on|off|cma, on|off are used by MFT's sock selector, cma means this config is for cma, not for mft -->
: save the file
: Restart Internet Server
Internet Server will no longer use CMA
You can use "netstat -an" to verify that Internet Server is NOT going through CMA.
Rename the CMA directory
This step is required because the installer (release and hotfix) checks the cmaserver directory for the reverseProxyDMX.xml file. If it is found, the installer will try to use CMA.
: Rename this directory:
<MFT-Install>/cmaserver
to
<MFT-Install>/cmaserver.backup