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
I suggest you try the Orbacus forum.
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
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.
Look under subcommunities in the right side bar. It is about half way down.
I moved my question to the right place.