Application(s) Administration

Purpose

This is an optional WebSphere Phase.

This phase is used to start, stop or list a WAS application(s) or to apply a “wsadmin” script on the WAS application(s). It executes the actions for managing applications on a WebSphere Application Server.

The wasApp.adminCommands parameter is the main parameter for this Phase. Depending on the command specified in that parameter, other parameters need to be defined or not.

Usage

The Application(s) Administration Phase can be used on Build and Deploy environments.

Parameters

Parameter M/O Description Default Value

alm.phase.builder

M

Script Type

alm.phase.extractBundle

M

TRUE

alm.phase.mainScript

M

WAS Application(s) Administration

wasAppAdmin.xml

dir.langModels

Language Models Location

${dir.wasModels}

dir.wasModels

Application Models Location

./models

dir.wasResources

Property files Location

./resources

propsfile.environment

Property File of WAS environment

${dir.wasResources}/environment_deploy.properties

propsfile.languages

Property File of WAS languages for managing the Application with appScript command

${dir.wasResources}/languages_${phase.mainScriptName}.properties

propsfile.waslogRules

Property File of WebSphere Log Rules

${dir.wasResources}/wasLogRules.properties

propsfile.webapp

Property File of WAS Application wsadmin parameters and options

${source}/webapp_${alm.project.vcrProjectName}.properties

stopOnError

Option for stopping at the end.

TRUE

was.admin.password

WAS Administrator password

*

was.admin.username

WAS Administrator ID

Admin

was.cellname

WAS Cellule name

${was.nodename}Cell

was.fail

Fail the phase if Websphere answer is not OK

FALSE

was.install.root

i.e. [WAS_INSTALL_ROOT]

was.nodename

WAS Node name

[hostname]Node01

was.profile

WAS Profile name

[AppSrv01]

was.servername

WAS Server name

server1

wasApp.admin.command

For appCommand command, the command to execute.

wasApp.adminCommands

M

Available commands: startApps;stopApps;listApps;appScript;appCommand;ignore

startApps

wasApp.applisList

WAS Applications List to use for commands.

ALL

wasApp.listApps

For listApps command, the file to receive the Websphere list separated by comma.

${source}/listApps.txt

wasApp.scriptArgs

Arguments for the wsadmin script to run.(Except default:[was.cellname] [was.nodename] [was.servername])

wasApp.scriptLang

The 'wsadmin' script language (jacl or jython)

jacl

wasApp.scriptLocation

For appScript command, the location of the script to run.

jacl

wasApp.scriptName

For appScript command, the script to run.

WASadmin.jacl

wasApp.scriptProperties

For appScript command, the property file to use by the ${wasApp.scriptName}.

webapp.languageKey

M

For appScript command, the language key to use in the propsfile.languages file.

JACL