Skip to main content

VBC 4.5 - Why is the process getting COMM_FAILURE exception with EADDRINUSE as minor code ?

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker for C
  • Product Version: 4.5
  • Product Component: Communication
  • Platform/OS Version: All

Why is the process getting COMM_FAILURE exception with EADDRINUSE as minor code ? Application log output shows following CORBA exception while creating rootPOA :

{ SystemException, name=CORBA::COMM_FAILURE, minor_code=1330446562, completion_status=no. }

Resolution:

The minor code 1330446562 maps to system error number 226 which is EADDRINUSE - "Address already in use". Please verify whether you have another process running on the same ip and port on the host machine.

This exception can be reproduced if the bank_agent Server is started on a fixed port; and then starting another Server process on the same ip and port.


#VisiBroker
#Security