Sunday, June 16, 2013

How to preserve custom settings for BOE java apps in BI 4.0

After applying a patch, customizations added to ..\Tomcat6\webapps\BOE\WEB-INF\config\custom are lost
Environment
BI 4.0
Tomcat 6
Issue
1) Make changes to <BOE_HOME>\Tomcat6\webapps\BOE\WEB-INF\config\default\<app name>.properties
2) Copy the modified file to <BOE_HOME>\Tomcat6\webapps\BOE\WEB-INF\config\custom
3) apply a patch
4) Obverse that the modifications to <BOE_HOME>\Tomcat6\webapps\BOE\WEB-INF\config\default\<app name>.properties are reverted and the copied file in <BOE_HOME>\Tomcat6\webapps\BOE\WEB-INF\config\custom is no longer present.
Reason
When the patch is applied the BOE web application is redeployed
Solution
In order to preserve these changes, you will need to modify the files in both locations below:
<BOE_HOME>\Tomcat6\webapps\BOE\WEB-INF\config
<BOE_HOME>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\config
 This is the location where changes will be merged.  Files in this directory are modified by the patch and not replaced.  The patch will then use wdeploy to deploy the modified application to Tomcat.

Hope you find this useful.
Cheers,
Umang Patel
+919979084870
SAP BO BI Solution Architect/Consultant

No comments:

Post a Comment