Re: resolve_initial_reference error

Yong Chen <[email protected]> Fri, 3 May 2002 12:05:53 -0700
Newsgroups gmane.comp.corba.openorb.devel
Message-ID <B4DFCB7CDE2DD4118F690008C786941603F3455E@tahoe.allegronetworks.com>
Thanks Shawn.

-----Original Message-----
From: Shawn Boyce [mailto:[email protected]]
Sent: Friday, May 03, 2002 11:49 AM
To: [email protected]
Subject: Re: [openorb-dev] resolve_initial_reference error


Yong,

The 1.3.0 release is a new release being developed on
SourceForge. Please repost your question on the
openorb-general mailing list there.

http://openorb.sf.net

Yong Chen wrote:

>Hi,
>
>I'm trying to use resolve_initial_reference to get references to
>notification service and interface repository service, but can't get them
>back. I'm using OpenORB1.3.0.
>
>I start notification service with -bindNaming option, (for IR, I guess it
>binds to NamingService automatically, so -bindNaming option is not
>applicable).
>
>
>
>I modified org.openorb.CORBA.ORB.java to print out stack trace, as
>following. Basically it says the object can't be found. (for both
>NotificationService and InterfaceRepository). I think it has something to
do
>with InitialReferences.
>
>
>java.lang.reflect.InvocationTargetException:
>org.omg.CosNaming.NamingContextPackage.NotFound:
>IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
>        at
>org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(Unknown Source)
>        at org.omg.CosNaming._NamingContextExtStub.resolve_str(Unknown
>Source)
>        at java.lang.reflect.Method.invoke(Native Method)
>        at org.openorb.CORBA.ORB.scan_url_name(ORB.java:1551)
>        at org.openorb.CORBA.ORB.string_to_object(ORB.java:731)
>        at org.openorb.CORBA.ORB.resolve_initial_references(ORB.java:379)
>        at com.an.mrs.orb.ORB.startInterfaceRepositoryService(ORB.java:488)
>        at com.an.mrs.orb.ORB.<init>(ORB.java:127)
>        at com.an.mrs.orb.ORB.init(ORB.java:21)
>        at com.an.mrs.rm.nbcorba.Main.main(Main.java:81)
>
>
>
>
>Another question is, in file
>org/openorb/iiop/IIOPTransportServerInitializer.java, I found a note saying
>-ORBport is not being used, it puts Bugtracker #509463 in the comments. I
>wonder if this bug is fixed. Otherwise, it seems to me if I don't have
>iiop.port set in configuration file, then port is defaulted to a random
free
>port (even if I've -ORBPort set in command line).
>
>Any help/hint appreciated.
>
>Yong Chen
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[email protected] with a subject of:
>	unsubscribe openorb-dev
>
>
>

-- 
Shawn Boyce
QCOM, Inc.   
Quality Software is Our Business
http://www.qcominc.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of:
	unsubscribe openorb-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of:
	unsubscribe openorb-dev