开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜