Tuning one-phase commit optimization

If we have configured the messaging engine to use a data store, we can achieve better performance by configuring both the messaging engine and container-managed persistent (CMP) beans to share the same data source.

You must configure both the CMP bean and the messaging engine resource authorization so that they share the same data source.

 

  1. Open the admin console.

  2. Click Applications > Application Types > WebSphere enterprise apps > application_name > [Enterprise Java Bean Properties] Map data sources for all 2.x CMP beans .

  3. On the content pane, select the check boxes next to all the CMP beans.

  4. Select Per application in the Resource authorization drop-down list.

  5. Modify the messaging engine resource authorization to Per application by modifying the property file sib.properties and adding the custom property sib.msgstore.jdbcResAuthForConnections=Application.
   



Last updated Nov 10, 2010 8:23:07 PM CST