Re: ORbacus java client and C++ server

"Anoop Ahamad" <[email protected]>
Newsgroups gmane.comp.corba.orbacus
Message-ID <[email protected]>

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




Thanks in advance

Anoop Ahamad



----- Original Message -----
From: "Darren Middleman" <[email protected]>
To: "Anoop Ahamad" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, March 02, 2005 10:58 PM
Subject: Re: [OB-Users] ORbacus java client and C++ server


> Hi Anoop,
>
> >
> > I tried this  java -Xbootclasspath/p:%CLASSPATH% JClient -ORBconfig
orb.cfg
> > after setting the CLASSPATH properly.
> >
> > Now it is showing the error
> >
> > Exception in thread "main" org.omg.CORBA.INITIALIZE: Invalid ORB class:
> > com.ooc.
> > CORBA.ORB  minor code: 0x0  completed: No
> >         at org.omg.CORBA.ORB.init(ORB.java:233)
> >         at JClient.main(JClient.java:17)
> >
> >
> >
> > Thanks and Regards
> > Anoop
> >
>
> 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.
>
> I've run the code you sent in your first email here with the correct
> CLASSPATH set and I am unable to duplicate what you are seeing.  I also
> don't see anything out of the ordinary in your code that should cause this
> problem.
>
> Can you send me some more information about the steps you went through to
> build and run your client and the full value of your classpath environment
> variable?  Also, when you build Orbacus, did you uncomment the
BOOTCLASSPATH
> option in the <JOB-source>/config/Make.rules.mak file?  This should have
> produced errors during the build process but since nmake continues
building
> even after an error, it might be worth checking.
>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.