非グラフィカルなコマンド・インタープリターである WebSphere Application Server wsadmin ツールに切り替えることなく、開発環境内から管理スクリプトを実行できます。WebSphere® Application Server 管理スクリプト・ランチャーを使用して、WebSphere Application Server で管理スクリプト・ファイルを実行することができます。開発環境内でスクリプト・ファイルを実行するには、スクリプトの場所、スクリプトを解釈するランタイム環境、およびセキュリティー設定 (スクリプトをセキュア・サーバーに対して実行する場合) を指定する必要があります。
!MESSAGE Error reading configuration: /opt/IBM/WAS_install_directory/profiles/unsecure/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
!STACK 0
java.io.FileNotFoundException: /opt/IBM/WAS_install_directory/profiles/unsecure/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
この
エラーが発生するのは、WebSphere Application Server 管理スクリプト・ランチャー
が、root ユーザーのみが書き込み可能な WebSphere Application Server プロファイル
にデータを書き込もうとすることが原因です。非 root ユーザーには、ルート・プロファイルに書き込むための正しいファイル権限がありません。
回避方法は、WebSphere Application Server 管理スクリプト・ランチャーを非ルート・プロファイルを使って実行することです。WebSphere Application Server 管理スクリプト・ランチャーで使用可能な「プロファイル名」リストを使用して、非ルート・プロファイルを選択できます。非ルート・プロファイルの作成について 詳しくは、WebSphere Application Server 資料の「非 root ユーザーのプロファイルの管理」トピックを参照してください。
WebSphere Application Server で管理スクリプト・ファイルを実行します。