My Oracle Support Banner

CM Templates are Getting Wiped Out while Running (Doc ID 2338975.1)

Last updated on OCTOBER 24, 2019

Applies to:

Oracle Financial Services Revenue Management and Billing - Version and later
Information in this document applies to any platform.


In RMB v2., FW v4. using Weblogic v12.1.3, Java v1.8.0.144, Hibernate v4.1.0, JDBC driver 12.1.2 & DB v12.1.2:

We are using SDK with following steps:

Run when deployed the code cm.jar. We use below steps for packaging the code & deployment:

1. Deploy bundles and SQL to package environment (TARGET environment)
2. Download Source from Sourtce control repository to local environment (C:\RMBBuild\RMB2600\SRC)
3. Run extractCMSource to prepare packaging directory
Sample of command –
perl extractCMSource.plx -s C:\RMBBuild\RMB2600\SRC -d C:\RMBBuild\RMB2600\DEST -v RMB2600_CM_4307

4. We deploy java code in “packaging directory (RMB2600_CM_4307)” to package server by running
Sample of command –
cd RMB2600_CM_4307/web/bea_logs/BUILD/CM_packaging/ > applyCM.log

Please note -
a. generates artefacts and deploy to target environment
b. generates artefacts during deployment

5. We then run create_CM_Release to create CM release install package from the packaging app server target environment)
Sample of Command -
./ -e ENV -d /web/bea_logs/BUILD/ENV/package -v CM-V2.

Please note –
The CM-V2. package contains “source”, generated source files and script

6. Run the install tool in Multiplatform package to deploy the CM release install files to target environment

We are seeing the deployment cm templates are getting wiped out.
The script being run during deployment shows following info:

"170928:112351 Expanding environment completed.
170928:112351 Start removing all CM files from the environment
170928:112351 Removing file: /web/bea_apps/RMBPOC/etc/CMVERSION.txt
170928:112351 Removing file: /web/bea_apps/RMBPOC/structures/cm_jars_structure.xml
170928:112351 Removing file: /web/bea_apps/RMBPOC/templates/cm.config.xml.template"

During the deployment, all cm.config.template is getting wipedout which contains our OOM integration configuration and other changes in W eblogic.
Since this is getting wiped out, while running, config.xml is getting overwritten which contains any changes done on weblogic after the installation.

As a workaround, we have to redo the steps again & again. To avoid the work we restore the cm.config.template from backup and rerun the
This article explains if there is any way the wipe out of can be avoided during the deployment so that this workaround can be skipped.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.