同一Webアプリサーバに、複数のEARをdeployした場合、
- JBoss 4.2は、EAR間で、ClassLoaderを共有する。
- WebSphere 6.1は、EAR間で、ClassLoaderを共有しない。
- WebLogicは、EAR間で、ClassLoaderを共有しない。
なので、JBossではアプリや設定のバグが発見されにくかったりするわけです。
なので、JBossではアプリや設定のバグが発見されにくかったりするわけです。他のWebAPサーバと同じにしましょう。

**** EARにスコープClassLoaderをもたせる [#oee2e19f]
jboss-4.2.3.GA\server\default\deploy\ear-deployer.xml で、
 <attribute name="Isolated">&color(red){true};</attribute>
 <attribute name="CallByValue">&color(red){true};</attribute>
にする。

----
参考 : http://www.redhat.com/docs/ja-JP/Server_Configuration_Guide/html/ch02s04s02.html


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS