File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to specify “Copy this application onto every target of me” option while using WLST deploy cmd

 
Vivek Chaitanya
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing the info
 
Vivek Chaitanya
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The value for stageMode parameter of deploy function should be not STAGE.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic