Keeping Environment Specific Files Outside War And Loading On Startup (Doc ID 1923787.1)

Last updated on JANUARY 05, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Goal

We have multiple instances in our clustered environment. Currently we are building and deploying a WAR in each instance separately since there are few OOTB property files which are environment specific. This requires more effort and is time consuming during the release process.

We are looking at an option of simplifying the release management process - hence we want to build WAR once and deploy in multiple instances without these property files. Is there a mechanism to keep these environment specific files outside the WAR and load them on application server startup?

cs/WEB-INF/classes/


AdvPub.xml
cas-cache.xml
cs-cache.xml
linked-cache.xml
log4j.properties
satellite.properties
ServletRequest.properties
SSOConfig.xml

/cs/WEB-INF/ - web.xml (this has inipath which is env specific)
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms