Script created in BSM not appearing in BPM

Hello All

APM 9.30
BPM 9.30.471

We had created new script using vuGen to monitor an web based application and added the script in script repository in BSM. We further created End User Monitor in BSM and launched the script in BPM. However we see the script is not running in BPM.

We further checked in BPM and in BPM also we are not seeing the script been listed.

Please provide your help to fix this issue.

Parents
  • please check out in the BPM logs if you see any errors

    you can find it under %programData%\HP\BPM\workspace

    You can stop BPM delete workspace and restart it just to see if this is a temp problem or not.

  • In BPM Workspace, I see following error under details section

    440 - Failed to register

    Please clarify what does it mean and how to solve it.

  • Hi

    I solved the issue 'Failed to register', but still I am not able to see the script been listed in BPM workspace.

    In BSM, I am seeing the script has not run since there are no report data.

  • Hi

    I solved the issue 'Failed to register', but still I am not able to see the script been listed in BPM workspace.

    In BSM, I am seeing the script has not run since there are no report data.

  • Hi

    I solved the issue 'Failed to register', but still I am not able to see the script been listed in BPM workspace.

    In BSM, I am seeing the script has not run since there are no report data.

  • Hi All

    I see the script is been run from BPM workspace, but status still shows "Failed to start"

    If I look at the log file /opt/HP/BPM/workspace/logs/bpm_all.log, I see following lines,

    INFO  [BpmTaskRunner-20] [GeneralScriptTaskExecutor] Running script: oml
    INFO  [BpmTaskRunner-20] [BpmSchedulerServerProxy] Adding copy script results scheduled job for oml1490787295001_7 with interval: 60 seconds
    INFO  [BpmTaskRunner-17] [BpmSchedulerCommonProxy] Adding thread timeout scheduled job for BpmTaskRunner-17
    [BpmTaskRunner-20] [BpmSchedulerCommonProxy] Adding thread timeout scheduled job for BpmTaskRunner-20
    [BpmTaskRunner-17] [BpmScheduler] Removing thread timeout scheduled job
    [BpmTaskRunner-20] [BpmScheduler] Removing copy script results scheduled job for oml1490787295001_7
    [BpmTaskRunner-20] [BpmScheduler] Removing thread timeout scheduled job
    29/03/2017 15:34:55 WARN  [BpmTaskRunner-20] [GeneralScriptTaskExecutor] The script output file: oml_*.json.cp was not created. Setting the exit code to: 6
    [BpmTaskRunner-20] [BpmSchedulerServerProxy] Adding execute run unit scheduled job for Site1_bc34801875c9e2a2b29babc6b90bc966
    [BpmTaskRunner-20] [GeneralAppExecutor] btfLastScriptEnded: BusinessTransactionFlowDto{id='989c7138666f83822684ddedfd598d88', name='oml', runMode=CLASSIC, action=PLAY, appId='bc34801875c9e2a2b29babc6b90bc966', customerName='Default Client', groupId='00000000000000000000000000000000', groupName='Default Client', locId='bdcb322d76ec4b252c5bf879c7a7c479', locName='Dubai', order='2', runStepSec='-1', webtraces=com.hp.bsm.bpm.utils.SortedValueMap@460bb06e, scripts=com.hp.bsm.bpm.utils.SortedValueMap@3ced3991} BaseRunUnit{appId='null', action=PLAY, tasksTimeoutSec=900, site='Site1', customerId='1', schedules=[], path=''}
    ERROR [SamplesHandlerThread (Site1)] [ScriptMetadata] transactions metadata is missing in metadata file: /opt/HP/BPM/workspace/agent1/Site1/data/trans_t/1490787295002_7/1490787295001_1_17_oml_________/oml.metadata samples will not be sent for this script run.

    Can someone explain what is the problem..

Reply
  • Hi All

    I see the script is been run from BPM workspace, but status still shows "Failed to start"

    If I look at the log file /opt/HP/BPM/workspace/logs/bpm_all.log, I see following lines,

    INFO  [BpmTaskRunner-20] [GeneralScriptTaskExecutor] Running script: oml
    INFO  [BpmTaskRunner-20] [BpmSchedulerServerProxy] Adding copy script results scheduled job for oml1490787295001_7 with interval: 60 seconds
    INFO  [BpmTaskRunner-17] [BpmSchedulerCommonProxy] Adding thread timeout scheduled job for BpmTaskRunner-17
    [BpmTaskRunner-20] [BpmSchedulerCommonProxy] Adding thread timeout scheduled job for BpmTaskRunner-20
    [BpmTaskRunner-17] [BpmScheduler] Removing thread timeout scheduled job
    [BpmTaskRunner-20] [BpmScheduler] Removing copy script results scheduled job for oml1490787295001_7
    [BpmTaskRunner-20] [BpmScheduler] Removing thread timeout scheduled job
    29/03/2017 15:34:55 WARN  [BpmTaskRunner-20] [GeneralScriptTaskExecutor] The script output file: oml_*.json.cp was not created. Setting the exit code to: 6
    [BpmTaskRunner-20] [BpmSchedulerServerProxy] Adding execute run unit scheduled job for Site1_bc34801875c9e2a2b29babc6b90bc966
    [BpmTaskRunner-20] [GeneralAppExecutor] btfLastScriptEnded: BusinessTransactionFlowDto{id='989c7138666f83822684ddedfd598d88', name='oml', runMode=CLASSIC, action=PLAY, appId='bc34801875c9e2a2b29babc6b90bc966', customerName='Default Client', groupId='00000000000000000000000000000000', groupName='Default Client', locId='bdcb322d76ec4b252c5bf879c7a7c479', locName='Dubai', order='2', runStepSec='-1', webtraces=com.hp.bsm.bpm.utils.SortedValueMap@460bb06e, scripts=com.hp.bsm.bpm.utils.SortedValueMap@3ced3991} BaseRunUnit{appId='null', action=PLAY, tasksTimeoutSec=900, site='Site1', customerId='1', schedules=[], path=''}
    ERROR [SamplesHandlerThread (Site1)] [ScriptMetadata] transactions metadata is missing in metadata file: /opt/HP/BPM/workspace/agent1/Site1/data/trans_t/1490787295002_7/1490787295001_1_17_oml_________/oml.metadata samples will not be sent for this script run.

    Can someone explain what is the problem..

Children
No Data