[jboss-user] [JBoss jBPM] - Re: JBPM and Connection Pooling

fady.matar do-not-reply at jboss.com
Mon Jul 23 07:44:07 EDT 2007


Your question is related to hibernate directly and has nothing to do with jBPM.

However to configure the DBCP connection pooling you need to specify the following properties in hibernate.cfg.xml


  |     <!-- DBCP connection pooling options -->
  |     <property name="hibernate.dbcp.maxWait">3000</property>
  |     <property name="hibernate.dbcp.maxIdle">100</property>
  |     <property name="hibernate.dbcp.maxActive">10</property>
  |     <property name="hibernate.dbcp.autoReconnectForPool">true</property>
  |     <property name="hibernate.dbcp.autoReconnect">true</property>
  | 

Consult the documentation of DBCP, I remember it was pretty well documented when I used it a while ago

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066614#4066614

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066614



More information about the jboss-user mailing list