Setting the Oracle 9iAS Classpath to Connect to Remotely Deployed Business Components for Java

  1. Edit the jserv.properties file in a text editor.

    This file is located in the <IAS_home>/Apache/Jserv/etc directory.

  2. Find the block that begins with the comment

    # OJSP environment settings

  3. If you have not previously altered the classpath, it will be configured for local business components deployment. Comment out the following lines:

    wrapper.classpath=<Oracle_home>/lib/jbomt.zip
    wrapper.classpath=<Oracle_home>/lib/xmlparserv2.zip
    wrapper.classpath=<Oracle_home>/jdbc/lib/classes111.zip


    If you have previously altered the class path to connect to business components deployed remotely and want to change the deployment platform, comment out the lines you added for the old platform.

  4. Add lines to the end of the classpath block. The lines you must add depends on your business components deployment platform.

CORBA Server Object to Oracle8i

    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboremote.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jbo8iclient.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jndi.jar
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboo8i.zip
    wrapper.classpath=<Oracle_home>/lib/aurora_client.jar
    wrapper.classpath=<Oracle_home>/lib/vbjorb.jar
    wrapper.classpath=<Oracle_home>/lib/vbjapp.jar

EJB to Oracle8i

    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboremote.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboremoteejb.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/javax_ejb.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jndi.jar
    wrapper.classpath=<Oracle_home>/lib/aurora_client.jar
    wrapper.classpath=<Oracle_home>/lib/vbjorb.jar
    wrapper.classpath=<Oracle_home>/lib/vbjapp.jar

VisiBroker Bind Mode

    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboremote.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jbovbclient.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jndi.jar
    wrapper.classpath=<Oracle_home>/lib/vbjorb.jar
    wrapper.classpath=<Oracle_home>/lib/vbjapp.jar

VisiBroker with Naming Service

    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jboremote.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jbovbclient.zip
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/jndi.jar
    wrapper.classpath=<Oracle_home>/lib/vbjorb.jar
    wrapper.classpath=<Oracle_home>/lib/vbjapp.jar
    wrapper.classpath=<Oracle_home>/lib/vbjcosnm.jar

    Note: If you want to use the VisiBroker naming service, you'll need to copy the file vbjcosnm.jar from your <JDeveloper_home>/lib directory to your <Oracle_home>/lib directory.

  1. If you have business components client and common archives, add the line

    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/<client.jar>
    wrapper.classpath=<Oracle_home>/Apache/BC4J/lib/<common.jar>

    to the end of the jserv.properties file, where <client.jar> is your business components client archive and <client.jar> is your business components common archive.