Re: ORbacus java client and C++ server
Darren Middleman <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Anoop, > Now the Java client is working. When we are trying this from Weblogic > server EJB client it is showing the following error: > > org.omg.CORBA.ORBPackage.InvalidName > at > com.ooc.OB.InitialServiceManager.resolveInitialReferences(Ljava.lang.String; > )Lorg.omg.CORBA.Object;(Initial > ServiceManager.java:192) > at > com.ooc.OBCORBA.ORB_impl.resolve_initial_references(Ljava.lang.String;)Lorg. > omg.CORBA.Object;(ORB_impl.java > :1170) > at eai.CorbaEaiBean.sayHello()V(CorbaEaiBean.java:101) > at > eai.corba_eai_myo705_EOImpl.sayHello()V(corba_eai_myo705_EOImpl.java:352) > at > eai.corba_eai_myo705_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest; > Lweblogic.rmi.spi.OutboundRespo > nse;Ljava.lang.Object;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source) > at > weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server. > RuntimeMethodDescriptor;Lweblog It looks like your application is having trouble resolving a service, which if I recall in your case is likely the Name Service. I went back over your previous emails and noticed something in the way you specified the Name Service location in your orb.cfg file. In your config file, you have: ooc.service.NameService=iioploc://192.168.1.16:8001/NameService I think you meant to do the following: ooc.orb.service.NameService=corbaloc://192.168.1.16:8001/NameService Note that this option is for telling Orbacus how to resolve the Name Service. I'm not sure how this works in Weblogic, you'll have to consult their documentation if this is happening on the Weblogic side of things. Sorry I missed this earlier. Take a look at the "Configuring the ORB and Object Adapter" section in the "ORB and Object Adapter Initialization" chapter of the manual for more information on specifying this 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