September 2011
Intermediate to advanced
528 pages
19h 57m
English
You can use WLST when you want to automate deployment tasks through scripts. Since the WLST deploy command is an online command, you must first connect to the Admin Server. Also, make sure you have the Node Manager running if you are deploying or undeploying from a Managed Server or cluster.
Deploying an Application
The following example shows how to deploy an enterprise application to a target using an archive file:
wls:/wl_server/serverConfig> deploy('testApp1','C:\deploy_dir\prod\testApp\ app\testApp1.ear') Deploying application from C:\deploy_dir\prod\testApp\Ver1\app\testApp1.ear to targets (upload=false) ... <May 8, 2011 3:35:05 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation ...Read now
Unlock full access