ActiveVOS Server and Resource Configuration

This section leads you through configuration of the resources required for ActiveVOS Server. You must configure your database, application server and ActiveVOS Server before deploying and running ActiveVOS. The sections below provide information for completing the configuration.

Configuring a JDBC Data Source

To configure a JDBC Datasource within WebSphere, perform the following steps:

  1. Navigate to JDBC Providers under Resources.
  2. Select Create a New Database Provider.
  3. Select either a known database provider type (e.g., DB2 Universal JDBC Driver Provider) or create a new user defined provider (i.e., User-defined JDBC Provider).
    The table below provides information on the parameters that must be filled in.
  4. ParameterValue

    Name

    User defined or the value from the drop-down list

    Description

    User defined

    Classpath

    The classpath for the jar(s) that contain the JDBC Driver for example:

    • ${DB2_JDBC_DRIVER_PATH}/db2jcc.jar
    • ${DB2_JDBC_DRIVER_PATH}/db2jcc_license_cu.jar

    Implementation Classname

    The implementation name for the data source, for example

    • DB2= com.ibm.db2.jcc.DB2ConnectionPoolDataSource
    • mySQL = com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  5. Apply changes.
  6. Select the Data Sources link under Additional Properties.
  7. Create a new data source. The table below describes the properties and associated values:
  8. Property Value

    Name

    ActiveVOS DataSource

    JNDI Name

    jdbc/ActiveVOS

    Data store helper classname
    Note: For DB2 only

    com.ibm.websphere.rsadapter.GenericDataStoreHelperClasspath

  9. Apply changes.
  10. Select Additional Properties then Connection Pool.
  11. Set the Min Connections and the Max Connections. The suggested values are min = 10 and max = 50.
  12. Select the link J2EE Connector Architecture (J2C) authentication data entries from the DataSource definition page.
  13. Create a database authorization alias to be used during EAR deployment. You should use ActiveVOSDBAlias as the name of the alias.
  14. Provide the user name and password to access the database.
  15. Press OK to return to the Data Source configuration page.
  16. Select Additional Properties then Connection Pool.
  17. Select Custom Properties and add/modify the property values as required. The table below provides examples of the properties and associated values for DB2 and MySQL:
  18. Property DB2 ValueMySQL Value

    databaseName

    ABPEL

    ActiveVOS

    serverName

    host name where DB2 installed

    host name where DB2 installed

    portNumber

    50000

    3306

    user

    db user name

    db user name

    password

    db password

    db password

    useUnicode

    N/A

    true

    characterEncoding

    N/A

    UTF-8

    characterSetResults

    N/A

    utf8

  19. Save the changes.
  20. Test the newly created connection.
  21. Provide the user name and password to access the database.

Configuration Instructions

Before running the Configuration utility, perform the following pre-configuration steps:

First Time or New Install

If you are performing a clean installation, that is, a first-time install or a new database, you can use the Configuration utility to automatically install the database schema.

Manual Install or Update of Database Schema

It is strongly recommended that you automatically install the database schema; however, you can manually install it. Customers migrating from an earlier version should follow the instructions below.

Migrating from an earlier release of ActiveVOS

If you are migrating from an earlier release of ActiveVOS Server, perform the following steps:

ActiveVOS Server can be configured to use an RDBMS database

Relational Database Schemas

These instructions are generalized to make sure they can be followed for each database. When creating the database schema for ActiveVOS, you can either create a new database definition or upgrade an existing definition.

Install a new database schema

  1. Identify your DDL. Use the information provided in the table below to locate the correct DDL file.
  2. Database Server DDL File Name and LocationNotes

    MYSQL

    {install_dir}/server/websphere_config/ddls/ActiveBPEL-Enterprise-MYSQL.SQL

    The default database name, ActiveVOS is defined within the DDL file. If you edit this name, ensure that you do not replace ActiveVOS Enterprise, a name that is inserted into the AeMetaInfo table.

    MS SQL SERVER

    {install_dir}/server/websphere_config/ddls/ActiveBPEL-Enterprise-SQLSERVER.SQL

    The default database name, ActiveVOS is defined within the DDL file. If you edit this name, ensure that you do not replace ActiveVOS Server, a name that is inserted into the AeMetaInfo table.

    ORACLE

    {install_dir}/server/websphere_config/ddls/ActiveBPEL-Enterprise-ORACLE.SQL

    Create a tablespace prior to running the DDL.

    DB2

    {install_dir}/server/websphere_config/ddls/ActiveBPEL-Enterprise-DB2.SQL

  3. Copy the DDL file from above, and rename it.
  4. Note: The original files must remain unchanged for the Configuration utility to work properly

  5. (Optional) Modify the database name.Be sure to see the notes above.
  6. Execute the DDL script.
  7. Each database server provides its own mechanism or utility for executing a DDL script file. Execute the DDL script file using the appropriate utility. For example, if you are using Oracle, the utility to execute the DDL script file would be SQL Plus.

Upgrade an existing database schema

To upgrade your existing ActiveVOS database to be compatible with the new version of software, follow the instructions below:

  1. Shutdown ActiveVOS before executing a database upgrade.
  2. Identify your current running version of ActiveVOS. Database upgrades are provided to upgrade from one version back at a time. This means that more than one upgrade script may need to be applied to your database.
  3. For each upgrade that needs to be applied perform the following:
    1. Identify your DDL. Use the information provided in the table below to locate the correct DDL file. Note: The updates must be applied in ascending order.
    2. Database ServerDDL File Name and Location

      MYSQL

      {install_dir}/server/websphere_config/ddls/updates/ActiveBPEL-Enterprise-MYSQL-PATCH-{patch number}.SQL

      MS SQL SERVER

      {install_dir}/server/websphere_config/ddls/updates/ActiveBPEL-Enterprise-SQLSERVER-PATCH-{patch number}.SQL

      ORACLE

      {install_dir}/server/websphere_config/ddls/updates/ActiveBPEL-Enterprise-ORACLE-PATCH-{patch number}.SQL

      DB2

      {install_dir}/server/websphere_config/ddls/updates/ActiveBPEL-Enterprise-DB2-PATCH-{patch number}.SQL

    3. Modify the database name.
    4. Make sure that the database name in the patch matches the database as you originally created it. To modify the name to match the installed database use the following steps.

      1. Open the appropriate DDL for your database server in a text editor.
      2. Replace the first three instances of the text ActiveVOS with the preferred database name. Note: Be sure not to replace the ActiveVOS Enterprise that is inserted into the AeMetaInfo table or the ActiveVOS Server will not start.
    5. Execute the DDL script.
    6. Each database server provides its own mechanism or utility for executing a DDL script file. Execute the DDL upgrade script file using the appropriate utility. For example, if you are using Oracle, the utility to execute the DDL script file would be SQL Plus.

Security Configuration

You can find details on configuring ActiveVOS security roles in the ActiveVOS Server User's Guide in your doc folder.

Using the Configuration Utility

The Configuration utility walks through the steps required to provide the property values for ActiveVOS and selected resources.

Note: Before running the utility, ensure that your server container is stopped.

Starting the Configuration Utility

Execute one of the following utilities based on your operating system:

If You Have Manually Installed or Updated the Database Schema

If you have manually installed or updated the database schema, when prompted, you must not select the "Install Database Schema" checkbox.

Running the Configuration Utility in Different Modes

The Configuration utility can be run with a graphical interface (default), in console mode or silently. When you run the utility your configuration options are automatically written to the install.properties file and they will be used as the defaults the next time the application is configured. One of the following parameters is accepted by the Configuration utility:

An example of running the Configuration utility from the command line is: config_deploy help

Configuration Help

The Configuration utility contains online help for each panel of the utility. Access Help by clicking the Help button on each panel. Additionally you can access the help from {install_dir}/server-enterprise/websphere_config/doc/html/config.

Configuring a JMS Messaging Service

You can configure a JMS Messaging Service in ActiveVOS in order to communicate with external clients and services over JMS. To set up a listener on a JMS queue or topic, you must deploy a message-driven bean.

For details, refer to the JMS Messaging Service help topic from the Help link in the ActiveVOS Server Console.