Skip to content

Getting deployment state - missing all deployments in non 'Active' status #140

Open
@igorid70

Description

@igorid70

Hi

I am trying to get deployment status from all my deployments using the following config.yml - see the relevant snippet

componentRuntimes:
  type: WebAppComponentRuntime
  prefix: wls_webapp_config_
  key: name
  values: [deploymentState, contextRoot, sourceInfo, sessionsOpenedTotalCount, openSessionsCurrentCount, openSessionsHighCount]

Whenever all the items are deployed properly and they are marked with status 'Active' in WL console (Home >Summary of Deployments) then I am able to see the respective metrics as well (note MyApp1 is properly shown with status 2)

Screenshot_10

When I made MyApp1 fail during the deployment (appears with state 'Admin' rather than 'Active' in WL console), I obviously expected to see it with the respective status, however MyApp1 simply disappeared in the metrics as if it does not exist at all and not listed in the metrics. The rest (MyApp2, MyApp3 ..) are there as they should be.

Screenshot_9

Also, I can properly see all deployments (including MyApp1 with status 'Admin') via WLST or via WL RESTful services, e.g.

"items": [
    {
        "planPath": null,
        "deploymentPath": "xxxxx.ear",
        "applicationType": "ear",
        "servlets": [],
        "ejbs": [],
        "openSessionsCurrentCount": 0,
        "sessionsOpenedTotalCount": 0,
        "archiveVersion": "123",
        "targets": ["xxxxxx"],
        "name": "MyApp1#123",
        "state": "admin",
        "type": "application",
        "displayName": "MyApp1 (123)"
    },

Any suggestion for the mystery?

wls-exporter v1.3 and WLS v12.2.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions