Deploying a BI Beans HTML-Client Application to a Standalone OC4J Instance

Prerequisite for deploying to a standalone OC4J instance

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.

Procedure: Deploying an application to a standalone OC4J instance

Use the following procedure to deploy an HTML-client application to a standalone OC4J instance:

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

  2. Deploy to an OC4J connection by completing the following steps:

    1. Ensure that OC4J is running on the production machine.

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

Preparing to start the application

Environment variables that are required for Oracle JDBC Thick (OCI) drivers

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:

System property that is required for starting the standalone OC4J instance

Specify the system property -Doc4j.userThreads=true when you start the standalone OC4J instance.

Now, you are ready to start your application.