Re: Don't have any problems with Hello Worl, It's okay but...
Darren Middleman <[email protected]> Fri, 27 Jan 2006 21:25:15 -0330
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Julien, Please CC [email protected] so that you address the whole team and community. This will help ensure an answer in the event that I become unavailable. > Yes ! That was my question. > I use Sun Jdk 1.5 and Ant 1.6.5 (all path are configured). > Ant say : Build Sucessful! > I put in the correct folder the bin of version 4.3 and I test with my Hello > world. It's work but I have some errors for the server: > > Exception in thread "main" java.lang.NoSuch.MethodError : > org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed > (Ljava/lang/String;S)V > > at com.ooc.OB.PIManager.adapterManagerStateChange(PIManager.java:688) > at > com.ooc.OBPortableServer.POAManager_impl.activate(POAManager_impl.java:220) > > at hello.Server.run(Server.java :131) > at hello.Server.main(Server.java:30) > This error is caused by incompatible OMG classes that come with the JDK being used instead of the correct ones from Orbacus. You can get around this by using either the '-Xbootclasspath/p:$CLASSPATH' or the 'java.endorsed.dirs' options. For example: java -Xbootclasspath/p:$CLASSPATH hello.Server Note that this assumes that you have your classpath correctly set so that Java can find the Orbacus JAR files or classes. Have a look at some of the Java demo 'run' scripts that are included with Orbacus to see how we use both of these options. > > And Now, I'm trying to use the option --with-async for jidl (on differents > echo example). but It say it's not a available option!(or something like > that) Are you using the most recent version of the jidl compiler? You can check this by executing the command 'jidl --version'. You need to ensure that you are using jidl version 4.3.0 to use this option, since it was only added to the 4.3.0 release of Orbacus. You should also check to see if the demos located in 'JOB-4.3.0/ob/demos/AMI' built as these also use the --with-async option. Regards, Darren -- Darren Middleman, Software Engineer Team Orbacus - Your CORBA Source Email: mailto:[email protected] WWW: http://www.orbacus.com/ _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html