[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-developer
Subject:    [jacorb-developer] Received a request with a non-jacorb object key
From:       "Rumen Monev" <rumen () rodopi ! com>
Date:       2006-04-05 18:32:35
Message-ID: 004c01c658df$4f6e5560$e58137d8 () rodopicorp ! com
[Download RAW message or body]

Hi, guys

I am running ns.bat(or the NT service). And I am trying to get reference to 
the NameService via the following code:
------------------>
  org.omg.CORBA.Object objRef = orb.resolve_initial_references ("RootPOA");
  POA rootPOA = POAHelper.narrow (objRef);
  rootPOA.the_POAManager ().activate ();

  String serviceName = System.getProperty ("NameService", "NameService");
  System.out.println ("Use NameService: " + serviceName);
  objRef = orb.resolve_initial_references (serviceName);
----------------->
but I am not able to.
I have tried with NameService system property set to all possibilities of 
the form [<jacorb.implname>/][<poa>/]NameService, where <jacorb.implname> is 
the property from my jacorb.properties file and <poa> is RootPOA, 
NameServer-POA, or just empty string and I always get the result at the end 
of this message.
I have tried with JacORB & JDK1.5 ORB implementation and 
ORBInitRef.NameService, jacorb.orb.objectKeyMap.NameService set to different 
values(or no values) - no result.
I am not able to list even the initial services /via 
orb.list_initial_services ()/
As it seems I am missing something.

I am using the 2.2.3 version.

Any suggestions?

##################################################################################################
putting: OAPort,2809
[jacorb.orb] INFO :
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        JacORB V 2.2.3, www.jacorb.org
        (C) The JacORB project 10-Dec-2005
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[jacorb.orb.giop] DEBUG : Maximum connection threads: 1000
[jacorb.orb] DEBUG : Build: 
org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
[jacorb.orb.intercept] INFO : InterceptorManager started with 0 SIs, 0 CIs 
and 1 IORIs
[jacorb.iiop.listener] DEBUG : Created socket listener on 
0.0.0.0/0.0.0.0:2809
[jacorb.poa] DEBUG : POA RootPOA ready
[jacorb.poa.controlle] DEBUG : waiting for queue
[jacorb.poa] DEBUG : POA NameServer-POA ready
[jacorb.poa.controlle] DEBUG : waiting for queue
[jacorb.poa.controlle] DEBUG : reset a previous completion call
[jacorb.poa.controlle] DEBUG : reset a previous completion call
[jacorb.poa.controlle] DEBUG : waiting for queue
[jacorb.poa.controlle] DEBUG : waiting for queue
[jacorb.orb.delegate] DEBUG : Delegate.getReference with POA 
<NameServer-POA>
[jacorb.naming] INFO : NS up
[jacorb.orb] INFO : ORB run
[jacorb.orb.iiop] INFO : Opened new server-side TCP/IP transport to 
216.55.129.229:2231
[jacorb.orb.giop.conn] DEBUG : GIOPConnectionManager: created new 
ServerGIOPConnection to 216.55.129.229:2231 (15e9756)
[jacorb.giop.server.l] WARN : Received a request with a non-jacorb object 
key
[jacorb.orb.iiop] DEBUG : Transport to 216.55.129.229:2231: stream closed 
Connection reset
[jacorb.giop.conn] DEBUG : ServerGIOPConnection to 216.55.129.229:2231 
(15e9756): getMessage() -- COMM_FAILURE
[jacorb.giop.conn] DEBUG : ServerGIOPConnection to 216.55.129.229:2231 
(15e9756): streamClosed()
[jacorb.giop.conn] DEBUG : ServerGIOPConnection to 216.55.129.229:2231 
(15e9756): close()
[jacorb.orb.iiop] INFO : Closed server-side transport to 216.55.129.229:2231 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic