search cancel

DevTest VSE is crashing and not starting even with enough memory on Linux

book

Article ID: 105010

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

VSE Service keeps crashing even though its allocated specific memory to the jvm through the vmoptions. 

--------------------------------------------------------------------------- 
| Message: Address already in use 
---------------------------------------------------------------------------- 
| Trapped Exception: Address already in use 
| Trapped Message: java.net.BindException: Address already in use 
---------------------------------------------------------------------------- 
STACK TRACE 
java.net.BindException: Address already in use 
at sun.nio.ch.Net.bind0(Native Method) 
at sun.nio.ch.Net.bind(Net.java:433) 

Environment

All supported DevTest releases.

Cause

>ps -ef | grep Virtual Service showed multiple Orphaned VSE services were running and it was in a hung state.  

Resolution

Killed all orphaned VSE processes using the command below

kill -9 <PID>

Start the VSE Service. 

If killing the process does not work, cd to the Linux /tmp folder and look for any i4jdaemon entries for DevTest that might be hung.  Delete the entry, you must be root user id to do this.  Then the VSE service can be started.