WebLogic Postinstallation Step

This section describes the pre-requisites and post-requisites for configuring the Oracle WebLogic® Application Server for use with WebFOCUS and ReportCaster. It is assumed that WebLogic components are installed and configured. For additional information, see the WebLogic documentation.

Prior to deploying the webfocus.war web archive to WebLogic, you must perform the following steps.

  1. Create a file called weblogic.xml in the ../ibi/WebFOCUS93/webapps/webfocus/WEB-INF directory with the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
    xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd
    http://xmlns.oracle.com/weblogic/weblogic-web-app
    http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
    
     <wls:container-descriptor>
      <wls:prefer-application-packages>
       <wls:package-name>org.apache.commons</wls:package-name>
      </wls:prefer-application-packages>
     </wls:container-descriptor>
    </wls:weblogic-web-app>
  2. Recreate the webfocus.war web archive and call the new archive ibi_apps.war. The following assumes the jar command is in your path and that you want to use /ibi_apps as your WebFOCUS context root:
    1. cd ../ibi/WebFOCUS93/webapps/webfocus
    2. jar cf ../ibi_apps.war .
  3. Deploy the ibi_apps.war archive in place of the webfocus.war.