2016-12-27 4 views
0

私のアプリケーションAdfWeb.warは、Weblogic 10.3.6.0にデプロイされています。これは非常に頻繁に変更される1つの共有ライブラリmy.shared.lib.jarを使用しています。サーバーは開発モードで実行されています。Weblogicで共有ライブラリをホットデプロイする方法は?

私は、次のエラーを取得しています、「アプリケーション・サーバーにデプロイする」オプションを使用して、ライブラリの新しいバージョンを展開しようとするたび:アプリケーションがADFに基づいて

[05:43:49 PM] [Deployer:149034] An exception occurred for task [Deployer:149117] deploy library my.shared.lib [LibSpecVersion=7.1.0,LibImplVersion=1.0.0] on ADFServer.: Cannot undeploy library Extension-Name: my.shared.lib, Specification-Version: 7.1, Implementation-Version: 1.0.0 from server ADFServer, because the following deployed applications reference it: AdfWeb.war. [05:43:49 PM] #### Deployment incomplete. #### [05:43:49 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

。私はJDeveloper 11.1.1.7を使用しています。 Weblogicで共有ライブラリをホットデプロイする方法は?今はいつもアプリケーションを停止する必要がありますが、時間がかかります。

答えて

0

アプリケーションまたはサーバーを再起動せずにアプリケーションで使用されている共有ライブラリをホット再デプロイすることはできません。

私はこの男が(これがあなたに興味がある)ライブラリのバージョンで遊んでそれになっていたと思った:

http://andrejusb.blogspot.com/2010/07/redeploy-and-version-adf-shared.html

There are already two versions of our ADF shared library deployed. Because main site doesn't specify, which version of shared library to use, the latest one will be always used automatically.

Because we are using shared library deployment, there is no need to redeploy main site

しかし、その後、最後に彼は私が言ったことを確認した。

We need to reload main site in order to use latest available shared library. Otherwise we would need to restart WLS server in order to pick up latest redamurai.shared.lib library updates

クラス読み込み中...

関連する問題