I've got some problems running org.openorb.event.Server ... Here's the
thing
First, in order to have a naming service, I launch
tnameserver -ORBInitialPort 1050
it returns the IOR of the Naming Server
Then, I want to have an event server with the command line
java org.openorb.event.Server
and it doesn't work...
I've already checked ORB.properties and in fact, to be sure it's not the
source of the problem, I use the command line
java -Dorg.omg.CORBA.ORBClass=org.openorb.CORBA.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.openorb.CORBA.ORBSingleton
org.openorb.event.Server
the following text appears :
[EventService] Activating server...
org.omg.CORBA.COMM_FAILURE: vmcid: 0x444f7000 minor code: 266
completed: No
at org.openorb.iiop.IIOPTransport.open(IIOPTransport.java:152)
at org.openorb.iiop.SocketQueue.open(SocketQueue.java:151)
at
org.openorb.iiop.IIOPClientChannel.request_open(IIOPClientChannel.java:288)
at
org.openorb.iiop.IIOPClientChannel.begin_marshal(IIOPClientChannel.java:665)
at
org.openorb.iiop.IIOPClientRequest.begin_marshal(IIOPClientRequest.java:303)
at org.openorb.CORBA.Delegate.request(Delegate.java:626)
at org.openorb.CORBA.Delegate.is_a(Delegate.java:333)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at
org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at org.openorb.event.Server.bindEventService(Server.java:151)
at org.openorb.event.Server.main(Server.java:118)
I think the problem comes from the fact that the event server is unable
to find the naming server Port (or IOR)
I've already tried to add a field NameService in the OpenORB.xml file...
but it seems it does not work... HEEELPPP !!
Does anybody knows a way to add in the command line the IOR or the Port
of the naming service ?
Jonathan Tayar.
The CORBA standard defines (among others) the following command line
parameter to administratively add an initial reference to the ORB
instance of your app:
-ORBInitRef NameService=IOR:....
or
-ORBInitRef NameService=corbaloc:...
Which version of OpenORB are you using ? You can get the latest version
at http://openorb.sf.net (1.2.1 or the nightly build 1.3.0)
Especially the Notification Service 1.2.1 (or 1.3.0) has a lot of bug
fixes compared to the 1.2.0 version...
Hope this helps,
Michael