Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9804

background-validation and background-validation-minutes descriptions are wrong in 15.2. Datasource Parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • TBD EAP 5
    • EAP_EWP 5.1.2
    • Documentation
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Hide
      The Administration and Configuration Guide did not document that datasource properties <background-validation> and <background-validation-minutes> have been deprecated. Notes on deprecation have been added and the property descriptions have been modified respectively.
      Show
      The Administration and Configuration Guide did not document that datasource properties <background-validation> and <background-validation-minutes> have been deprecated. Notes on deprecation have been added and the property descriptions have been modified respectively.
    • Documented as Resolved Issue
    • NEW

    Description

      https://access.redhat.com/knowledge/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Administration_And_Configuration_Guide/ch15s02.html

      <background-validation> and <background-validation-minutes> have been deprecated and no longer supported by the change of JBAS-4088. <background-validation-minutes> is replaced with <background-validation-millis>. And any <background-validation-millis> > 0 will enable background validation.

      So please change <background-validation> from:

      <background-validation>

      Background connection validation reduces the overall load on the RDBMS system when validating a connection. When using this feature, EAP checks whether the current connection in the pool a separate thread (ConnectionValidator). <background-validation-minutes> depends on this value also being set to TRUE. Defaults to FALSE.

      to:

      <background-validation>

      This parameter has been deprecated and no longer supported. Any background-validation-millis > 0 will enable background validation.

      And also please change <background-validation-minutes> from:

      <background-validation-minutes>

      How often, in minutes, the ConnectionValidator runs. Defaults to 10 minutes.
      Note:
      You should set this to a smallervalue than <idle-timeout-minutes>, unless you have specified <min-pool-size> a minimum pool size set.

      to:

      <background-validation-minutes>

      This parameter has been deprecated and no longer supported. Use background-validation-millis instead.

      And also, please add the following:

      Default to 0 mills. And Any background-validation-millis > 0 will enable background validation.

      to <background-validation-millis> like:

      <background-validation-millis>

      Background connection validation reduces the overall load on the RDBMS system when validating a connection. Setting this parameter means that JBoss will attempt to validate the current connections in the pool as a separate thread ( ConnectionValidator). This parameter's value defines the interval, in milliseconds, for which the ConnectionValidator will run. (This value should not be the same as your <idle-timeout-minutes value.) Default to 0 mills. Any background-validation-millis > 0 will enable background validation.

      Attachments

        Activity

          People

            ekopalov_jira Eva Kopalova (Inactive)
            rhn-support-mmiura Masafumi Miura
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: