Re: Problem in running orbd & resolving initial reference to Name Service
"Ramadurai, Sangeetha (MED)" <[email protected]> Mon, 17 Mar 2003 02:34:12 +0530
| Newsgroups | gmane.comp.java.sun.idl.user |
|---|---|
| Message-ID | <CDD2DCE772E72D44870ECBE6D3C384C001D99B70@BANMLVEM01.e2k.ad.ge.com> |
This is a multi-part message in MIME format.
------=_NextPartTM-000-99ecb61b-f967-428a-aa64-5d63102adb0c
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C2EBFF.9890E5F0"
------_=_NextPart_001_01C2EBFF.9890E5F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hi,
Yes, it was run with the actual data !
=20
=
//-----------------------------------------------------------------------=
------//
=20
C:\Sangeetha>orbd -ORBInitialPort 1080 -ORBInitialHost USHVVQK01
Usage: orbd <options>
=20
where <options> includes:
-port Activation Port where the ORBD should be =
started, default 1049 (optional)
-defaultdb Directory for ORBD files, default "./orb.db" =
(optional)
=20
-serverid Server Id for ORBD, default 1 (optional)
-ORBInitialPort Initial Port (required)
-ORBInitialHost Initial HostName (required)
=20
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at =
com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)=
at =
com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)
at =
com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:=
445)
at =
com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)
=20
at =
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.java:3=
41)
at com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)
at =
com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)
at =
com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:33=
3)
at org.omg.CORBA.ORB.init(ORB.java:346)
at com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)
at com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)
at com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)
//-----------------------------------------------------------------------=
-----------//
=20
=20
=20
Also,
To resolve the initial naming context steps done are:
=20
System.out.println("Initialize the orb");
ORB orb =3D org.omg.CORBA.ORB.init(args, null);
=20
System.out.println("Get Reference to the root POA");
POA rootPOA =3D =
POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
=20
System.out.println("Activate the POA Manager");
rootPOA.the_POAManager().activate();
=20
System.out.println("Resolve the Initial Reference of NameService");
org.omg.CORBA.Object objRef =3D =
orb.resolve_initial_references("NameService");
This gives the below explained (pl. read the mail below) runtime =
exception.
=20
Thanks,
-Sangeetha
-----Original Message-----
From: Pieter Winter [mailto:[email protected]]
Sent: Sunday, March 16, 2003 10:28 AM
To: [email protected]
Subject: Re: Problem in running orbd & resolving initial reference to =
Name Service
Have your tried replacing the <port#> and <hostName> with actual data?=20
> -----Original Message-----=20
> From: Ramadurai, Sangeetha (MED)=20
> [ mailto:[email protected]]=20
> Sent: Friday, March 14, 2003 11:58 PM=20
> To: [email protected]=20
> Subject: Problem in running orbd & resolving initial reference to=20
> NameService=20
> Importance: High=20
>=20
>=20
> hi,=20
> Iam using J2SE V1.4 and its idlj=20
> =20
> Unable to run orbd:=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> As per the description in=20
> http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html tried=20
> running the orbd on Windows.=20
>=20
> start orbd -ORBInitialPort <port#> -ORBInitialHost <hostName>=20
>=20
> But i get the following error on running the orbd as=20
> described above.=20
>=20
> =20
> //------------------------------------------------------------=20
> ----------------------------//=20
>=20
> Usage: orbd <options>=20
>=20
> where <options> includes:=20
> -port Activation Port where the=20
> ORBD should be started, defau=20
> lt 1049 (optional)=20
> -defaultdb Directory for ORBD files,=20
> default "./orb.db" (optional)=20
>=20
> -serverid Server Id for ORBD, default=20
> 1 (optional)=20
> -ORBInitialPort Initial Port (required)=20
> -ORBInitialHost Initial HostName (required)=20
>=20
>=20
> org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209=20
> completed: No=20
> at=20
> com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImp=20
> l.java:253)=20
> at=20
> com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202) =
> at=20
> com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(P=20
> OAORB.java:445)=20
> at=20
> com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)=20
>=20
> at=20
> com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(P=20
> IORB.java:341)=20
> at=20
> com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)=20
> at=20
> com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)=20
> at=20
> com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PI=20
> ORB.java:333)=20
> at org.omg.CORBA.ORB.init(ORB.java:346)=20
> at=20
> com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)=20
> at=20
> com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)=20
> at=20
> com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)=20
>=20
> =20
> //------------------------------------------------------------=20
> ----------------------------------------------------------//=20
> =20
> Does orbd not run in J2SDK V14 ?=20
>=20
> But,=20
> start tnameserv -ORBInitialPort <port#>=20
> alone seems to work.=20
>=20
>=20
> Code to resolve initial reference to NameService fails :=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> try=20
> {=20
> System.out.println("Resolve the Initial Reference=20
> of NameService");=20
> org.omg.CORBA.Object objRef =3D=20
> orb.resolve_initial_references("NameService");=20
> }=20
> catch (Exception e)=20
> {=20
> System.out.println("SomeException occurred");=20
> e.printStackTrace();=20
> }=20
>=20
> At run time the above code generates the following exception=20
>=20
> =20
> //------------------------------------------------------------=20
> --------------------------------------//=20
>=20
> Resolve the Initial Reference of NameService=20
> SomeException occurred=20
> org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code:=20
> 201 completed: No=20
> at=20
> com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C=20
> onnectionTable.java:148)=20
> at=20
> com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C=20
> onnectionTable.java:65)=20
> at=20
> com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl=20
> .java:67)=20
> at=20
> com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C=20
> lientDelegate.java:638)=20
> at=20
> com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C=20
> lientDelegate.java:580)=20
> at=20
> com.sun.corba.se.internal.corba.InitialNamingClient.resolve(In=20
> itialNamingClient.java:1004)=20
> at=20
> com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsi=20
> ngBootstrapProtocol(InitialNamingClient.java:687)=20
> at=20
> com.sun.corba.se.internal.corba.InitialNamingClient.cachedInit=20
> ialReferences(InitialNamingClient.java:1085)=20
> at=20
> com.sun.corba.se.internal.corba.InitialNamingClient.resolve_in=20
> itial_references(InitialNamingClient.java:978)=20
> at=20
> com.sun.corba.se.internal.corba.ORB.resolve_initial_references=20
> (ORB.java:2422)=20
> at MainFile$CORBATestServer.run(MainFile.java:56)=20
>=20
> =20
> //------------------------------------------------------------=20
> ------------------------------------//=20
>=20
>=20
> Is this a known problem?=20
>=20
> Any help on this is appreciated.=20
>=20
> Thanks,=20
> -Sangeetha=20
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DTo unsubscribe, send email to=20
> [email protected] and include in the body=20
> of the message "signoff IDL-USERS". For general help, send email to=20
> [email protected] and include in the body of the message "help".=20
>=20
"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE =
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this=20
communication is strictly Prohibited.=20
If you have received this message by error, please notify us=20
immediately, return the original mail to the sender and delete the=20
message from your system."
------_=_NextPart_001_01C2EBFF.9890E5F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>RE: Problem in running orbd & resolving initial reference to =
NameService</TITLE>
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>hi,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> =
Yes, it was=20
run with the actual data !</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> =20
//-----------------------------------------------------------------------=
------//</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>C:\Sangeetha>orbd -ORBInitialPort 1080=20
-ORBInitialHost USHVVQK01<BR>Usage: orbd =
<options></SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>where <options> includes:<BR> =20
-port &n=
bsp; =20
Activation Port where the ORBD should be started, default 1049=20
(optional)<BR> =20
-defaultdb &nb=
sp; =20
Directory for ORBD files, default "./orb.db" =
(optional)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> =20
-serverid &nbs=
p; =20
Server Id for ORBD, default 1 (optional)<BR> =20
-ORBInitialPort Initial Port=20
(required)<BR> =
-ORBInitialHost =20
Initial HostName (required)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT> </DIV><FONT=20
face=3D"Bookman Old Style"><SPAN class=3D589575220-16032003>
<DIV><FONT face=3DArial></FONT><FONT face=3DArial></FONT><FONT=20
face=3DArial></FONT><FONT face=3DArial></FONT><FONT =
face=3DArial></FONT><FONT=20
face=3DArial></FONT><BR><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D589575220-16032003> =20
</SPAN>org.omg.CORBA.INTERNAL: vmcid: SUN minor code:=20
209 completed: No<BR> at=20
com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)=
<BR> at=20
com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)<BR=
> at=20
com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:=
445)<BR> at=20
com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FO=
NT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT color=3D#0000ff size=3D2> at=20
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.java:3=
41)<BR> at=20
com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)<BR> =
; at=20
com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)<BR>&=
nbsp; at=20
com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:33=
3)<BR> at=20
org.omg.CORBA.ORB.init(ORB.java:346)<BR> at=20
com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)<BR>&nbs=
p; at=20
com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)<BR> &nb=
sp; at=20
com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)</FONT></SPA=
N></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>//--------------------------------------------=
--------------------------------------//</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> </SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>Also,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> To =
resolve=20
the initial naming context steps done are:</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> =
System.out.println("Initialize=20
the orb");<BR> ORB orb =3D=20
org.omg.CORBA.ORB.init(args, null);</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff =
size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> System.out.println("Ge=
t=20
Reference to the root POA");<BR> POA rootPOA =3D=20
POAHelper.narrow(orb.resolve_initial_references("RootPOA"));</SPAN></FONT=
></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff =
size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> System.out.println("Ac=
tivate=20
the POA=20
Manager");<BR> rootPOA.the_POAManager().activate()=
;</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff =
size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> System.out.println("Re=
solve the=20
Initial Reference of=20
NameService");<BR> org.omg.CORBA.Object objRef =
=3D=20
orb.resolve_initial_references("NameService");<BR></SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> =
This gives=20
the below explained (pl. read the mail below) runtime=20
exception.</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003> </SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#0000ff size=3D2><SPAN=20
class=3D589575220-16032003>-Sangeetha</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Pieter Winter=20
[mailto:[email protected]]<BR><B>Sent:</B> Sunday, March 16, =
2003=20
10:28 AM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Re: =
Problem=20
in running orbd & resolving initial reference to Name=20
Service<BR><BR></FONT></DIV>
<P><FONT size=3D2>Have your tried replacing the <port#> and=20
<hostName> with actual data? </FONT></P>
<P><FONT size=3D2>> -----Original Message-----</FONT> <BR><FONT =
size=3D2>>=20
From: Ramadurai, Sangeetha (MED)</FONT> <BR><FONT size=3D2>> [<A=20
=
href=3D"mailto:[email protected]">mailto:sangeetha.ramadur=
[email protected]</A>]</FONT>=20
<BR><FONT size=3D2>> Sent: Friday, March 14, 2003 11:58 PM</FONT> =
<BR><FONT=20
size=3D2>> To: [email protected]</FONT> <BR><FONT =
size=3D2>> Subject:=20
Problem in running orbd & resolving initial reference to</FONT> =
<BR><FONT=20
size=3D2>> NameService</FONT> <BR><FONT size=3D2>> Importance: =
High</FONT>=20
<BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> =
</FONT><BR><FONT=20
size=3D2>> hi,</FONT> <BR><FONT=20
size=3D2>> Iam =
using J2SE=20
V1.4 and its idlj</FONT> <BR><FONT size=3D2>> =
=20
</FONT><BR><FONT size=3D2>> Unable to run orbd:</FONT> <BR><FONT =
size=3D2>>=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> =
<BR><FONT=20
size=3D2>> As per =
the=20
description in </FONT><BR><FONT size=3D2>> <A target=3D_blank=20
=
href=3D"http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html">http://jav=
a.sun.com/j2se/1.4/docs/guide/idl/orbd.html</A> =20
tried </FONT><BR><FONT size=3D2>> running the orbd on =
Windows.</FONT>=20
<BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> start =
orbd=20
-ORBInitialPort <port#> -ORBInitialHost <hostName></FONT>=20
<BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> But i =
get the=20
following error on running the orbd as </FONT><BR><FONT size=3D2>> =
described=20
above.</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> =
</FONT><BR><FONT=20
size=3D2>>=20
//------------------------------------------------------------</FONT>=20
<BR><FONT size=3D2>> ----------------------------//</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT=20
size=3D2>> Usage: =
orbd=20
<options></FONT> <BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> where=20
<options> includes:</FONT> <BR><FONT=20
=
size=3D2>> =
=20
=
-port &n=
bsp; =20
Activation Port where the </FONT><BR><FONT size=3D2>> ORBD should =
be started,=20
defau</FONT> <BR><FONT=20
size=3D2>> lt 1049=20
(optional)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
=
-defaultdb &nb=
sp; =20
Directory for ORBD files, </FONT><BR><FONT size=3D2>> default =
"./orb.db"=20
(optional)</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT=20
=
size=3D2>> =
=20
=
-serverid &nbs=
p; =20
Server Id for ORBD, default </FONT><BR><FONT size=3D2>> 1 =
(optional)</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
-ORBInitialPort Initial Port =
(required)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
-ORBInitialHost Initial =
HostName=20
(required)</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT =
size=3D2>>=20
</FONT><BR><FONT =
size=3D2>> =20
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209=20
</FONT><BR><FONT size=3D2>> completed: No</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImp</FONT>=20
<BR><FONT size=3D2>> l.java:253)</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
=
com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)</F=
ONT>=20
<BR><FONT =
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(P</FONT>=20
<BR><FONT size=3D2>> OAORB.java:445)</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
=
com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FO=
NT>=20
<BR><FONT size=3D2>> </FONT><BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(P</FONT>=20
<BR><FONT size=3D2>> IORB.java:341)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
=
com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
=
com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)</FON=
T>=20
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PI</FONT>=20
<BR><FONT size=3D2>> ORB.java:333)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at org.omg.CORBA.ORB.init(ORB.java:346)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
=
com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)</FONT> =
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)</FONT> =
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT=20
size=3D2>> =
</FONT><BR><FONT=20
size=3D2>>=20
//------------------------------------------------------------</FONT>=20
<BR><FONT size=3D2>>=20
----------------------------------------------------------//</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT=20
size=3D2>> Does =
orbd not run=20
in J2SDK V14 ?</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> But,=20
</FONT><BR><FONT=20
=
size=3D2>> =
=20
start tnameserv -ORBInitialPort <port#></FONT> <BR><FONT=20
size=3D2>> alone =
seems to=20
work.</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>>=20
</FONT><BR><FONT size=3D2>> Code to resolve initial reference to =
NameService=20
fails :</FONT> <BR><FONT size=3D2>>=20
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> =
<BR><FONT=20
size=3D2>> =
try</FONT>=20
<BR><FONT =
size=3D2>> {</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
System.out.println("Resolve the Initial Reference </FONT><BR><FONT =
size=3D2>>=20
of NameService");</FONT> <BR><FONT=20
=
size=3D2>> =
=20
org.omg.CORBA.Object objRef =3D </FONT><BR><FONT size=3D2>>=20
orb.resolve_initial_references("NameService");</FONT> <BR><FONT=20
size=3D2>> }</FONT> =
<BR><FONT=20
size=3D2>> catch =
(Exception=20
e)</FONT> <BR><FONT=20
size=3D2>> {</FONT> =
<BR><FONT=20
=
size=3D2>> =
=20
System.out.println("SomeException occurred");</FONT> <BR><FONT=20
=
size=3D2>> =
=20
e.printStackTrace();</FONT> <BR><FONT=20
size=3D2>> }</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT=20
size=3D2>> At run =
time the=20
above code generates the following exception</FONT> <BR><FONT =
size=3D2>>=20
</FONT><BR><FONT =
size=3D2>> =20
</FONT><BR><FONT size=3D2>>=20
//------------------------------------------------------------</FONT>=20
<BR><FONT size=3D2>> =
--------------------------------------//</FONT>=20
<BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> Resolve =
the=20
Initial Reference of NameService</FONT> <BR><FONT=20
size=3D2>> =
SomeException=20
occurred</FONT> <BR><FONT=20
size=3D2>> =20
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code:=20
</FONT><BR><FONT size=3D2>> 201 completed: No</FONT> =
<BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>=20
<BR><FONT size=3D2>> onnectionTable.java:148)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>=20
<BR><FONT size=3D2>> onnectionTable.java:65)</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl</FONT>=20
<BR><FONT size=3D2>> .java:67)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>=20
<BR><FONT size=3D2>> lientDelegate.java:638)</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>=20
<BR><FONT size=3D2>> lientDelegate.java:580)</FONT> <BR><FONT=20
size=3D2>> at=20
</FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.InitialNamingClient.resolve(In</FONT>=20
<BR><FONT size=3D2>> itialNamingClient.java:1004)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsi</FONT>=20
<BR><FONT size=3D2>> =
ngBootstrapProtocol(InitialNamingClient.java:687)</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.InitialNamingClient.cachedInit</FONT>=20
<BR><FONT size=3D2>> =
ialReferences(InitialNamingClient.java:1085)</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.InitialNamingClient.resolve_in</FONT>=20
<BR><FONT size=3D2>> =
itial_references(InitialNamingClient.java:978)</FONT>=20
<BR><FONT=20
=
size=3D2>> =
=20
at </FONT><BR><FONT size=3D2>>=20
com.sun.corba.se.internal.corba.ORB.resolve_initial_references</FONT>=20
<BR><FONT size=3D2>> (ORB.java:2422)</FONT> <BR><FONT=20
=
size=3D2>> =
=20
at MainFile$CORBATestServer.run(MainFile.java:56)</FONT> <BR><FONT =
size=3D2>>=20
</FONT><BR><FONT =
size=3D2>> =20
</FONT><BR><FONT size=3D2>>=20
//------------------------------------------------------------</FONT>=20
<BR><FONT size=3D2>> ------------------------------------//</FONT> =
<BR><FONT=20
size=3D2>> </FONT><BR><FONT size=3D2>> </FONT><BR><FONT=20
size=3D2>> Is this =
a known=20
problem?</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> =
Any help on=20
this is appreciated.</FONT> <BR><FONT size=3D2>> </FONT><BR><FONT =
size=3D2>>=20
Thanks,</FONT> <BR><FONT size=3D2>> -Sangeetha</FONT> <BR><FONT =
size=3D2>>=20
</FONT><BR><FONT size=3D2>>=20
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>=20
<BR><FONT size=3D2>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DTo =
unsubscribe, send email to=20
</FONT><BR><FONT size=3D2>> [email protected] and include in =
the=20
body</FONT> <BR><FONT size=3D2>> of the message "signoff =
IDL-USERS". =20
For general help, send email to</FONT> <BR><FONT size=3D2>>=20
[email protected] and include in the body of the message =
"help".</FONT>=20
<BR><FONT size=3D2>> </FONT></P><BR><BR>
<P><FONT face=3DArial size=3D2>"THIS E-MAIL MESSAGE ALONG WITH ANY =
ATTACHMENTS IS=20
INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and =
privileged=20
information.</FONT></P>
<P><FONT face=3DArial size=3D2>If the reader of this message is not =
the intended=20
recipient,</FONT></P>
<P><FONT face=3DArial size=3D2>you are notified that any =
dissemination,=20
distribution or copy of this </FONT></P>
<P><FONT face=3DArial size=3D2>communication is strictly Prohibited. =
</FONT></P>
<P><FONT face=3DArial size=3D2>If you have received this message by =
error, please=20
notify us </FONT></P>
<P><FONT face=3DArial size=3D2>immediately, return the original mail =
to the sender=20
and delete the </FONT></P>
<P><FONT face=3DArial size=3D2>message from your=20
system."</FONT></P><BR></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C2EBFF.9890E5F0--
------=_NextPartTM-000-99ecb61b-f967-428a-aa64-5d63102adb0c--
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff IDL-USERS". For general help, send email to
[email protected] and include in the body of the message "help".