2 Replies Latest reply: Jul 25, 2012 9:43 PM by Kalyan Pasupuleti-Oracle RSS

    Check if an application is active

    926504
      If an application is deployed in weblogic, what would be the possible ways for me to check whether or not that application is active?

      Thanks
        • 1. Re: Check if an application is active
          Pierluigi Vernetto
          with WLST (in the example the Application is FileAdapter):

          serverRuntime()
          easeSyntax()
          cd ApplicationRuntimes/FileAdapter/ComponentRuntimes/FileAdapter
          print cmo.getState()

          -> Activated
          • 2. Re: Check if an application is active
            Kalyan Pasupuleti-Oracle
            Hi,


            When you deployed application through console.

            Goto deployments and check for the application status whether it is active or not.
            You can also try to access your application with help of its context.

            through WLST.
            wls:/base_domain/serverRuntime > domainRuntime()
            wls:/base_domain/domainRuntime > cd(‘DeployerRuntime’)
            wls:/base_domain/domainRuntime/DeployerRuntime > cd(‘DeployerRuntime’)
            wls:/base_domain/domainRuntime/DeployerRuntime/DeployerRuntime > cd(‘DeploymentTaskRuntimes’)
            wls:/base_domain/domainRuntime/DeployerRuntime/DeployerRuntime/DeploymentTaskRuntimes > ls()

            Hope this is helpful.



            Regards,
            Kal