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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=431154707-17032003><FONT face=Arial color=#0000ff size=2>Hope
this helps.</FONT></SPAN></DIV>
<DIV><SPAN class=431154707-17032003>&nbsp;&nbsp;&nbsp; <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 &amp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;&nbsp;&nbsp;
  //-----------------------------------------------------------------------------//</SPAN></FONT></DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>C:\Sangeetha&gt;orbd -ORBInitialPort 1080
  -ORBInitialHost USHVVQK01<BR>Usage: orbd &lt;options&gt;</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>where &lt;options&gt; includes:<BR>&nbsp;
  -port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  Activation Port where the ORBD should be started, default 1049
  (optional)<BR>&nbsp;
  -defaultdb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  Directory for ORBD files, default "./orb.db" (optional)</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;
  -serverid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  Server Id for ORBD, default 1 (optional)<BR>&nbsp;
  -ORBInitialPort&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initial Port
  (required)<BR>&nbsp; -ORBInitialHost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  Initial HostName (required)</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</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>&nbsp;&nbsp;&nbsp;
  </SPAN>org.omg.CORBA.INTERNAL:&nbsp;&nbsp; vmcid: SUN&nbsp; minor code:
  209&nbsp; completed: No<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:445)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FONT></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.java:341)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:333)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  org.omg.CORBA.ORB.init(ORB.java:346)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)<BR>&nbsp;&nbsp;&nbsp;&nbsp;at
  com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)<BR>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp; </SPAN></FONT></DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003></SPAN></FONT>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;&nbsp;&nbsp;&nbsp;
  System.out.println("Initialize the
  orb");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ORB&nbsp;orb =
  org.omg.CORBA.ORB.init(args, null);</SPAN></FONT></DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Get
  Reference to the root POA");<BR>&nbsp;&nbsp;&nbsp;&nbsp;POA rootPOA =
  POAHelper.narrow(orb.resolve_initial_references("RootPOA"));</SPAN></FONT></DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Activate
  the POA
  Manager");<BR>&nbsp;&nbsp;&nbsp;&nbsp;rootPOA.the_POAManager().activate();</SPAN></FONT></DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2><SPAN
  class=589575220-16032003>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Resolve
  the Initial Reference of
  NameService");<BR>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; </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 &amp; resolving initial reference to Name
    Service<BR><BR></FONT></DIV>
    <P><FONT size=2>Have your tried replacing the &lt;port#&gt; and
    &lt;hostName&gt; with actual data? </FONT></P>
    <P><FONT size=2>&gt; -----Original Message-----</FONT> <BR><FONT size=2>&gt;
    From: Ramadurai, Sangeetha (MED)</FONT> <BR><FONT size=2>&gt; [<A
    href="mailto:[email protected]">mailto:[email protected]</A>]</FONT>
    <BR><FONT size=2>&gt; Sent: Friday, March 14, 2003 11:58 PM</FONT> <BR><FONT
    size=2>&gt; To: [email protected]</FONT> <BR><FONT size=2>&gt; Subject:
    Problem in running orbd &amp; resolving initial reference to</FONT>
    <BR><FONT size=2>&gt; NameService</FONT> <BR><FONT size=2>&gt; Importance:
    High</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt;
    </FONT><BR><FONT size=2>&gt; hi,</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Iam using J2SE
    V1.4 and its idlj</FONT> <BR><FONT size=2>&gt;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT size=2>&gt; Unable to run
    orbd:</FONT> <BR><FONT size=2>&gt; ====================</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As per the
    description in </FONT><BR><FONT size=2>&gt; <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>&nbsp;&nbsp;
    tried </FONT><BR><FONT size=2>&gt; running the orbd on Windows.</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; start orbd
    -ORBInitialPort &lt;port#&gt; -ORBInitialHost &lt;hostName&gt;</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But i get the
    following error on running the orbd as </FONT><BR><FONT size=2>&gt;
    described above.</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT
    size=2>&gt;
    //------------------------------------------------------------</FONT>
    <BR><FONT size=2>&gt; ----------------------------//</FONT> <BR><FONT
    size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Usage: orbd
    &lt;options&gt;</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where
    &lt;options&gt; includes:</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    -port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Activation Port where the </FONT><BR><FONT size=2>&gt; ORBD should be
    started, defau</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lt 1049
    (optional)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    -defaultdb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Directory for ORBD files, </FONT><BR><FONT size=2>&gt; default "./orb.db"
    (optional)</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    -serverid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Server Id for ORBD, default </FONT><BR><FONT size=2>&gt; 1 (optional)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    -ORBInitialPort&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initial Port
    (required)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    -ORBInitialHost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initial HostName
    (required)</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt;
    </FONT><BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    org.omg.CORBA.INTERNAL:&nbsp;&nbsp; vmcid: SUN&nbsp; minor code: 209
    </FONT><BR><FONT size=2>&gt;&nbsp; completed: No</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImp</FONT>
    <BR><FONT size=2>&gt; l.java:253)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)</FONT>
    <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(P</FONT>
    <BR><FONT size=2>&gt; OAORB.java:445)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:271)</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(P</FONT>
    <BR><FONT size=2>&gt; IORB.java:341)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:458)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PI</FONT>
    <BR><FONT size=2>&gt; ORB.java:333)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at org.omg.CORBA.ORB.init(ORB.java:346)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.Activation.ORBD.createORB(ORBD.java:99)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.Activation.ORBD.run(ORBD.java:109)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.Activation.ORBD.main(ORBD.java:327)</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT
    size=2>&gt;
    //------------------------------------------------------------</FONT>
    <BR><FONT size=2>&gt;
    ----------------------------------------------------------//</FONT>
    <BR><FONT size=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Does orbd not
    run in J2SDK V14 ?</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But,
    </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    start tnameserv -ORBInitialPort &lt;port#&gt;</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alone seems to
    work.</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt;
    </FONT><BR><FONT size=2>&gt; Code to resolve initial reference to
    NameService fails :</FONT> <BR><FONT size=2>&gt;
    =============================================</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try</FONT>
    <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    {</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    System.out.println("Resolve the Initial Reference </FONT><BR><FONT
    size=2>&gt; of NameService");</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    org.omg.CORBA.Object objRef = </FONT><BR><FONT size=2>&gt;
    orb.resolve_initial_references("NameService");</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>
    <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch
    (Exception e)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    System.out.println("SomeException occurred");</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    e.printStackTrace();</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; At run time the
    above code generates the following exception</FONT> <BR><FONT size=2>&gt;
    </FONT><BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </FONT><BR><FONT size=2>&gt;
    //------------------------------------------------------------</FONT>
    <BR><FONT size=2>&gt; --------------------------------------//</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Resolve the
    Initial Reference of NameService</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SomeException
    occurred</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    org.omg.CORBA.COMM_FAILURE:&nbsp;&nbsp; vmcid: SUN&nbsp; minor code:
    </FONT><BR><FONT size=2>&gt; 201&nbsp; completed: No</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>
    <BR><FONT size=2>&gt; onnectionTable.java:148)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(C</FONT>
    <BR><FONT size=2>&gt; onnectionTable.java:65)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl</FONT>
    <BR><FONT size=2>&gt; .java:67)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>
    <BR><FONT size=2>&gt; lientDelegate.java:638)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.ClientDelegate.createRequest(C</FONT>
    <BR><FONT size=2>&gt; lientDelegate.java:580)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
    </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.InitialNamingClient.resolve(In</FONT>
    <BR><FONT size=2>&gt; itialNamingClient.java:1004)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsi</FONT>
    <BR><FONT size=2>&gt;
    ngBootstrapProtocol(InitialNamingClient.java:687)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.InitialNamingClient.cachedInit</FONT>
    <BR><FONT size=2>&gt; ialReferences(InitialNamingClient.java:1085)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.InitialNamingClient.resolve_in</FONT>
    <BR><FONT size=2>&gt; itial_references(InitialNamingClient.java:978)</FONT>
    <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at </FONT><BR><FONT size=2>&gt;
    com.sun.corba.se.internal.corba.ORB.resolve_initial_references</FONT>
    <BR><FONT size=2>&gt; (ORB.java:2422)</FONT> <BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    at MainFile$CORBATestServer.run(MainFile.java:56)</FONT> <BR><FONT
    size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT
    size=2>&gt;
    //------------------------------------------------------------</FONT>
    <BR><FONT size=2>&gt; ------------------------------------//</FONT>
    <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is this a known
    problem?</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; Any help
    on this is appreciated.</FONT> <BR><FONT size=2>&gt; </FONT><BR><FONT
    size=2>&gt; Thanks,</FONT> <BR><FONT size=2>&gt; -Sangeetha</FONT> <BR><FONT
    size=2>&gt; </FONT><BR><FONT size=2>&gt;
    ==============================================================</FONT>
    <BR><FONT size=2>&gt; ============To unsubscribe, send email to
    </FONT><BR><FONT size=2>&gt; [email protected] and include in the
    body</FONT> <BR><FONT size=2>&gt; of the message "signoff IDL-USERS".&nbsp;
    For general help, send email to</FONT> <BR><FONT size=2>&gt;
    [email protected] and include in the body of the message "help".</FONT>
    <BR><FONT size=2>&gt; </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".