setapplicationserver (sas)
説明
アプリケーション・サーバーを構成して、サーバーを JSP プロジェクトのデフォルト・コンパイラーに設定します。
構文
setapplicationserver -name <server_name> -path <installation_ directory> [-setdefault true]-name: 必須。サーバーの名前。サーバー名に使用できるオプションは、次のとおりです。- TomcatExternal
- WebLogic11g
- WebLogic12c
- WebSphere7
- WebSphere8
- WebSphere8.5
- WebSphere9
-path: 必須。サーバーのインストール・ディレクトリー。
-setdefault: オプション。判別されたサーバーが JSP プロジェクトのデフォルトのコンパイラーであることを指定します。有効な値は true です。
注: CLI によって構成されたアプリケーション・サーバーを使用するには、
PFF ファイルの jsp_compiler_info_name と jsp_compiler_info_type フィールドを手動で更新します。| アプリケーション・サーバー | jsp_compiler_info_name |
jsp_compiler_info_type |
|---|---|---|
| TomcatExternal | TomcatExternal | 1 |
| WebLogic11g | WebLogic 11g | 11 |
| WebLogic12c | WebLogic 12c | 12 |
| WebSphere7 | WebSphere 7.0 | 5 |
| WebSphere8 | WebSphere 8.0 | 8 |
| WebSphere8.5 | WebSphere 8.5 | 9 |
| WebSphere9 | WebSphere 9.0 | 10 |
例
AllApplications>> setapplicationserver -name TomcatExternal -path "D:\WebServer\Tomcat" -setdefault true
AllApplications>> setapplicationserver -name WebLogic11g -path "D:\WebServers\WebLogic"