Search code examples
corba

Native Java Corba ORBD doesn't work


I'm trying to start orbd on Windows XP 32, JDK 1.6, Java Client VM.

I've tried: start orbd -ORBInitialPort 1050, but orbd doesn't start. I saw a warning message: BAD_PARAM could not load class standard_init

followed by: GRAVE (COMM_FAILURE) Unable to create listener thread on the specified port: 1049

I'm sure nothing uses port 1050, or 1049 either (netstat confirms it), moreover I get the same error no matter which port I use.

I don't know what to do, it looked very simple to start orbd, non preliminary actrion, simply giving the command start orbd -ORBInitialPort 1050, but it doesn't work. Am I forgetting any action ? Do I need JavaEE instead of JavaSE ?

any help would be really appreciated

bye William


Solution

  • orbd will bind to port 1049 regardless of -ORBInitialPort option.

    Please check whether or not another orbd instance or another process is already running and bound to that port. (e.g., use netstat)

    You have to add the -port option to change the so-called activation port of 1049

    E.g. orbd -ORBInitialPort 2000 -port 1999

    Hint: Make sure that you don't have a forgotten orb.properties file in your home directory