IBM WebSphere and JNDI Context Caching

The IBM WebSphere application server provides a mechanism for caching the JNDI context object to improve the performance of JNDI lookup operations. ActiveMatrix BusinessWorks also caches the JNDI context object when resources such as EJB activities, JMS activities, JDBC activities, or JTA UserTransactions use JNDI. ActiveMatrix BusinessWorks performs best when using its own caching mechanism. Therefore, you must disable the IBM WebSphere caching mechanism when using IBM WebSphere with ActiveMatrix BusinessWorks. For a complete description of its caching features, see the IBM WebSphere documentation .

You can disable the IBM WebSphere JNDI context caching feature by performing the following procedure:

Procedure 

  1. Configure a JNDI Configuration resource.

  2. On the Advanced tab, click the + button next to the table in the Optional JNDI Properties field to add a property.

  3. In the Name field of the property, enter com.ibm.websphere.naming.jndicache.cacheobject.

  4. Leave the Type field as the default value of string.

  5. In the Value field, enter none.

  6. Click Apply to accept the changes.

  7. Use the JNDI Configuration resource in an EJB Connection, JMS Connection, or JTA UserTransaction shared configuration resource.