Last-modified: 2009-12-02 (水) 17:43:06 (5253d)

 同一Webアプリサーバに、複数のEARをdeployした場合、

  • JBoss 4.2は、EAR間で、ClassLoaderを共有する。
  • WebSphere 6.1は、EAR間で、ClassLoaderを共有しない。
  • WebLogicは、EAR間で、ClassLoaderを共有しない。

なので、JBossではアプリや設定のバグが発見されにくかったりすることもあります。他のWebAPサーバと同じにしましょう。

* EARにスコープClassLoaderをもたせる

jboss-4.2.3.GA\server\default\deploy\ear-deployer.xml で、
 <attribute name="Isolated">true</attribute>
 <attribute name="CallByValue">true</attribute>
にする。


参考 : http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.2/html/Server_Configuration_Guide/ch02s04s02.html


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS