[jboss-user] [Datasource Configuration] - Re: jboss enterprise application startup when DB is down

Wolf-Dieter Fink do-not-reply at jboss.com
Tue Mar 22 14:01:50 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: jboss enterprise application startup when DB is down"

To view the discussion, visit: http://community.jboss.org/message/594869#594869

--------------------------------------------------------------
AFAIK the only way is (with hotdeploy) to touch the application, but I know that this is not a good idea because it is difficult to note whether the DB connections are up.
A flush of the ConnectionPool will not help (JB4.x) because the application is not deployed afterwards.

As this is a seldom problem we decide in this case to start the JBoss complete if the DB is up and running.

If the problem happen during the application is running it will recover the ConnectionPool automaticaly.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/594869#594869]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110322/f565948a/attachment.html 


More information about the jboss-user mailing list