"Asset not found" exception when deploying a MQ virtual service.

book

Article ID: 7334

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

When upgrading from 9.1 to 10.1, some virtual services were throwing the error "asset not found" when all the assets files were available under the virtual service project.

Cause

The issue was happening because the queue manager asset didn't have a queue manager name under the "Queue Manager:" field.

When looking at the asset file with a text editor we could see the following:

<QueueManager>

<PayloadInfo type="java.lang.String"></PayloadInfo>

<String>

</String>

</QueueManager>

When the queue manager field is properly filled, the asset file will contain the following:

<QueueManager>Queue Manager</QueueManager>

Environment

DevTest on release 10.1

Resolution

Provide the proper Queue Manager name under the "Queue Manager" field for the Queue Manager asset.