next up previous contents index
Next: ejbjar Up: EJB Tasks Previous: wlrun   Contents   Index

wlstop

Description:

The wlstop task is used to stop a weblogic instance which is currently running. To shut down an instance you must supply both a username and a password. These will be stored in the clear in the build script used to stop the instance. For security reasons, this task is therefore only appropriate in a development environment.

This task works for most version of Weblogic, including 6.0. You need to specify the BEA Home to have this task work correctly under 6.0

Parameters

Attribute Description Required
BEAHome This attribute selects Weblogic 6.0 shutdown. No
classpath The classpath to be used with the Java Virtual Machine that runs the Weblogic Shutdown command. Yes
user The username of the account which will be used to shutdown the server Yes
password The password for the account specified in the user parameter. Yes
url The URL which describes the port to which the server is listening for T3 connections. For example, t3://localhost:7001 Yes
delay The delay in seconds after which the server will stop. This defaults to an immediate shutdown. No

Nested Element

The classpath of the wlstop task can be set by a <classpath> nested element.

Examples

This example show the shutdown for a Weblogic 6.0 server

    <wlstop classpath="${weblogic.classes}"
            user="system"
            url="t3://localhost:7001"
            password="foobar"
            beahome="${bea.home}"/>


next up previous contents index
Next: ejbjar Up: EJB Tasks Previous: wlrun   Contents   Index
Andrew Marlow 2003-07-08