Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | Using My webMethods with JMS | Managing JNDI Naming Directories | Adding a JNDI Provider
 
Adding a JNDI Provider
 
Including additional JAR files required by the JNDI provider
You can add and configure a new JNDI provider.
If you are adding WebLogic or JBoss as the JNDI provider, you must do one of the following:
*Include the additional JARs required by the JNDI provider in the CLASSPATH of My webMethods as explained in Including additional JAR files required by the JNDI provider.
*Specify the CLASSPATH of the required JARs in the Provider JARs field as explained below.
*To add and configure a new JNDI provider
1. In My webMethods: Messaging > Naming Directories > Providers.
2. Click Add.
The JNDI provider property settings are displayed (shown in the table below). If a field is editable, its setting is displayed in a text box.
Field
Description
Provider Name
User-supplied name for the JNDI provider.
Predefined Template
The type of JNDI provider. Selections are:
*webMethodsNaming Service
For information about properties for the webMethods Naming Service, see the webMethods Broker Messaging Programmer’s Guide.
*WebLogic
*LDAP
*JBoss
Initial Context Factory
The class name of the JNDI provider.
Provider URL
The URL of the session's initial context (that is, the JNDI directory in which to store JMS administered objects).
Security Principal
The principal name, or user name supplied by My webMethods to the JNDI provider, if the provider requires one for accessing the JNDI directory.
For information about whether a principal name is required, see the provider's product documentation.
For information about the webMethods Naming Service security principal property, see the webMethods Broker Messaging Programmer’s Guide.
Security Credentials
The credentials, or password, that My webMethods provides to the JNDI provider, if the provider requires security credentials to access the JNDI directory.
For information about whether security credentials must be specified and their format, see the provider's product documentation.
For information about the webMethods Naming Service security credentials property, see the webMethods Broker Messaging Programmer’s Guide.
Other Properties
Any additional properties that the provider needs to configure the JNDI.
The tooltip provides you the format for specifying the properties of a webMethods provider. For information about the JMS naming properties, see the webMethods Broker Messaging Programmer’s Guide.
For information about whether a JNDI provider requires additional properties, see the product documentation of that provider.
Provider JARs
The CLASSPATH of any additional JAR files the JNDI provider needs to connect to the JNDI. These files must reside in a file system that is accessible to the Broker user interface.
For more information about the JAR files and supporting classes a JNDI provider requires and the location of the files, see the product documentation for the provider.
Number of Connection Factories
The number of connection factories that are bound to the namespace of this JNDI provider.
Number of Destinations
The number of topics and queues that are bound to the namespace of this JNDI provider.
3. Perform one of the following steps:
a. Click Predefined Template and select a JNDI provider type from the list.
My webMethods fills in values for the provider's required fields. You can customize the property settings.
b. Upload a text file containing the JNDI provider properties by clicking on Import Properties, browsing for the JNDI properties file you want, and clicking OK.
4. Complete any additional property settings and click OK.