Configuring Java CAPS JBI Components for GlassFish Clustering

Adding the Database Binding Component to the Cluster

The Database BC does not depend on any shared libraries, so you only need to add the BC to the cluster.

ProcedureTo Add the Database Binding Component to the Cluster

  1. Add the Database BC to the cluster as described in To Add a Java CAPS JBI Component to a Cluster.

    The name of the Database BC node is sun-database-binding.

  2. Before you click OK on the Manage Targets page, configure the runtime properties:

    • Enter the number of outbound threads.


      Note –

      When using a Derby database, be sure to set this to a relatively high number (for example, 100 per 1000 records) or create all cluster-related tables in the same database. Otherwise, a SQL exception may be thrown and the database will become unusable.


    • In the Cluster Database JNDI Name property, enter the name of the JDBC resource you created earlier (in To Create the Clustering Database for the Database Binding Component.