Virtual Service Ports are down with error : java.net.BindException: Address already in use: bind
search cancel

Virtual Service Ports are down with error : java.net.BindException: Address already in use: bind

book

Article ID: 377611

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

VS ports are down on many VSE with the below error

Unable to listen for requests on address/port 61114. It is either currently in use by another process or is not allowed by the operating system. 

| Step: Virtual HTTPS Listener 61114 
---------------------------------------------------------------------------- 
| Message: Address already in use: bind 
---------------------------------------------------------------------------- 
| Trapped Exception: Address already in use: bind 
| Trapped Message: java.net.BindException: Address already in use: bind 
---------------------------------------------------------------------------- 
STACK TRACE java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) 
 at sun.nio.ch.Net.bind(Net.java:461) at sun.nio.ch.Net.bind(Net.java:453) 
 at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) 
 at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) 
 at com.itko.lisa.vse.sio.NIOPortServer.<init>(NIOPortServer.java:69) 
 at com.itko.lisa.vse.sio.DefaultPortServerFactory.createPortServer(DefaultPortServerFactory.java:49) 
 at com.itko.lisa.vse.sio.PortServer.createPortServer(PortServer.java:85) 
 at com.itko.lisa.vse.http.TextHTTPServer.<init>(TextHTTPServer.java:173) 
 at com.itko.lisa.vse.http.TextHTTPServer.getServer(TextHTTPServer.java:92) 
 at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:495)

Environment

Devtest 10.7.2 SP3

Cause

Some of the VS's adjacent port numbers are being used by the Registry's active-mq internal messaging service.  It was using the same port range as the VS ports. 

here are the ports for example: 

61113 is running

61114 is not running

67803 is running 

67804 is not running.. 

 

Resolution

 Patch patch_DE575042_10.7.2_GA.jar  was provided as a fix. 

Please open a new ticket if you face this problem.