Starting a rapid deployment session

You can launch a rapid deployment session to start listening for application artifacts that are dropped into the folder you configured for either the free-form or automatic installation approach. Use the wrd command to launch a rapid deployment session. If you want to monitor rapid deployment activities, you can specify console output.

Before you begin

Restriction: You can use the rapid deployment tools for packaging applications at J2EE 1.3 or 1.4 specification-levels. However, the rapid deployment tools do not support Java EE 5.0 (or later) nor J2EE 1.2 specification-level. For tools support of deploying Java EE 5 and later modules, you can use the monitored directory starting in WebSphere Application Server V8.0 release. For more details about the monitored directory, see Ways to install enterprise applications or modules and Installing enterprise application files by adding them to a monitored directory topics.

Prerequisites

Procedure

  1. From the command prompt, change to the x:/profiles/<profileName>/bin directory, where x is the directory where WebSphere Application Server is installed.
  2. Verify that the server on which you want to deploy your application is running.
    Tip: If there is no server connection, you get the following console output:
    [06:52:28 PM] Publishing MyProjectApp to server_510658053
    [06:52:28 PM] Failed to make connection to WebSphere Application Server.
  3. At the command prompt, type the appropriate command:
    • (Recommended) To monitor rapid deployment activities:
      • This graphic is a Windows icon. On Windows:wrd.bat -monitor
      • This graphic is a UNIX icon. On UNIX:wrd.sh -monitor
    • To launch a rapid deployment session:
      • This graphic is a Windows icon. On Windows:wrd.bat
      • This graphic is a UNIX icon. On UNIX:wrd.sh
    • To use batch mode to run a full build of the workspace and then shut down the process:
      • This graphic is a Windows icon. On Windows:wrd.bat -project "project_name" -batch
      • This graphic is a UNIX icon. On UNIX:wrd.sh -project "project_name" -batch

What to do next

After you launch the rapid deployment tools, you can create or drop your J2EE artifacts into the monitored directory. The application generated is deployed and updated on the target server.

Feedback