was6:wsStopServer

Full name:

org.codehaus.mojo:was6-maven-plugin:1.1.1:wsStopServer

Description:

This goal enables you to stop a standalone server instance. This is not used to stop a server controlled by DeploymentManager. Therefore, this task is useful for the Base Application Server, and to stop the Node Agent and/or DeploymentManager. If you wish to stop a server managed by the Deployment Manager, use the wsadmin task to execute a scripting command.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Required Parameters

Name Type Since Description
server String - Name of the server to start.
Default value is: server1.
wasHome File - Root install location of WebSphere 6.1
Default value is: ${env.WAS_HOME}.
workingDirectory File - Working directory for plugin.

Optional Parameters

Name Type Since Description
conntype String - Specifies the type of connection to be used. Valid values are: SOAP or RMI
Default value is: SOAP.
failOnError boolean - Fail build on errors.
Default value is: true.
logFile String - Specifies the name of the file to log the server start information to. If none is specified maven default will be used.
noWait boolean - If true, the task with return immediately without waiting for the server to start.
Default value is: false.
password String - Optional. Specifies the password of the admin user to authenticate with for administrative access.
port Integer - Admin port of the server you wish to stop.
profileName String - The profile name of the desired server.
quiet boolean - If true, the task will not print any status information.
Default value is: false.
replaceLog boolean - If true, the task with erase an existing log file, instead of appending
Default value is: false.
skip boolean 1.1.1 Skip execution.
Default value is: false.
statusPort Integer - Optional. Specifies the TCP Port the server should send status messages to.
timeout Integer - Optional. Wait the specified the amount of time in seconds to wait for the server to successfully start.
trace boolean - If true, the task with print trace information.
Default value is: false.
username String - Optional. Specifies the id of the admin user to authenticate with for administrative access.
verbose boolean - Specifies a verbose execution to help debug.
Default value is: false.

Parameter Details

conntype:

Specifies the type of connection to be used. Valid values are: SOAP or RMI
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.conntype}
  • Default: SOAP

failOnError:

Fail build on errors.
  • Type: boolean
  • Required: No
  • Expression: ${was6.failOnError}
  • Default: true

logFile:

Specifies the name of the file to log the server start information to. If none is specified maven default will be used.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.logFile}

noWait:

If true, the task with return immediately without waiting for the server to start.
  • Type: boolean
  • Required: No
  • Expression: ${was6.noWait}
  • Default: false

password:

Optional. Specifies the password of the admin user to authenticate with for administrative access.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.password}

port:

Admin port of the server you wish to stop.
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${was6.port}

profileName:

The profile name of the desired server.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.profileName}

quiet:

If true, the task will not print any status information.
  • Type: boolean
  • Required: No
  • Expression: ${was6.quiet}
  • Default: false

replaceLog:

If true, the task with erase an existing log file, instead of appending
  • Type: boolean
  • Required: No
  • Expression: ${was6.replaceLog}
  • Default: false

server:

Name of the server to start.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${was6.server}
  • Default: server1

skip:

Skip execution.
  • Type: boolean
  • Since: 1.1.1
  • Required: No
  • Expression: ${was6.skip}
  • Default: false

statusPort:

Optional. Specifies the TCP Port the server should send status messages to.
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${was6.statusPort}

timeout:

Optional. Wait the specified the amount of time in seconds to wait for the server to successfully start.
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${was6.timeout}

trace:

If true, the task with print trace information.
  • Type: boolean
  • Required: No
  • Expression: ${was6.trace}
  • Default: false

username:

Optional. Specifies the id of the admin user to authenticate with for administrative access.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.username}

verbose:

Specifies a verbose execution to help debug.
  • Type: boolean
  • Required: No
  • Expression: ${was6.verbose}
  • Default: false

wasHome:

Root install location of WebSphere 6.1
  • Type: java.io.File
  • Required: Yes
  • Expression: ${was6.wasHome}
  • Default: ${env.WAS_HOME}

workingDirectory:

Working directory for plugin.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/was6-maven-plugin