WLST: deploy application but do not start it — how?
-
21-09-2019 - |
Question
I need to script an EAR deployment to Weblogic 9.2. Extra requirements I have though are:
- Application Name shall be the one I provide, not just EAR name
- Application is deployed in Prepared state, not Running one
As far as I can tell, when I use deploy(), the name is got assigned by me (good!), but application starts right away (bad! other services are not ready yet!).
Can anyone point me to a correct way of doing that?
Solution
I think that what you're looking for is distributeApplication
, not deploy
(also see Administration Mode for Isolating Production Applications).
For the application name, why don't you set it in the deployment descriptor?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow