To Edit a JMS Connection Factory Resource

  1. In the navigation tree, expand the Resources node.
  2. Under the Resources node, expand the JMS Resources node.
  3. Under the JMS Resources node, select the JMS Connection Factories node.

    The JMS Connection Factories page opens.

  4. On the JMS Connection Factories page, click the name of the connection factory that you are editing.

    The Edit JMS Connection Factory page opens.

  5. In the Description field, type a description of the connection factory.
  6. Select the Status Enabled checkbox to enable the resource at run time.

    This option is enabled by default.

  7. In the Initial and Minimum Pool Size field, specify the minimum number of connections in the pool.

    The default value is 8.

  8. In the Maximum Pool Size field, specify the maximum number of connections in the pool.

    The default value is 32.

  9. In the Pool Resize Quantity field, specify the number of connections to be removed when pool idle timeout expires.

    The default value is 2.

  10. In the Idle Timeout field, specify the maximum time in seconds that a connection can remain idle in the pool.

    The default value is 300.

  11. In the Max Wait Time field, specify the amount of time the application requesting a connection will wait before getting a connection timeout.

    The default value is 60000.

  12. Select the On Any Failure Close All Connections checkbox so the GlassFish Server will close all connections in the pool and reestablish them if a single connection fails.

    If you do not select the checkbox, individual connections will be reestablished only when they are used.

  13. For a JMS connection factory resource, specify the Transaction Support value as follows:
  14. Select the Connection Validation checkbox to enable connection validation.

    This option is disabled by default.

  15. (Optional) In the Additional Properties table, specify additional properties for the connection factory.

    For information on available properties, see Properties Specific to JMS Connection Factories.

  16. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also