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>
  | 
Pls help me out.
Thanks

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to