was6:wsStartServer

Full name:

org.codehaus.mojo:was6-maven-plugin:1.0:wsStartServer

Description:

Starts a standalone server instance. This is not used to start a server controlled by DeploymentManager. Therefore, this goal is useful for the Base Application Server, and to start the Node Agent and/or DeploymentManager. If you wish to start 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
failOnError boolean - Keep on going even if calling task fails. 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.
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.
script String - Specifies the name of a optional script file to execute during server startup.
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

failOnError:

Keep on going even if calling task fails.
  • 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}

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

script:

Specifies the name of a optional script file to execute during server startup.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.script}

server:

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

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