<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a>Hi,<o:p></o:p></a></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="mso-bookmark:_MailAutoSig"><o:p> </o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="mso-bookmark:_MailAutoSig"><span lang="EN-US" style="mso-ansi-language:EN-US">I want to run an OmniOrb Corba server in a Docker container on Windows. A the moment I have a small testing scenario with a Docker host, a Docker container with the CORBA
server and a client machine. The CORBA server runs on port 9900 of the container which is mapped to the same port on the Docker host.<o:p></o:p></span></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="mso-bookmark:_MailAutoSig"><span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="mso-bookmark:_MailAutoSig"><span lang="EN-US" style="mso-ansi-language:EN-US">On my client machine, I use a corbaloc URL with the name of the Docker host, to get<span style="mso-spacerun:yes">
</span>an object reference to the Corba server. This works fine and it is possible to call Corba functions.<o:p></o:p></span></span></p>
<span style="mso-bookmark:_MailAutoSig"></span>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">But the server has a CORBA function, which returns an object reference. If the client calls this object reference, it gets a TRANSIENT exception.<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">I think the reason is, that the Corba server uses the IP address
<span style="mso-spacerun:yes"> </span>of the Docker container which cannot be resolved by the client machine.
<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US"><o:p> </o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">Is it possible to tell the ORB to use a given IP address (the address of the Docker host) for object references?<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">Is there any documentation how to user OmniOrb in a container environment?</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US"><span style="mso-spacerun:yes"> </span><o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">Thanks for help<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span lang="EN-US" style="mso-ansi-language:EN-US">Peter Danziger<o:p></o:p></span></p>
<br>
</div>
</body>
</html>