Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 General Activities Palette : JNDI Configuration

JNDI Configuration
Shared Configuration
The JNDI Configuration shared configuration resource provides a way to specify JNDI connection information that can be shared by other resources. This resource can be specified in any resource that permits JNDI connections. For example, JDBC Connection and JMS Connection can use JNDI connections.
Configuration
The Configuration tab has the following fields.
The initial context factory class for accessing JNDI. (javax.naming.Context.INITIAL_CONTEXT_
FACTORY
). You can choose from the drop down list of supported classes.
See IBM WebSphere and JNDI Context Caching for more information when using IBM WebSphere.
Note: TIBCO ActiveMatrix BusinessWorks attempts to find the class. However, you may need to add the JAR file supplied by your JNDI service provider to the CLASSPATH environment variable to use JNDI.
The URL to the JNDI service provider (javax.naming.Context.PROVIDER_URL). An example URL is provided when one of the supported JNDI context factory classes is selected.
User name for logging into the JNDI server (javax.naming.Context.SECURITY_
PRINCIPAL
). If the JNDI provider does not require access control, this field can be empty.
Password for logging into the JNDI server (javax.naming.Context.SECURITY_
CREDENTIALS
). If the JNDI provider does not require access control, this field can be empty.
Test Configuration Button
The Test Configuration button allows you to test that the specified configuration fields result in a valid connection to a JNDI server.
Advanced
The Advanced tab has the following fields.
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. TIBCO ActiveMatrix BusinessWorks also caches the JNDI context object when resources such as EJB activities, JMS activities, JDBC activities, or JTA UserTransactions use JNDI. BusinessWorks performs best when using its own caching mechanism. Therefore, you must disable the IBM WebSphere caching mechanism when using IBM WebSphere with BusinessWorks. See the IBM WebSphere documentation for a complete description of its caching features.
You can disable the IBM WebSphere JNDI context caching feature by performing the following procedure:
1.
2.
3.
In the Name field of the property, enter com.ibm.websphere.naming.jndicache.cacheobject.
4.
5.
6.
Click Apply to accept the changes.
7.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved