1 Reply Latest reply: May 15, 2013 9:00 AM by Anton_ RSS

    WLST - force stop application

      Hello Experts!
      I am writing WLST script where I need to stop some deployed application. I use "stopApplication" command:
      stopApplication(applicationName, gracefulProductionToAdmin="true", gracefulIgnoreSessions="true")
      But it takes about 5 minutes to stop application this way. When I stop application through Administration Console (force stop actually) it takes about 5 seconds to stop application.
      Is there any way to force stop application through WLST script?
        • 1. Re: WLST - force stop application
          Maybe you could try the timeout option:

          timeout—Time (in milliseconds) that WLST waits for the deployment process to complete before canceling the operation. A value of 0 indicates that the operation will not time out. This argument defaults to 300,000 ms (or 5 minutes).

          See http://docs.oracle.com/cd/E28271_01/web.1111/e13813/reference.htm#i1024284