All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-ejbmdbpoolsettings.html Maven / Gradle / Ivy

The newest version!


To Configure MDB Pool Settings

The pool for message-driven beans is similar to the pool for session beans. By default, the container maintains a pool of message-driven beans.

To adjust the configuration of this pool, perform these steps.

  1. In the navigation tree, expand the Configuration node.

  2. Select the EJB Container node.

    The Enterprise Java Beans (EJB) page opens.

  3. Click the MDB Settings tab.

    The MDB Default Pool Settings page opens.

  4. In the Initial and Minimum Pool Size field, type the minimum number of message beans to be maintained in the pool.

    The default value is 0.

  5. In the Maximum Pool Size field, type the maximum number of beans that the container can maintain in the pool at one time.

    The default value is 32.

  6. In the Pool Resize Quantity field, type the number of beans that are removed from the pool if they are idle for more than the time specified in the Pool Idle Timeout field.

    The value must be at least 0 and less than the Maximum Pool Size value. The default value is 8.

  7. In the Pool Idle Timeout field, type the time, in seconds, that a bean in the pool can remain idle before it is removed from the pool.

    After this amount of time, the bean is destroyed. A value of 0 means that a bean can remain idle indefinitely. The default value is 600.

  8. In the Additional Properties section, specify additional properties.

    The GlassFish Server does not define any additional properties for the MDB pool.

    • To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.

    • To modify a property, edit that property's Value field.

    • To delete a property, select the checkbox to the left of the Name field of the property that you are deleting, then click the Delete Properties button.

  9. Click Save.


    Tip:

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


  10. Restart the GlassFish Server.

See Also
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy