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

1 - 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.

3 - Steps

3.1 - 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 .

3.2 - Redeploy the archive

  • Optional: Start oc4j console to see the console
  • Stop the application to redeploy
  • Redeploy:Select archive

  • Redeploy:Application attributes

  • Redeploy:Deployment Settings: Click the redeploy button
  • Progress:

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

3.3 - Post Installation Task

  • Copy the style and skin directory

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

  • Restart the OBI presentation services

4 - Documentation / Reference


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap