| Summary | This article describes the reconnection issue of Java client | 
|---|---|
| Article Number | 36917 | 
| Environment | Orbix Java 3.3.11 All Supported Operating Systems | 
| Question/Problem Description | Orbix Java client fails to reconnect a server after the tentative disconnection between client and server. The error "COMM_FAILURE: vmcid: 0x2000 minor code: 1889: end of connection" happens first. Then the client cannot reconnect to the server due to the error "COMM_FAILURE: vmcid: 0x2000 minor code: 1891 write error". The client's log with 'setDiagnostics=255' is as follows: ... [ Connection[Socket[addr=/xxx.xxx.xxx.xxx,port=1570,localport=xxxxx]]: socket exception : java.net.SocketException: Connection reset ] [ Request["getLocalStatus"]: got response to request ] [ Request["getLocalStatus"]: at inReplyfailure point for exception: org.omg.CORBA.COMM_FAILURE: remote exception - Communication failure end of connection Reason: (unknown) (Possibly your target server has crashed/exitted) vmcid: 0x2000 minor code: 1889 completed: Maybe ] ... [ Connection[Socket[addr=/xxx.xxx.xxx.xxx,port=xxxx,localport=xxxxx]]: write() failed : i/o exception ] [ Connection[Socket[addr=/xxx.xxx.xxx.xxx,port=xxxx,localport=xxxxx]]: i/o exception java.net.SocketException: Broken pipe ] [ _CORBA.Orbix: read config parameter OrbixWeb.IT_USE_ORBIX3_STYLE_SYS_EXC: "true" ] [ Request["getIIOPDetails"]: reconnect after failed connection? ] [ Request["getIIOPDetails"]: at inReplyfailure point for exception: org.omg.CORBA.COMM_FAILURE: Communication failure write error Reason: (unknown) (Possibly your target server has crashed/exitted) vmcid: 0x2000 minor code: 1891 completed: No ] [ _CORBA.Orbix: Connection[IIOP, Socket[addr=/xxx.xxx.xxx.xxx,port=xxxx,localport=xxxxx], is_daemon, is_bidirectional] reference count decremented to 0 ] [ _CORBA.Orbix: Connection[IIOP, Socket[addr=/xxx.xxx.xxx.xxx,port=xxxx,localport=xxxxx], is_bidirectional] reference count incremented to 1 ] | 
| Clarifying Information | |
| Error Message | 1. COMM_FAILURE: vmcid: 0x2000 minor code: 1889: end of connection 2. COMM_FAILURE: vmcid: 0x2000 minor code: 1891 write error | 
| Defect/Enhancement Number | ORBTHREE-980 | 
| Cause | The daemon connection entry has been wiped out from the clients connection table, in addition to the server's connection entry. Then the client becomes unusable as it can't invoke on the server via the daemon anymore. | 
| Resolution | Fixed in V3.3.11 hotfix2 on Solaris 2.9 | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 17 December 2012 | 
|---|---|
| Last Modified: | 12 February 2013 | 
| Last Published: | 17 December 2012 | 
| First Published date: | 17 December 2012 | 
#Orbix
#KnowledgeDocs

