legacy-knowledge-base
公開されました Sep. 10, 2025

Liferay 6.1 EE GA2でWebSphereのプラグインを自動展開する。

written-by

Michael Wine

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text
Liferay Portal 6.1 EE GA2より、プラグインをWebSphereに自動配備することができるようになりました。 Liferayの自動デプロイ処理の一環として、LiferayプラットフォームはWebsphereのwsadminスクリプトインターフェースを呼び出し、Jythonスクリプトを使用してプラグインをデプロイします。

Standalone WebSphereのインストールでは、WebSphere Integrated Solutions Console(ISC)で他の操作をする必要はありません。 ただし、Network Deploymentのインストールでは、WebSphere ISCでいくつかの余分な手順を実行する必要があります。

解像度

1.以下のportal-extプロパティをWebsphereのサーバー名に変更します。 デフォルトでは、server1 に設定されています:

auto.deploy.websphere.wsadmin.app.manager.query=type=ApplicationManager,process=server1,*


Network Deploymentのインストールでは、Deployment Managerのサーバー名を設定する必要があります:

auto.deploy.websphere.wsadmin.app.manager.query=type=ApplicationManager,process=dmgr,*

2. WebSphere のインストールでセキュリティが有効になっている場合は、コネクタのプロパティ ファイルで Administrator ユーザーの資格情報を設定します。 これにより、wsadminからサーバーへの接続が成功するようになります。
通常、WebSphereはwsadminからサーバーへのSOAP接続を使用します。 この場合、これらのプロパティを soap.client.props ファイルに設定します:

com.ibm.SOAP.loginUserid=wasadmin
com.ibm.SOAP.loginPassword=password

3. プラグインをLiferayのデプロイディレクトリにコピーします。

4. スタンドアロンインストールでは、デプロイは完了です。 プラグインは、WebアプリケーションとしてWebSphereにデプロイされ、起動します。

Network Deploymentのインストールでは、Deployment managerサーバーにプラグインが配置され、起動します。 Websphere ISC から、アプリケーションのスコープを Liferay がインストールされているサーバーに変更します。

追加情報

Linux環境では、これらの新機能はサポートから提供されるパッチによってのみ動作します。

プラグインを再展開する必要がある場合、Liferayプラットフォームに含まれるwsadmin Jythonスクリプトは、プラグインが起動することを期待します。 Websphere ISCでプラグインが停止している場合、オートデプロイに失敗します。

did-this-article-resolve-your-issue

legacy-knowledge-base