Release
10.1.3.2.0
Part No. B32481-01
December 2006
This document contains the following topics:
Oracle BI Publisher offers you the most efficient, scalable reporting solution available for complex, distributed environments. It provides a central architecture for generating and delivering information to employees, customers, and suppliers—both securely and in the right format. Oracle BI Publisher reduces the high costs associated with the development, customization and maintenance of business documents; while increasing the efficiency of reports management.
This document contains instructions for deploying BI Publisher manually on a J2EE application server. The Oracle Business Intelligence Enterprise Edition install disc contains the following BI Publisher components:
BI Publisher Enterprise server application
BI Publisher runtime libraries
BI Publisher fonts
Documentation: User’s Guide, Javadocs, demos, and samples
These items can be found on the Oracle BI EE installation disc under the top level directory: Server_Ancillary\Oracle_Business_Intelligence_Publisher
Individual components are located as follows:
Component | Directory |
---|---|
Fonts directory | fonts |
Template Builder for Word Add-in | BI_Publisher_Desktop |
xmlpserver.war for non-oc4j application servers | generic |
Javadoc | doc |
xmlpserver.ear for oc4j | oc4j |
XMLP repository | XMLP |
Note: The application uses Apache Axis and the OpenSymphony Quartz Scheduler open-source software packages. The Apache license agreement for Axis is included on the install disc under Server_Ancillary\Oracle_Business_Intelligence_Publisher\doc\ApacheLicense.txt and can also be obtained from http://www.apache.org/licenses/LICENSE-2.0.
For the most current information please check:
Oracle BI Publisher Web Page:
http://www.oracle.com/technology/products/applications/publishing/index.html
BI Publisher/XML Publisher Forum:
http://forums.oracle.com/forums/forum.jspa?forumID=245
The following are prerequisites to run Oracle BI Publisher:
Java Runtime Environment (JRE) / Java Development Kit (JDK) version 1.4 or later
Any J2EE-based application server, such as:
Oracle OC4J 10.1.3
Oracle Application Server 10.1.3.2
Apache Tomcat 5.5
IBM WebSphere 6.0
Database, such as (optional, but required for the scheduler database):
Oracle Database 9i or 10g
Microsoft SQL Server
IBM DB2 UDB
Sybase Adaptive Server
MySQL
Web Browser
Microsoft Internet Explorer 6.0
Mozilla Firefox 1.5 or later
The server application allows you to create, manage and schedule reports. You must perform the following steps as described in this document to deploy Oracle BI Publisher manually:
Deploy BI Publisher on the application server.
Create the BI Publisher schema on the database server (required to send and schedule reports).
Configure the BI Publisher application.
Set up the BI Publisher Demo Reports.
BI Publisher is a pure J2EE application and has been extensively tested on:
Oracle AS 10.1.3
OC4J Standalone 10.1.3
Apache Tomcat 5.5
IBM WebSphere 6.0
Important: If you are using a non-Oracle database, you must set up your database before setting up the application server. See Installing and Configuring the Scheduler on the Database.
Follow the steps below to deploy BI Publisher on Oracle AS 10.1.3 or OC4J 10.1.3. These steps assume familiarity with the Oracle Enterprise Manager and the Application Server Control (ASC) interface:
Open the Application Server Control screen (typically: http://localhost:8888/em) in your browser and log in as oc4jadmin.
Select the Applications tab and select the Deploy button.
For the Archive Location, browse for Server_Ancillary\Oracle_Business_Intelligence_Publisher\oc4j\xmlpserver.ear on the Oracle BI EE install disc and select the Next button.
Enter xmlpserver as the Application Name and select the Next button.
If you are setting up the scheduler on a non-Oracle Database, perform the following:
On the Deployment Settings page, select the Configure Class Loading task.
From the Configure Class Loading page, select the shared library you created (dbc.datadirect) and deselect "oracle.toplink". Select OK.
On the Deployment Settings page, click Deploy.
Copy the fonts in the Server_Ancillary\Oracle_Business_Intelligence_Publisher\fonts directory on the BI EE install disc to the fonts directory of your Java Runtime Environment (JAVA_HOME\lib\fonts).
For example: C:\Program Files\Java\jdk1.5.0_06\jre\lib\fonts
Start or restart OC4J.
Open your browser http://hostname:port/xmlpserver to see the login page.
For example: http://localhost:8888/xmlpserver
If you see the login page, continue under Configuring the BI Publisher Application.
Follow the steps below to deploy BI Publisher on Apache Tomcat 5.5:
Important: Apache Tomcat deployments of BI Publisher require that folder and file names use ASCII characters only. Any non-ASCII character will be displayed incorrectly.
Open the Tomcat home page.
Select Tomcat Manager.
From the Tomcat Web Application Manager page, under the Deploy region, browse for and select the Server_Ancillary\Oracle_Business_Intelligence_Publisher\generic\xmlpserver.war from the BI EE install disc. Select the Deploy button.
Ensure the xmlpserver application successfully deployed. If successful, /xmplserver will appear on the Tomcat Web Application Manager page under the list of Applications.
Copy the fonts from Server_Ancillary\Oracle_Business_Intelligence_Publisher\fonts on the install disc to the fonts directory of your Java Runtime Environment (JAVA_HOME\lib\fonts). For example: C:\Program Files\Java\jre1.5.0_07\lib\fonts
Start or restart Tomcat 5.5 (typically from services).
Open your browser, http://hostname:port/xmlpserver to see the demo page.
For example: http://localhost:8080/xmlpserver
If you see the login page, continue under Configuring the BI Publisher Application.
Access the WebSphere Administrative Console, select Install New Application.
Choose the xmlpserver.ear file.
Select the Generate Default Bindings checkbox and click Next.
On the Select installation options page, select the Distribute application checkbox and the Create MBeans for resources checkbox.
On the Map modules to servers page, select xmlpserver.war.
On the Map virtual hosts for Web modules page select xmlpserver.war.
On the Summary screen, review your selections, and select Finish.
You will see the deployment status on the screen. Once you see the success message, select the Save to Master Configuration link.
Copy the font files from Server_Ancillary\Oracle_Business_Intelligence_Publisher\fonts to the Java VM that comes with WebSphere:
<WebSphere installation dir>/AppServer/java/jre/lib/fonts
Restart BI Publisher.
From the WebSphere Administration Console, select the Enterprise Applications link, choose "xmlpserver" and click the Stop button. Once stopped, choose "xmlpserver" and click the Start button.
Open your browser, http://hostname:port/xmlpserver to see the demo page.
For example: http://localhost:8080/xmlpserver
If you see the login page, continue under Configuring the BI Publisher Application.
Follow the steps below to configure BI Publisher Enterprise.
The BI Publisher repository must be initialized with the XMLP directory located on your installation disc. Copy this directory to a location on your server and edit the configuration file to point to it, as follows:
Copy the XMLP repository directory from: Server_Ancillary\Oracle_Business_Intelligence_Publisher\XMLP to your server.
Open the browser:
http://hostname:port/xmlpserver to see the welcome page.
For example: http://localhost:8888/xmlpserver
Note: Your xmlpserver.war or xmlpserver.ear file should now be unpacked.
Open the xmlp-server-config.xml file located in the
<application installation>/WEB-INF/ directory, where your application server unpacked the war or ear file.
Example:
In an AS/OC4J 10.1.3 deployment, the location is (ORACLE_HOME)/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/xmlp-server-config.xml.
The contents of the file are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xmlpConfig xmlns="http://xmlns.oracle.com/oxp/xmlp">
<resource>
<file path="%s_Reports_Path%"/>
</resource>
</xmlpConfig>
Enter the file path to where you copied the XMLP repository directory on your server.
For example, if you copied the repository directory to/home/repository, update the xmlp-server-config.xml file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xmlpConfig xmlns="http://xmlns.oracle.com/oxp/xmlp">
<resource>
<file path="/home/repository"/>
</resource>
</xmlpConfig>
Open your browser to the login page. For example:
Open your browser, http://hostname:port/xmlpserver to see the welcome page.
For example: http://localhost:8888/xmlpserver
Enter the credentials: Administrator/Administrator.
Important: Please change the Administrator password on the Account tab under Preferences.
In the Oracle BI Publisher Enterprise screen, click the Admin tab.
The Admin view contains the following sections and links:
Section | Links to Configuration Screens |
---|---|
Data Sources |
|
Security Center |
|
Delivery | Delivery Configuration |
System Maintenance |
|
Runtime Configuration |
|
Integration | Oracle BI Presentation Services |
Set up Oracle BI as a data source.
See the Oracle Business Intelligence Infrastructure Installation and Configuration Guide for information on the appropriate settings.
Set up integration with Oracle BI Presentation Services.
From Integration, select Oracle BI Presentation Services.
Enter the Admin Username and Admin Password administrator credentials for Oracle Business Intelligence.
Enter the URL suffix as analytics/saw.dll. When enabling SSO, change this URL to the application you define; for example: analyticsSOAP/saw.dll. For more information, see the Oracle Business Intelligence Enterprise Edition Deployment Guide.
Set other runtime properties as desired. From the Admin tab, under Runtime Configuration, select Properties. See the Oracle Business Intelligence Publisher User's Guide for information on the runtime properties.
Restart the application server.
The database configuration is required to send or schedule reports. In this release, the following databases are supported:
Oracle Database 9i or 10g
Microsoft SQL Server
IBM DB2 UDB
Sybase Adaptive Server
MySQL
The following scheduler setup options are described in detail in the following sections:
Oracle Database with Oracle AS/OC4J 10.1.3 or Tomcat
Sybase on Oracle AS/OC4J 10.1.3
Microsoft SQL Server on Oracle AS/OC4J 10.1.3
Microsoft SQL Server on Tomcat
Follow the steps below to configure Oracle Database 10g for BI Publisher:
Create a new database user where you want to store the BI Publisher scheduler schema.
Note that when you create the user, you must set a quota, otherwise the quota will be 0 (zero).
The following example shows the creation of "bipuser":
SQL> CREATE USER bipublisher
2 IDENTIFIED BY welcome
3 DEFAULT TABLESPACE USERS
4 TEMPORARY TABLESPACE TEMP
5 QUOTA 100M ON USERS
6 QUOTA 1M ON TEMP;
User created.
SQL> GRANT CREATE SESSION TO bipublisher; -- (or "GRANT CONNECT TO bipuser;", it's the same thing.)
Grant succeeded.
SQL> grant create table to bipublisher;
Grant succeeded.
Refer the Oracle Database Security Guide for more detail on setting up users.
Set up the connection to the Oracle Database in the BI Publisher application:
Log in to BI Publisher and select the Admin tab.
Under System Maintenance, select Scheduler Configuration.
Enter the database connection information for the target Oracle database.
Database Type: 10g
Connection String: jdbc:oracle:thin://<hostname>:<port#>:<oracle SID>
Username/Password for the database user
Database Driver Class : oracle.jdbc.driver.OracleDriver
Click the Test Connection to make sure the connection info is valid.
Click Install Schema button to install the scheduler tables.
Continue under Running the BI Publisher Demo Reports.
Install SQL Server 2000. Make sure you set the "Mixed" authentication mode.
Open SQL Server Enterprise Manager.
Choose New Database.
Set the database name. For example: bipublisher
Select New login to create a new user.
Set the username. Choose "SQL Server Authentication" and set the password. Set the default database to the database that you created.
Click the Database Access tab and select the database that you created above. Select the "db_owner" role in the lower window (the user must be able to access the tables owned by "db"'). Click OK to create the user.
Register the DataDirect JDBC Driver on OC4J.
Oracle provides a JDBC driver for non-Oracle databases called Oracle DataDirect. This document refers to Oracle DataDirect version 3.4. Please refer to the following links for more information. Note that Oracle DataDirect works with OC4J only.
DataDirect Download: http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
Set up DataDirect on OC4J:
See the http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14427/datasrc.htm.
Register DataDirect JDBC Driver on OC4J.
Open OC4J Application Server Control (ASC).
Choose the Administration tab and click Shared Libraries.
On the Shared Libraries page, click Create.
Enter the Shared Library Name (example: jdbc.datadirect) and Shared Library Version (example: 1.0).
Upload JDBC driver files and click OK:
YMbase.jar
YMresource.jar
YMulti.jar
YMdb2.jar
YMsybase.jar
YMsqlserver.jar
On the Import Shared Libraries page, select "oracle.xml" and "oracle.toplink". Click Finish.
Redeploy the application.
From the Enterprise Manager Application Server Control page, select the Applications tab, then click Deploy.
On the Select Archive step, in the Archive Location field, browse for and select the xmlpserver.ear file. Select Next.
Enter the Application Attributes.
Example:
Application Name: xmlpserver
Parent Application: default
Bind Web Module to Site: default-web-site
Context Root: xmplserver
Select Next.
On the Deployment Settings step, click the Configure Class Loading task icon.
On the Configure Class Loading page select the shared library you created ("jdbc.datadirect") and deselect "oracle.toplink", then click OK.
From the Deployment Settings page, click Deploy to deploy the application.
Restart the application.
Set up the connection to the Microsoft SQL Server database in BI Publisher.
Log in to BI Publisher Enterprise as Administrator, click the Admin tab then click Scheduler Configuration.
Enter the SQL Server information (see the following for detail) and click Apply to save it.
Database Type: Microsoft SQL Server
Connection String: jdbc:oracle:sqlserver://<hostname>:<port#>;DatabaseName=<database name>;selectMethod=cursor
Username and Password for the database user
Database Driver Class: com.oracle.ias.jdbc.sqlserver.SQLServerDriver
Click the Test Connection button.
If successful, click Install Schema to install the scheduler schema.
Restart the application to make your changes effective.
Install SQL Server 2000. Make sure you set the "Mixed" authentication mode.
Open SQL Server Enterprise Manager.
Choose New Database.
Set the database name. For example: bipublisher
Choose New login to create a new user.
Set the username. Select "SQL Server Authentication" and set the password. Set the default database to the database that you created.
Select the Database Access tab and choose the database that you created. Select the "db_owner" role in the lower window (the user must have to access the tables owned by "dbo"). Click OK to create the user.
Register the JDBC Driver for Microsoft SQL Server 2000 on Tomcat.
You can download the JDBC Driver for Microsoft SQL Server 2000 from the following location:
To register the JDBC driver for Microsoft SQL Server 2000:
Add JDBC driver files under $CATALINA_HOME/common/lib directory.
Add the Microsoft JDBC driver for SQL Server 2000 files:
msbase.jar
mssqlserver.jar
msutil.jar
Set up the connection to the Microsoft SQL Server database in BI Publisher.
Log in to BI Publisher Enterprise as Administrator, click the Admin tab and then click Scheduler Configuration.
Enter the SQL Server information (see the following for detail) and click Apply to save it.
Database Type: Microsoft SQL Server
Connection String: jdbc:oracle:sqlserver://<hostname>:<port#>;DatabaseName=<database name>;selectMethod=cursor
Username and Password for the database user
Database Driver Class: com.oracle.ias.jdbc.sqlserver.SQLServerDriver
Click the Test Connection button.
If successful, click Install Schema to install the scheduler schema.
Restart the application to make your changes effective.
BI Publisher provides a set of demonstration reports for you to view and run as samples.
Note: The data source demo must be connected to an Oracle Database with the sample schemas and users HR and OE unlocked.
The sample reports require the following general configuration steps:
Configure the Demo File Data Source
Configure the Demo JDBC Data Source
Navigate to the Reports tab and view the demo reports.
This procedure is performed in the Oracle BI Publisher Enterprise screen Admin tab.
Open your browser http://hostname:port/xmlpserver to see the welcome page
For example: http://localhost:8888/xmlpserver
and log in with Administrator credentials.
Select the Admin tab.
In the Data Sources section, select File.
Select the data source with the name "demo files".
Change the path to the DemoFiles folder under the XMLP directory.
For example: C:\OracleBI\xmlp\XMLP\DemoFiles
Click Apply to save the changes.
Select the Admin tab.
In the Data Sources section, select the JDBC Connection link.
Select the select the data source with the name "demo".
In the Update Data Source screen, change the connection string to point to an Oracle 10g database with unlocked oe user.
Click the Test Connection button to confirm that BI Publisher can access the database.
Click Apply to save the changes.
Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/ .
Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.
The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.
The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.
Copyright © 2006,
2007, Oracle. All rights reserved.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle
Corporation and/or its affiliates. Other names may be trademarks of their respective
owners.