BI Beans applications use the Oracle9i Release 2 database. For this
reason, you must ensure that the JDBC client JAR files for Oracle9i
Release 2 are installed in the JDBC lib
directory of your standalone
OC4J installation.
The JDBC client JAR files can be found in jdev_home/bibeans/lib/jdbc_92
,
where jdev_home represents the directory in which JDeveloper is installed.
Use the following procedure to deploy an HTML-client application to a standalone OC4J instance:
In JDeveloper, create a deployment profile. Follow the procedure in the JDeveloper Help topic: "Creating a Deployment Profile for a Web Application" but select the following libraries in the Which libraries are involved in dependency analysis box:
BIBeans Runtime
BC4J Runtime
UIX Runtime
OLAP API 92
Deploy to an OC4J connection by completing the following steps:
Ensure that OC4J is running on the production machine.
Right-click the deployment profile (such as webapp.deploy
),
choose Deploy to, and then either select
an existing standalone OC4J connection or chooose New
Connection to define a standalone OC4J connection.
If you are using the Oracle JDBC Thick (OCI) drivers, then you must set environment variables in the console where the OC4J instance will be started.
The environment variable settings for OCI drivers are as follows:
For Unix
ORACLE_HOME
must point to the directory of the Oracle9i
Release 2 database installation.
For example, in C shell: setenv ORACLE_HOME /users/oracle92
LD_LIBRARY_PATH
must point to the lib
directory
under $ORACLE_HOME
. To accomplish this, prefix the current
LD_LIBRARY_PATH
with $ORACLE_HOME/lib
.
For example, in C shell: setenv LD_LIBRARY_PATH /users/oracle92/lib:${LD_LIBRARY_PATH}
PATH
must point to the bin
directory under
$ORACLE_HOME. To accomplish this, prefix the current PATH
with $ORACLE_HOME/lib
.
For example, in C shell: setenv PATH /users/oracle/oracle92/bin:${PATH}
For Windows
ORACLE_HOME
must point to the directory of the Oracle9i
Release 2 database installation.
For example: set ORACLE_HOME=d:\oracle92
PATH
must point to the bin
directory under
$ORACLE_HOME
. To accomplish this, prefix the current PATH
with $ORACLE_HOME\bin
.
For example: set path=d:\oracle92\bin;%path%
Specify the system property -Doc4j.userThreads=true
when you
start the standalone OC4J instance.
Now, you are ready to start your application.