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

max-pool-size default value is wrong in 14.2. Datasource Parameters, Administration And Configuration Guide

XMLWordPrintable

    • Documentation (Ref Guide, User Guide, etc.)
    • Low
    • Not Required
    • ON_QA

      http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Administration_And_Configuration_Guide/ch14s02.html

      > <max-pool-size>
      > The maximum number of connections allowed in the pool. Defaults to 20.

      The actual default value is 10.

      connector/src/main/org/jboss/resource/metadata/mcf/ManagedConnectionFactoryDeploymentMetaData.java

      > @XmlElement(name="max-pool-size")
      > @XmlJavaTypeAdapter(IntegerSystemPropertyXmlJavaTypeAdapter.class)
      > private Integer maxPoolSize = 10;

      I confirmed in both source code and runtime. It's 10 in JMX if I removed <max-pool-size> in *-ds.xml using EAP 5.1.1.

              smumford_jira Scott Thomas (Inactive)
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified