3

私は1つのearファイルと2つのwarファイルを持っています.application.xmlファイルは次のように構成されています

<module id="myeclipse.1312xxxxxxx">
    <web>
      <web-uri>first.war</web-uri>
      <context-root>/first</context-root>
    </web>
  </module>
  <module id="myeclipse.134xxxxxxxxx">
    <web>
      <web-uri>second.war</web-uri>
      <context-root>/second</context-root>
    </web>
  </module>

ローカル weblogic サーバーにデプロイすると正常に動作しますが、サーバーにデプロイすると、first.war は正常に動作しますが、second.war は動作しません。次のように、second.warファイルからいくつかのページにアクセスしようとしたとき

"http://host:port/second/somepage.html"

、エラー 404-Object Not Found Exception が発生します。

4

1 に答える 1

2

ローカル展開で機能するため、展開先の非ローカルWebLogicサーバーインスタンスのクラスローダーの問題のようです。Classloader Analysis Tool (CAT) を試してトラブルシューティングを行ってください - http://docs.oracle.com/cd/E23943_01/web.1111/e13706/classloading.htm#WLPRG495

于 2012-11-09T01:02:06.350 に答える