-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Documentation - All
-
Environment:JBoss 4.x
Since we include the maxActive parameter for tomcat installation notes to configure the database connection pool, we should consider doing the same for JBoss
e.g.
<?xml version="1.0" encoding="UTF-8"?> <!-- DataSource for JIRA webapp, called 'JiraDS' (must be same in entityengine.xml) --> <datasources> <local-tx-datasource> <jndi-name>JiraDS</jndi-name> <connection-url>jdbc:mysql://localhost/jirajboss?autoReconnect=true&useUnicode=true&characterEncoding=UTF8</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name>jira_mysql_username</user-name> <password>jira_mysql_password</password> <min-pool-size>5</min-pool-size> <max-pool-size>10</max-pool-size> </local-tx-datasource> </datasources>
min-pool-size and max-pool-size are used to configure the minimum and maximum connection pool sizes respectively.