Table of Contents

OBIEE 10G - How to redeploy the BI Presentation Service Plug-in (after a patch Installation, Don't forget to redeploy the WAR/EAR file)

About

When you install a patch, it's often asked to “Create and Deploy a new analytics.war (or .ear) file”. In other words, you have to redeploy the BI Presentation Service Plug-in java application. This article shows the steps to perform this task.

Steps

Creating a war file

C:\>cd C:\OracleBI\web

C:\OracleBI\web>set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_17

C:\OracleBI\web>jar -cf analytics.war -C app .

Obiee Analytics War

Redeploy the archive

Obiee Redeploy Select Archive

Obiee Redeploy Application Attributes

The confirmation web page open and you can see the progress. Normally, you receive this message:

The application has been successfully deployed

[Feb 22, 2010 11:44:30 AM] Application Deployer for analytics STARTS.
[Feb 22, 2010 11:44:30 AM] Stopping application : analytics
[Feb 22, 2010 11:44:30 AM] Stopped application : analytics
[Feb 22, 2010 11:44:30 AM] Undeploy previous deployment
[Feb 22, 2010 11:44:33 AM] Initialize C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics.ear begins...
[Feb 22, 2010 11:44:42 AM] Initialize C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics.ear ends...
[Feb 22, 2010 11:44:42 AM] Starting application : analytics
[Feb 22, 2010 11:44:42 AM] Initializing ClassLoader(s)
[Feb 22, 2010 11:44:42 AM] Initializing EJB container
[Feb 22, 2010 11:44:42 AM] Loading connector(s)
[Feb 22, 2010 11:44:42 AM] Starting up resource adapters
[Feb 22, 2010 11:44:42 AM] Initializing EJB sessions
[Feb 22, 2010 11:44:42 AM] Committing ClassLoader(s)
[Feb 22, 2010 11:44:42 AM] Initialize analytics begins...
[Feb 22, 2010 11:44:42 AM] Initialize analytics ends...
[Feb 22, 2010 11:44:42 AM] Started application : analytics
[Feb 22, 2010 11:44:42 AM] Binding web application(s) to site default-web-site begins...
[Feb 22, 2010 11:44:42 AM] Binding web application(s) to site default-web-site ends...
[Feb 22, 2010 11:44:42 AM] Application Deployer for analytics COMPLETES. Operation time: 11796 msecs

Post Installation Task

If you are on OC4J, recopy the style and skin from the location OracleBIData\web\res to the location define in your configuration file, by default, OracleBI_home\oc4j_bi\j2ee\home\applications\analytics.\analytics\analyticsRes

Documentation / Reference