Hi,
I use Spring/Hibernate in my web app for data access. When the app is running and the database has been brought down and then UP after some time, the default connection pooling in jboss is not active and am getting exception. Can somebody help me how to fix this up?
This is what i use in applicationContext.xml for spring/hibernate:
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName"> <value>{T}db.driver{/T}</value> </property> <property name="url"> <value>{T}db.ccpi.url{/T}</value> </property> <property name="username"> <value>{T}db.ccpi.user{/T}</value> </property> <property name="password"> <value>{T}db.ccpi.password{/T}</value> </property> </bean>