Re: Problem in running orbd & resolving initial reference to Name Service
Pieter Winter <[email protected]> Mon, 17 Mar 2003 08:47:03 +0100
| Newsgroups | gmane.comp.java.sun.idl.user |
|---|---|
| Message-ID | <9B821F66018BD411BACA009027C3B6077F7D97@HERMES> |
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2EC59.6688A1B0
Content-Type: text/plain;
charset="iso-8859-1"
Hi,
The error seems to indicate the inability to start a listener on your
system. If you know that creating a listener should be possible, try
checking 'netstat' for any listeners that are already present, or try using
a higher port number(On Solaris, the call you made works, using port numbers
e.g. 1050). On some older Windows versions (98 and 95 and older) there were
some problems with creating listen ports...
Hope this helps.
Pieter
-----Original Message-----
From: Ramadurai, Sangeetha (MED) [mailto:[email protected]]
Sent: zondag 16 maart 2003 22:04
To: [email protected]
Subject: Re: Problem in running orbd & resolving initial reference to Name
Service
hi,
Yes, it was run with the actual data !
//--------------------------------------------------------------------------
---//
C:\Sangeetha>orbd -ORBInitialPort 1080 -ORBInitialHost USHVVQK01
Usage: orbd <options>
where <options> includes:
-port Activation Port where the ORBD should be started,
default 1049 (optional)
-defaultdb Directory for ORBD files, default "./orb.db"
(optional)
-serverid Server Id for ORBD, default 1 (optional)
-ORBInitialPort Initial Port (required)
-ORBInitialHost Initial HostName (required)
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)
at
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.java:341)
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:333)
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)
//--------------------------------------------------------------------------
--------//
Also,
To resolve the initial naming context steps done are:
System.out.println("Initialize the orb");
ORB orb = org.omg.CORBA.ORB.init(args, null);
System.out.println("Get Reference to the root POA");
POA rootPOA =
POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
System.out.println("Activate the POA Manager");
rootPOA.the_POAManager().activate();
System.out.println("Resolve the Initial Reference of NameService");
org.omg.CORBA.Object objRef =
orb.resolve_initial_references("NameService");
This gives the below explained (pl. read the mail below) runtime
exception.
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?
> -----Original Message-----
> From: Ramadurai, Sangeetha (MED)
> [ mailto:[email protected]
<mailto:[email protected]> ]
> Sent: Friday, March 14, 2003 11:58 PM
> To: [email protected]
> Subject: Problem in running orbd & resolving initial reference to
> NameService
> Importance: High
>
>
> hi,
> Iam using J2SE V1.4 and its idlj
>
> Unable to run orbd:
> ====================
> As per the description in
> http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html
<http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html> tried
> running the orbd on Windows.
>
> start orbd -ORBInitialPort <port#> -ORBInitialHost <hostName>
>
> But i get the following error on running the orbd as
> described above.
>
>
> //------------------------------------------------------------
> ----------------------------//
>
> Usage: orbd <options>
>
> where <options> includes:
> -port Activation Port where the
> ORBD should be started, defau
> lt 1049 (optional)
> -defaultdb Directory for ORBD files,
> default "./orb.db" (optional)
>
> -serverid Server Id for ORBD, default
> 1 (optional)
> -ORBInitialPort Initial Port (required)
> -ORBInitialHost Initial HostName (required)
>
>
> org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209
> completed: No
> at
> com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImp
> l.java:253)
> at
> com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)
> at
> com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(P
> OAORB.java:445)
> at
> com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)
>
> at
> com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(P
> IORB.java:341)
> 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(PI
> ORB.java:333)
> 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)
>
>
> //------------------------------------------------------------
> ----------------------------------------------------------//
>
> Does orbd not run in J2SDK V14 ?
>
> But,
> start tnameserv -ORBInitialPort <port#>
> alone seems to work.
>
>
> Code to resolve initial reference to NameService fails :
> =============================================
> try
> {
> System.out.println("Resolve the Initial Reference
> of NameService");
> org.omg.CORBA.Object objRef =
> orb.resolve_initial_references("NameService");
> }
> catch (Exception e)
> {
> System.out.println("SomeException occurred");
> e.printStackTrace();
> }
>
> At run time the above code generates the following exception
>
>
> //------------------------------------------------------------
> --------------------------------------//
>
> Resolve the Initial Reference of NameService
> SomeException occurred
> org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code:
> 201 completed: No
> at
> com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C
> onnectionTable.java:148)
> at
> com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C
> onnectionTable.java:65)
> at
> com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl
> .java:67)
> at
> com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C
> lientDelegate.java:638)
> at
> com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C
> lientDelegate.java:580)
> at
> com.sun.corba.se.internal.corba.InitialNamingClient.resolve(In
> itialNamingClient.java:1004)
> at
> com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsi
> ngBootstrapProtocol(InitialNamingClient.java:687)
> at
> com.sun.corba.se.internal.corba.InitialNamingClient.cachedInit
> ialReferences(InitialNamingClient.java:1085)
> at
> com.sun.corba.se.internal.corba.InitialNamingClient.resolve_in
> itial_references(InitialNamingClient.java:978)
> at
> com.sun.corba.se.internal.corba.ORB.resolve_initial_references
> (ORB.java:2422)
> at MainFile$CORBATestServer.run(MainFile.java:56)
>
>
> //------------------------------------------------------------
> ------------------------------------//
>
>
> Is this a known problem?
>
> Any help on this is appreciated.
>
> Thanks,
> -Sangeetha
>
> ==============================================================
> ============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".
>
"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
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."
------_=_NextPart_001_01C2EC59.6688A1B0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: Problem in running orbd & resolving initial reference to NameService</TITLE>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff size=2>The
error seems to indicate the inability to start a listener on your system. If you
know that creating a listener should be possible, try checking 'netstat' for any
listeners that are already present, or try using a higher port number(On
Solaris, the call you made works, using port numbers e.g. 1050). On some older
Windows versions (98 and 95 and older) there were some problems with creating
listen ports...</FONT></SPAN></DIV>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff size=2>Hope
this helps.</FONT></SPAN></DIV>
<DIV><SPAN class=431154707-17032003> <FONT face=Arial
color=#0000ff size=2>Pieter</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> Ramadurai, Sangeetha (MED)
[mailto:[email protected]]<BR><B>Sent:</B> zondag 16 maart 2003
22:04<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Re: Problem in
running orbd & resolving initial reference to Name
Service<BR><BR></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>hi,</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> Yes, it
was run with the actual data !</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>
//-----------------------------------------------------------------------------//</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>C:\Sangeetha>orbd -ORBInitialPort 1080
-ORBInitialHost USHVVQK01<BR>Usage: orbd <options></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>where <options> includes:<BR>
-port
Activation Port where the ORBD should be started, default 1049
(optional)<BR>
-defaultdb
Directory for ORBD files, default "./orb.db" (optional)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>
-serverid
Server Id for ORBD, default 1 (optional)<BR>
-ORBInitialPort Initial Port
(required)<BR> -ORBInitialHost
Initial HostName (required)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT
face="Bookman Old Style"><SPAN class=589575220-16032003>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT
face=Arial></FONT><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT
face=Arial></FONT><BR><FONT color=#0000ff><FONT size=2><SPAN
class=589575220-16032003>
</SPAN>org.omg.CORBA.INTERNAL: vmcid: SUN minor code:
209 completed: No<BR> at
com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)<BR> at
com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)<BR> at
com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:445)<BR> at
com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT color=#0000ff size=2> at
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.java:341)<BR> at
com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)<BR> at
com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)<BR> at
com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:333)<BR> at
org.omg.CORBA.ORB.init(ORB.java:346)<BR> at
com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)<BR> at
com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)<BR> at
com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>//----------------------------------------------------------------------------------//</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> </SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>Also,</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> To resolve
the initial naming context steps done are:</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003></SPAN></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>
System.out.println("Initialize the
orb");<BR> ORB orb =
org.omg.CORBA.ORB.init(args, null);</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> System.out.println("Get
Reference to the root POA");<BR> POA rootPOA =
POAHelper.narrow(orb.resolve_initial_references("RootPOA"));</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> System.out.println("Activate
the POA
Manager");<BR> rootPOA.the_POAManager().activate();</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> System.out.println("Resolve
the Initial Reference of
NameService");<BR> org.omg.CORBA.Object objRef =
orb.resolve_initial_references("NameService");<BR></SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> This gives
the below explained (pl. read the mail below) runtime
exception.</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003> </SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
class=589575220-16032003>-Sangeetha</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Pieter Winter
[mailto:[email protected]]<BR><B>Sent:</B> Sunday, March 16, 2003
10:28 AM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Re: Problem
in running orbd & resolving initial reference to Name
Service<BR><BR></FONT></DIV>
<P><FONT size=2>Have your tried replacing the <port#> and
<hostName> with actual data? </FONT></P>
<P><FONT size=2>> -----Original Message-----</FONT> <BR><FONT size=2>>
From: Ramadurai, Sangeetha (MED)</FONT> <BR><FONT size=2>> [<A
href="mailto:[email protected]">mailto:[email protected]</A>]</FONT>
<BR><FONT size=2>> Sent: Friday, March 14, 2003 11:58 PM</FONT> <BR><FONT
size=2>> To: [email protected]</FONT> <BR><FONT size=2>> Subject:
Problem in running orbd & resolving initial reference to</FONT>
<BR><FONT size=2>> NameService</FONT> <BR><FONT size=2>> Importance:
High</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>>
</FONT><BR><FONT size=2>> hi,</FONT> <BR><FONT
size=2>> Iam using J2SE
V1.4 and its idlj</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> Unable to run
orbd:</FONT> <BR><FONT size=2>> ====================</FONT> <BR><FONT
size=2>> As per the
description in </FONT><BR><FONT size=2>> <A
href="http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html"
target=_blank>http://java.sun.com/j2se/1.4/docs/guide/idl/orbd.html</A>
tried </FONT><BR><FONT size=2>> running the orbd on Windows.</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> start orbd
-ORBInitialPort <port#> -ORBInitialHost <hostName></FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> But i get the
following error on running the orbd as </FONT><BR><FONT size=2>>
described above.</FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>> </FONT><BR><FONT
size=2>>
//------------------------------------------------------------</FONT>
<BR><FONT size=2>> ----------------------------//</FONT> <BR><FONT
size=2>> </FONT><BR><FONT
size=2>> Usage: orbd
<options></FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>> where
<options> includes:</FONT> <BR><FONT
size=2>>
-port
Activation Port where the </FONT><BR><FONT size=2>> ORBD should be
started, defau</FONT> <BR><FONT
size=2>> lt 1049
(optional)</FONT> <BR><FONT
size=2>>
-defaultdb
Directory for ORBD files, </FONT><BR><FONT size=2>> default "./orb.db"
(optional)</FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>>
-serverid
Server Id for ORBD, default </FONT><BR><FONT size=2>> 1 (optional)</FONT>
<BR><FONT
size=2>>
-ORBInitialPort Initial Port
(required)</FONT> <BR><FONT
size=2>>
-ORBInitialHost Initial HostName
(required)</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>>
</FONT><BR><FONT size=2>>
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209
</FONT><BR><FONT size=2>> completed: No</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImp</FONT>
<BR><FONT size=2>> l.java:253)</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)</FONT>
<BR><FONT size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(P</FONT>
<BR><FONT size=2>> OAORB.java:445)</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(P</FONT>
<BR><FONT size=2>> IORB.java:341)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PI</FONT>
<BR><FONT size=2>> ORB.java:333)</FONT> <BR><FONT
size=2>>
at org.omg.CORBA.ORB.init(ORB.java:346)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> </FONT><BR><FONT
size=2>>
//------------------------------------------------------------</FONT>
<BR><FONT size=2>>
----------------------------------------------------------//</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> Does orbd not
run in J2SDK V14 ?</FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>> But,
</FONT><BR><FONT
size=2>>
start tnameserv -ORBInitialPort <port#></FONT> <BR><FONT
size=2>> alone seems to
work.</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>>
</FONT><BR><FONT size=2>> Code to resolve initial reference to
NameService fails :</FONT> <BR><FONT size=2>>
=============================================</FONT> <BR><FONT
size=2>> try</FONT>
<BR><FONT size=2>>
{</FONT> <BR><FONT
size=2>>
System.out.println("Resolve the Initial Reference </FONT><BR><FONT
size=2>> of NameService");</FONT> <BR><FONT
size=2>>
org.omg.CORBA.Object objRef = </FONT><BR><FONT size=2>>
orb.resolve_initial_references("NameService");</FONT> <BR><FONT
size=2>> }</FONT>
<BR><FONT size=2>> catch
(Exception e)</FONT> <BR><FONT
size=2>> {</FONT>
<BR><FONT
size=2>>
System.out.println("SomeException occurred");</FONT> <BR><FONT
size=2>>
e.printStackTrace();</FONT> <BR><FONT
size=2>> }</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> At run time the
above code generates the following exception</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>>
</FONT><BR><FONT size=2>>
//------------------------------------------------------------</FONT>
<BR><FONT size=2>> --------------------------------------//</FONT>
<BR><FONT size=2>> </FONT><BR><FONT
size=2>> Resolve the
Initial Reference of NameService</FONT> <BR><FONT
size=2>> SomeException
occurred</FONT> <BR><FONT
size=2>>
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code:
</FONT><BR><FONT size=2>> 201 completed: No</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>
<BR><FONT size=2>> onnectionTable.java:148)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>
<BR><FONT size=2>> onnectionTable.java:65)</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl</FONT>
<BR><FONT size=2>> .java:67)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>
<BR><FONT size=2>> lientDelegate.java:638)</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>
<BR><FONT size=2>> lientDelegate.java:580)</FONT> <BR><FONT
size=2>> at
</FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.InitialNamingClient.resolve(In</FONT>
<BR><FONT size=2>> itialNamingClient.java:1004)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsi</FONT>
<BR><FONT size=2>>
ngBootstrapProtocol(InitialNamingClient.java:687)</FONT> <BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.InitialNamingClient.cachedInit</FONT>
<BR><FONT size=2>> ialReferences(InitialNamingClient.java:1085)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.InitialNamingClient.resolve_in</FONT>
<BR><FONT size=2>> itial_references(InitialNamingClient.java:978)</FONT>
<BR><FONT
size=2>>
at </FONT><BR><FONT size=2>>
com.sun.corba.se.internal.corba.ORB.resolve_initial_references</FONT>
<BR><FONT size=2>> (ORB.java:2422)</FONT> <BR><FONT
size=2>>
at MainFile$CORBATestServer.run(MainFile.java:56)</FONT> <BR><FONT
size=2>> </FONT><BR><FONT
size=2>> </FONT><BR><FONT
size=2>>
//------------------------------------------------------------</FONT>
<BR><FONT size=2>> ------------------------------------//</FONT>
<BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT
size=2>> Is this a known
problem?</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> Any help
on this is appreciated.</FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>> Thanks,</FONT> <BR><FONT size=2>> -Sangeetha</FONT> <BR><FONT
size=2>> </FONT><BR><FONT size=2>>
==============================================================</FONT>
<BR><FONT size=2>> ============To unsubscribe, send email to
</FONT><BR><FONT size=2>> [email protected] and include in the
body</FONT> <BR><FONT size=2>> of the message "signoff IDL-USERS".
For general help, send email to</FONT> <BR><FONT size=2>>
[email protected] and include in the body of the message "help".</FONT>
<BR><FONT size=2>> </FONT></P><BR><BR>
<P><FONT face=Arial size=2>"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS
IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and
privileged information.</FONT></P>
<P><FONT face=Arial size=2>If the reader of this message is not the intended
recipient,</FONT></P>
<P><FONT face=Arial size=2>you are notified that any dissemination,
distribution or copy of this </FONT></P>
<P><FONT face=Arial size=2>communication is strictly Prohibited. </FONT></P>
<P><FONT face=Arial size=2>If you have received this message by error,
please notify us </FONT></P>
<P><FONT face=Arial size=2>immediately, return the original mail to the
sender and delete the </FONT></P>
<P><FONT face=Arial size=2>message from your
system."</FONT></P><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C2EC59.6688A1B0--
===========================================================================
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".