Hi all,
I am writing a simulator for a CORBA client, that is I am simulating a CORBA server.
A requirement of the CORBA server is that it register a certain object with the CORBA NameService.
I have somehow stumbled across OpenORB.
I have downloaded all its binary zip archives and have extracted them all to a single directory- %TCOO_HOME%
. I run the NameService via the ins.bat
script in the %TCOO_HOME%\NamingService\bin
directory.
I manage to run the NameService.
If I edit the ins.bat
file and add to %JAVA% -Xbootclasspath/p:%BOOTCLASSPATH% -Dopenorb.home.path=%TCOO_HOME% -jar %TCOO_HOME%\tools\lib\launcher.jar org.openorb.ins.Server %*
command the flags: -u -e --debug debug
I can even see the following printed out:
[main] [DEBUG] (ins.svc): Trying to bind: 'COS/NameService/NamingContextExt' ( NoNS = true )
[main] [INFO ] (ins.svc): NameService=corbaloc:iiop:1.2@localhost:683/NameService
If I edit the default.xml
configuration file in %TCOO_HOME%\OpenORB\config
and change the port to say 684 in the following manner:
<profile name="DefaultCorbalocService">
<description>
This profile loads the CorbalocService module, and sets the port
number in iiop to 683, the default port.
</description>
<import module="CorbalocService" />
<import module="iiop" >
<property name="port" value="684" />
</import>
</profile>
No change occurs to the output of the ins.bat file - in other words the configuration change is not discerned by the ins.
- Help would be highly appreciated
- A recommendation of a different, perhaps more easily configurable, ORB might also be nice
A heart felt thanks!