# WLOC Administration Console Online Help

# Define a connection factory for JMX connections

A connection factory encapsulates a set of connection configuration settings and is used to instantiate one or more connections at runtime. WLOC uses a connection factory to manage JMX connections used by JMX configuration actions.

To define a connection factory for JMX connections:

1. Access the Controller page in one of the following ways:
   - Click the Controller tab in the WLOC navigation bar.
   - Click the Home tab in the WLOC navigation bar and click Controller under Manage Configuration.
2. Click the Connections tab on the Controller page.

   The list of currently defined connection factories is displayed in the Connection Factories table.

3. Click New under Connection Factories.
4. Enter the following information:

   Field | Description
   --- | ---
   Name | Name of the connection factory. Once you create a connection factory, you cannot rename it. Instead, you must delete it and create another one with a new name.
   Description | Description of the connection factory. This field is optional.
   Factory Class | Class name that is used to access the connection factory within the JNDI name space. Applications use the JNDI name to look up the connection factory. If you do not specify a JNDI name for the connection factory, it is not available for JNDI lookup even after the connection factory has been targeted to a server resource, and you will only be able to access the connection factory in an application-scoped context.

5. Click Finish.
   The changes are saved and the following message confirmation is displayed:

       Connection Factory created successfully

After you finish

Define a connection to a JMX-managed MBean server

Related Tasks

- Modify a connection factory for JMX connections
- Delete a connection factory