Configuring Oracle 8i Release 3 (8.1.7) for use with WebSphere Application Server

This article describes how to create the Oracle users required by WebSphere Application Server. The procedures in this article assume that you have installed Oracle 8i.

Perform the following steps to configure Oracle 8i for use with WebSphere Application Server:

  1. Ensure that you are logged in as the user oracle.
  2. Edit the initialization file $ORACLE_HOME/dbs/inityour_SID.ora as follows:
  3. Restart your Oracle database by entering the following commands:
    $ svrmgrl
    SVRMGR> connect internal
    SVRMGR> startup

    Note: You might need to stop the database before you are able to restart it. To stop the database, enter the following commands:

    $ svrmgrl
    SVRMGR> connect internal
    SVRMGR> shutdown
  4. Ensure that the Oracle listener is started or start it by entering the following commands:
    $ lsnrctl
    LSNRCTL> start
  5. You must create the Oracle user EJSADMIN required by WebSphere Application Server and grant this user dba authority. To do this, enter the following commands using these values: the system variable is the user ID; the manager variable is the default password; and the EJSADMIN_password is the password you assign to the user EJSADMIN.

    $ sqlplus system/manager 
    SQL> create user EJSADMIN identified by EJSADMIN_password;
    SQL> grant connect, resource, dba to EJSADMIN;
    SQL> quit
  6. If any of your applications use JTA datasources, enter the following commands using these values: SYS is a user account created by the Oracle Database Configuration Assistant; change_on_install is the password for the SYS account created by the Oracle Database Configuration Assistant.
    $ sqlplus SYS/change_on_install
    SQL> grant select on dba_pending_transactions to EJB;
    SQL> quit
  7. Test access to the new database with the user ID EJSADMIN by doing the following:
    1. Enter the following command:
      $ sqlplus ejsadmin/EJSADMIN_password

      A message is displayed indicating a successful connection.

    2. Enter the following command to log out as the user EJSADMIN:
      $ exit