Found problems with Getting started tutorial !

Posted by Williamarc on 12-Dec-2011 12:18

Hi everybody.

I installed Orbacus 4.3.4 for Java on my Windows PC.

Then I tried the very simple Getting Started tutorial, pag. 40-48 doc Orbacus Guide version 4.3.4, February 2010.

I followed the book without any changes.

And doing so, found some problems !

First of all, page 41:

props.put("org.omg.CORBA.ORBClass","com.ooc.OBServer.ORB");

I don't know the class com.ooc.OBServer.ORB, I would expect com.ooc.CORBA.ORB instead.

Then, at page 47:

set CLASSPATH=.;your_orbacus_directory\lib\OBE.jar;%CLASSPATH%

the OBE.jar appears at page 48 too, but I haven't it in my Orbacus dir ( C:\Orbacus4)   !!!

Then I compiled, javac hello/*.java (using JDK 1.6.0_29), without any errors.

Launched the program: java hello/Server

and received an error:

ClassNotFoundException com.ooc.OBServer.ORB

So, I assumed the right command was:

set CLASSPATH=.;your_orbacus_directory\lib\OB.jar;%CLASSPATH%

so I compiled again and launched, but obtained the same error.

I change the class and wrote:

props.put("org.omg.CORBA.ORBClass","com.ooc.CORBA.ORB");

compiled and launched again.

This time, there was a different error:

Exception in thread "main" java.lang.NoSuchMethodError: org.omg.PortableInterceptor:IORInteceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V

          at com.ooc.OB.PIManager.adapterManagerStateChange(Unknown Source)

          at com.ooc.OBPortableServer.POAManager_impl.activate(Unknown Source)

             at  hello.Server.run(Server.java:66)

     at hello.Server.main(Server.java:18)

the server didn't exit, it was also able to serve the client, but I don't think it's okay, not at all !

Can someone help me and tell me where I was wrong ?

thanks in advance,

William

All Replies

Posted by Thomas Mercer-Hursh on 14-Dec-2011 11:23

I suggest you try the Orbacus forum.

Posted by Williamarc on 14-Dec-2011 16:44

I would, if I were able to locate the right forum !

I looked for Orbacus forum, but I couldn't find it, so I thought PSDN was the correct location...

can you give me the URL of Orbacus forum, please ?

William

Posted by Admin on 14-Dec-2011 16:49

Williamarc schrieb:

I would, if I were able to locate the right forum !

I looked for Orbacus forum, but I couldn't find it, so I thought PSDN was the correct location...

can you give me the URL of Orbacus forum, please ?

William

Try this: http://communities.progress.com/pcom/community/psdn/corba

There are sub-forums for the different Orbacus releases.

Posted by Thomas Mercer-Hursh on 14-Dec-2011 16:49

Look under subcommunities in the right side bar.  It is about half way down.

Posted by Williamarc on 15-Dec-2011 16:02

I moved my question to the right place.

This thread is closed