views:

126

answers:

2

Hi all,

Have been pulled down into the realm of CORBA...

I am trying to quickly learn (if not master...) CORBA along side its Java mappings. I have come upon some old tutorials:

Java IDL: The "Hello World" Example

Naming Service

orbd - The Object Request Broker Daemon

I have created a project with the source from the first link above (Java IDL...) and have run both HelloServer and HelloClient after running the following command:

start orbd -ORBInitialPort 1050

Not surprisingly, everything works :)

I then with to register the HelloServer in the as a persistent service and fail miserably!

I run the following command (launched from the "bin" folder (that which contains the .class files)):

%JAVA_HOME%\bin\servertool -ORBInitialPort 1050

I then run:

servertool > register -server HelloServer -classpath .

and the process simply hangs...

What might I be doing wrong

A: 

Does HelloServer know where (port and machine name) to find the Naming Service?

If not, this link might help: orbd - The Object Request Broker Daemon (ORBD).

richj
It does... (i have read the link as well)
Yaneeve
A: 
Yaneeve