Virtual Service Model ended after 3 errors

book

Article ID: 38127

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

We have noticed that the VSE shuts down after 3 consecutive errors. How can we change this behavior?

Environment

All supported DevTest releases

Resolution

By default, the VSE will shut down after 3 consecutive errors are seen. There's an undocumented property, which can be added to the local.properties file, to change this behavior.

The 'lisa.vse.max.hard.errors' property allows you to configure the number of consecutive errors allowed before the VSE service shuts itself down. 

To modify the default behavior, open the local.properties file on the VSE server, and add the property:

lisa.vse.max.hard.errors=<number>

Where <number> represents the number of allowed consecutive errors. The value can be 0 or greater.

    • A value of 0 means that no errors are allowed, and the service shuts down after the first error is seen.
    • To designate an unlimited number of errors, enter any negative number (-1).

For example: lisa.vse.max.hard.errors=100


After adding this property to your local.properties file on the VSE server, you will need to restart your server.