ORBit 2 Fisterra packages and patch
We have developed a ORBit2 patch in order to allow the use of fixed
URLs to register a service on the ORB. This way we can replace the
corba object key for a fixed string, like this:
corbaloc:iiop:1.2@mybussines.com:4444/NameService
Our patch has been uploaded to the HEAD of the ORBit2 CVS. However the patch is not still available in the debian package so we have uploaded here the patch and the debian packages patched. This way you can easily replace your orbit2 packages on your installation. Soever, you can still continue using the ior files for the client resolve process; the server will not start without a proper name server up and running, because it will try to register its objects.
Files
ORBit2 patch :
This is the patch with the fixed corbalocators modification
Debian packages
Daemons
As root, place this script at the
/etc/init.d directory.
$ chown root:root orbit_name_server_init
$ chmod +x orbit_name_server_init
$ cp orbit_name_server_init /etc/init.d/orbit_name_server_init
Then create some symbolic links for each level of execution with these commands:
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc0.d/K20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc1.d/K20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc2.d/S20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc3.d/S20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc4.d/S20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc5.d/S20orbit_name_server_init
$ ln -s /etc/init.d/orbit_name_server_init /etc/rc6.d/K20orbit_name_server_init
$ /etc/init.d/orbit_name_server_init start
This could be done in a single command with the
update-rc.d command that belongs to
sysv-rc Debian package. The command is
update-rc.d orbit_name_server_init defaults
to top