Express (Distributed operating systems), v8.0 > Develop and deploying applications > Rapid deployment of J2EE applications > Automatically installing applications on WAS v6.0 or later
Start a rapid deployment session
We 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. To monitor rapid deployment activities, you can specify console output.
Before you begin
Restriction: We 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 WAS 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
- Set up a rapid deployment environment.
- Configure the behavior of the monitored directory as free-form or automatic installation.
Procedure
- From the command prompt, change to the x:/profiles/ <profileName>/bin directory, where x is the directory where WAS is installed.
- Verify that the server on which 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 WAS.- At the command prompt, type the appropriate command:
- (Recommended) To monitor rapid deployment activities:
- wrd.bat -monitor
- wrd.sh -monitor
- To launch a rapid deployment session:
- wrd.bat
- wrd.sh
- To use batch mode to run a full build of the workspace and then shut down the process:
- wrd.bat -project "project_name" -batch
- 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.
Previous topic: Create a free-form project in your workspace
Next topic: Drop J2EE artifacts into a free-form project
Previous topic: Create an automatic installation project in your workspace
Next topic: Manage EAR or module files in an automatic installation project
Set up a rapid deployment environment
Related
The rapid deployment launch tool reference
Feedback