The WCT command-line utility invokes the command-line tool that is specified by the -tool parameter. You can use the WCT command-line utility and specify the pct tool to configure a web server to use an application server as a hosting server.
wctcmd.bat -tool tool_ID -defLocPathname definition_location_pathname -createDefinitionLocation definition_location_name -importDefinitionLocation definition_location_name -removeDefinitionLocation definition_location_name -defLocName definition_location_name -defLocVersion definition_location_version -response response_file -listDefinitionLocations -deleteDefinition definition_name -listDefinitions
./wctcmd.sh -tool tool_ID -defLocPathname definition_location_pathname -createDefinitionLocation definition_location_name -importDefinitionLocation definition_location_name -removeDefinitionLocation definition_location_name -defLocName definition_location_name -defLocVersion definition_location_version -response response_file -listDefinitionLocations -deleteDefinition definition_name -listDefinitions
This parameter is required.
This parameter is required.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
The following is an example of the content of a response file for an IHS local plug-in configuration.
configType=local_standalone enableAdminServerSupport=true enableUserAndPass=true enableWinService=false ihsAdminCreateUserAndGroup=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUnixUserGroup=grp101 ihsAdminUnixUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=opt/IBM/WebSphere/AppServer80 webServerConfigFile1=opt/IBM/HTTPServer/conf/httpd.conf webServerDefinition=webserver1 webServerHostName=local.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
configType=local_standalone enableAdminServerSupport=true enableUserAndPass=true enableWinService=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUserID=admin1 ihsWindowsPassword=****** ihsWindowsStartupType=Automatic ihsWindowsUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=D:\IBM\WebSphere\AppServer80 webServerConfigFile1=D:\IBM\HTTPServer\conf\httpd.conf webServerDefinition=webserver1 webServerHostName=local.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
The following is an example of the content of a response file for an IHS remote plug-in configuration.
configType=remote enableAdminServerSupport=true enableUserAndPass=true enableWinService=false ihsAdminCreateUserAndGroup=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUnixUserGroup=grp101 ihsAdminUnixUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=opt/IBM/WebSphere/AppServer80 wasMachineHostname=192.168.1.2 webServerConfigFile1=opt/IBM/HTTPServer/conf/httpd.conf webServerDefinition=webserver1 webServerHostName=remote.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
configType=remote enableAdminServerSupport=true enableUserAndPass=true enableWinService=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUserID=admin1 ihsWindowsPassword=****** ihsWindowsStartupType=Automatic ihsWindowsUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=D:\IBM\WebSphere\AppServer80 wasMachineHostname=192.168.1.2 webServerConfigFile1=D:\IBM\HTTPServer\conf\httpd.conf webServerDefinition=webserver1 webServerHostName=remote.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
wctcmd.bat -tool pct -importDefinitionLocation -defLocName someDefLocName -defLocPathname C:\data\IBM\WebSphere\Plugins -response C:\IBM\WebSphere\tools\WCT\responsefile.txt
./wctcmd.sh -tool pct -importDefinitionLocation -defLocName someDefLocName -defLocPathname /data/IBM/WebSphere/Plugins -response /var/IBM/WebSphere/tools/WCT/responsefile.txt
wctcmd.bat -tool pct -removeDefinitionLocation -defLocName someDefLocName -defLocPathname C:\data\IBM\WebSphere\Plugins
./wctcmd.sh -tool pct -removeDefinitionLocation -defLocName someDefLocName -defLocPathname /data/IBM/WebSphere/Plugins
wctcmd.bat -tool pct -defLocPathname C:\data\IBM\WebSphere\Plugins -listDefinitionLocations
./wctcmd.sh -tool pct -defLocPathname /data/IBM/WebSphere/Plugins -listDefinitionLocations
wctcmd.bat -tool pct -deleteDefinition someDefName -defLocName someDefLocName
./wctcmd.sh -tool pct -deleteDefinition someDefName -defLocName someDefLocName
wctcmd.bat -tool pct -defLocPathname C:\data\IBM\WebSphere\Plugins -listDefinitions
./wctcmd.sh -tool pct -defLocPathname /data/IBM/WebSphere/Plugins -listDefinition