This discussion is archived
2 Replies Latest reply: Jul 25, 2012 7:43 PM by Kalyan Pasupuleti-Oracle RSS

Check if an application is active

926504 Newbie
Currently Being Moderated
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 Pro
    Currently Being Moderated
    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 Expert
    Currently Being Moderated
    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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points