开发者

How to handle a ear deployment which copies files under the application servers bootstrap folder

开发者 https://www.devze.com 2023-02-17 20:18 出处:网络
Our database drivers are usually copied under <jboss.home>\\common\\lib folder in JBoss 5.1 and this is qui开发者_Go百科te annoying since if you have to upgrade the driver you will have to re-st

Our database drivers are usually copied under <jboss.home>\common\lib folder in JBoss 5.1 and this is qui开发者_Go百科te annoying since if you have to upgrade the driver you will have to re-start the JBoss 5.1 server. How does everyone else handle such situations in a production environment?


Upgrading database drivers is not something you want to do on a running server. Your connection pools will all be using the "old" driver - there's no sensible way to make that switch without a restart.

If downtime is important to you, then you should be using more than one server in a cluster, and perform rolling upgrades/restarts on each one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号