| Author |
How to specify “Copy this application onto every target of me” option while using WLST deploy cmd
|
Vivek Chaitanya
Ranch Hand
Joined: Oct 19, 2007
Posts: 35
|
|
Hi All,
I want to remove dependency on the location of EAR file while deploying it into WebLogic Server using WLST scripts.
While doing manually we can select the radio button - Copy this application onto every target for me in the Source accessibility section of Install Application Assistant.
Now the question is: how to achieve the same using WLST deploy command?
I tried recording option in WL 10 to see how the WLST script would be while deploying but its not recording properly.
Thank you, Chaitanya
|
 |
Vivek Chaitanya
Ranch Hand
Joined: Oct 19, 2007
Posts: 35
|
|
Got this myself!!!
While doing manually I found out in the Summary section of the last page of Install Application Assistant that Copy this application to every target for me
is mentioned against Staging mode:
So I checked the WLST manual and found out that deploy function accepts stageMode parameter and the value of STAGE for stageMode parameter means what I want!
Check Server Staging Modes section at http://download.oracle.com/docs/cd/E13222%5F01/wls/docs90/deployment%5Fapi/api%5Fintro.html#1021695
Regards Chaitanya
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6588
|
|
Thanks for sharing the info
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
Vivek Chaitanya
Ranch Hand
Joined: Oct 19, 2007
Posts: 35
|
|
|
The value for stageMode parameter of deploy function should be not STAGE.
|
 |
 |
|
|
subject: How to specify “Copy this application onto every target of me” option while using WLST deploy cmd
|
|
|