setapplicationserver (sas)

Description

Configure application servers and set an server as default compiler for the JSP projects.

Syntax

setapplicationserver -name <server_name> -path <installation_ directory> [-setdefault true]
-name: Required. The name of the server. Available options for server names are:
  • TomcatExternal
  • WebLogic11g
  • WebLogic12c
  • WebSphere7
  • WebSphere8
  • WebSphere8.5
  • WebSphere9

-path: Required. Installation directory of the server.

-setdefault: Optional. Specify that the identified server is default compiler for the JSP projects. Valid value is true.

Note: To use an application server configured by the CLI, manually update the jsp_compiler_info_name and jsp_compiler_info_type fields in the PFF file.
Application server 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

Examples

AllApplications>> setapplicationserver -name TomcatExternal -path "D:\WebServer\Tomcat" -setdefault true
AllApplications>> setapplicationserver -name WebLogic11g -path "D:\WebServers\WebLogic"