-
1. Re: can't auto connect
huangqingqing Jul 15, 2006 12:35 PM (in response to huangqingqing)sorry , I use the jboss4.02 not jboss4.03
-
2. Re: can't auto connect
weston.price Jul 17, 2006 6:21 AM (in response to huangqingqing)You will want to take a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatHappensToJBossIfIRestartTheDatabase
Of course, you will want to configure the ValidConnectionChecker (or new-sql or valid-connection sql) appropriately. -
3. Re: can't auto connect
huangqingqing Jul 17, 2006 7:29 AM (in response to huangqingqing)ok,thank :)
-
4. Re: can't auto connect
mura Aug 18, 2006 2:33 AM (in response to huangqingqing)Hi, thanks for your suggestion to use ValidConnectionChecker interface or <check-valid-connection-sql> element in *.ds.xml.
But there is a significant performance degradation in our application after using either of these approaches.
Do we have any other alternative approach to handle this situation?
Thanks. -
5. Re: can't auto connect
weston.price Aug 18, 2006 9:56 AM (in response to huangqingqing)JBoss 4.0.5 introduces 'background' or asynchronous validation checking. This will be in the final release, however, there is nothing stopping you from checking out the 4.0.5 latest code and using it today. Explanation of how to use it are on the Wiki.