Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grails.naming.entries = [
- "java:comp/env/bonitaDS": [
- type: 'javax.sql.DataSource',
- auth: 'Container',
- description: 'Main datasource',
- url: "jdbc:mysql://localhost/bonita?useUnicode=yes&characterEncoding=UTF-8",
- username: "",
- password: "",
- driverClassName: "com.mysql.jdbc.Driver",//"com.mysql.jdbc.jdbc2.optional.MysqlXADataSource",
- maxActive: "8",
- maxIdle: "4"
- ],
- "java:comp/env/bonitaSequenceManagerDS": [
- type: 'javax.sql.DataSource',
- auth: 'Container',
- description: 'Main datasource',
- url: 'jdbc:mysql://localhost/bonita?useUnicode=yes&characterEncoding=UTF-8',
- username: "root",
- password: "root",
- driverClassName: 'com.mysql.jdbc.Driver',
- maxConnectionsPerPartition: "2",
- minConnectionsPerPartition: "1",
- partitionCount: "1",
- acquireIncrement: "5",
- statementsCacheSize: "100",
- releaseHelperThreads: "3"
- ],
- "java:comp/UserTransaction": [
- type: 'com.atomikos.icatch.jta.UserTransactionFactory'
- ]
- <Resource name="bonitaSequenceManagerDS"
- auth="Container"
- type="javax.sql.DataSource"
- maxActive="17"
- minIdle="5"
- maxWait="10000"
- initialSize="3"
- maxPoolSize="15"
- minPoolSize="3"
- maxConnectionAge="0"
- maxIdleTime="1800"
- maxIdleTimeExcessConnections="120"
- idleConnectionTestPeriod="30"
- acquireIncrement="3"
- validationQuery="SELECT 1"
- validationInterval="30000"
- testConnectionOnCheckout="true"
- removeAbandoned="true"
- logAbandoned="true"
- username=""
- password=""
- driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/bonita?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"/>
- <Resource name="bonitaDS"
- auth="Container" type="javax.sql.DataSource"
- factory="bitronix.tm.resource.ResourceObjectFactory" uniqueName="jdbc/bonitaDSXA" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement