<fuego.j2ee : stopApp>

Description

Stops an application in a J2EE Application Server.

It relies on the Fuego J2EE Deployer application, which must be deployed and available for this task to work.

Example:


  <target name="stop-application" description="Stop application">
      <fuego.j2ee:stopApp applicationName="${application.name}"
          url="http://host:port/fuego/deployer/servlet/worker"/>
  </target>
 

Parameters

Attribute Description Type Required?
url The location URL of the deployer web application. Remember that the url should end in "servlet/worker" Example "http://host:port/fuego/deployer/servlet/worker". String Yes
verbose boolean ?
earspath Specify multiple applications based on local ear files located in this path. String Yes cannot be used together with earfile or applicationName
applicationname Specify the application to process using the name defined for it in the Application Server. This name is tipically shown in the Application Server administrative console. String Yes cannot be used together with earspath or earFile
fuegobasedir File ?
loaderref Reference ?
failonerror Whether to stop the ant build process if an error occurs during the execution of this task. boolean No Defaults to false
earfile Specify the application to process based on a local ear file. String Yes cannot be used together with earspath or applicationName

Parameters accepted as nested elements