| Summary | Orbix clients can connect to servers without any IOR or using _bind() by using makeIOR(), this is not recommended though |
|---|---|
| Article Number | 37406 |
| Environment | Orbix 3.3 All Supported Platforms |
| Question/Problem Description | When using makeIOR to connect to a server a client receives:
[8452:New IIOP Connection (host:2599) ]
Unexpected exception10102-- Invalid object reference
- Missing proxy factory:
The client application does not appear to have been linked
with the correct client source file generated by the IDL compiler
[Completion status : COMPLETED_NO] |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | It is not recommended to use makeIOR as it is not CORBA compliant and has limitations. One such limitation is that any marker specified in a server cannot be defined by this API. Also cannot be used in any polymorphic interface invocations. The Orbix server will throw the missing proxy factory exception when it cannot find the servant to dispatch the request to. |
| Resolution | Use a well defined CORBA approach for establishing connections such as the Naming Service |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 24 January 2013 |
|---|---|
| Last Modified: | 12 February 2013 |
| Last Published: | 24 January 2013 |
| First Published date: | 24 January 2013 |
#Orbix
#KnowledgeDocs