Updating the data source connection in WebSphere Liberty (Oracle)

Applies to: On premises

Update IBM® WebSphere® Liberty with the database server connection information.

Procedure

  1. Log on to the application server.
  2. Stop the application servers.
    For more information, see Stopping application servers.
  3. Open the following file in a text editor: <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/bootstrap.properties

    Where <server_name> is the name of the application server.

  4. Update the database server connection information.
    op.ora.databaseName=<db_name>
    op.ora.portNumber=<db_port>
    op.jdbc.host=<host_name>
    • <host_name> is the name of the database server, such as eng11.
    • <db_port> is the database port number, such as 1521.
    • <db_name> is the name of the OpenPages database, for example OP.
      Note: If you are using Oracle PDB, specify the name of the container database.
  5. Save your changes.
  6. Repeat these steps on each application server.
  7. Restart the application servers.
    For more information, see Starting application servers.