[omniORB] omniNames on a PowerPC

jkiddo jenskristianvilladsen at gmail.com
Wed Aug 19 08:26:03 BST 2009


What powerpc architecture are you using? Could you please post the
<platform>.mk file? I have problems myself just compiling to the powerpc
405.

Andreas Groch wrote:
> 
> Hi all,
>  
> I have some trouble to get the Naming service working on a PowerPC.
> 
> 
> It works when I try to connect to the Naming service from a server
> application running on a different PC. 
>  
> when I perform:
>  
> CORBA::Object obj = resolve_initial_references(“NameService”);
> CosNaming::NamingContext_var root_Context =
> CosNaming::NamingContext::_narrow(obj);
>  
> The console output of the PC says:
>  
> omniORB: Distribution date: Thu Apr 14 17:19:57 BST 2005 dgrisby
> omniORB: Initialising omniDynamic library.
> omniORB: Creating ref to remote: key<NameService>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id: 
> omniORB: Initial reference `NameService' resolved from configuration
> file.
> omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
> omniORB: Creating ref to remote: key<NameService>
>  target id      : IDL:omg.org/CosNaming/NamingContext:1.0
>  most derived id: 
>  
> The console output of the PPC says: 
>  
> omniORB: Accepted connection from giop:tcp:192.168.1.100:32777 because
> of this rule: "* unix,ssl,tcp"
>  
>  
> But it does NOT work when I try to connect to the Naming service from
> the same PC:
>  
> The console output of the PPC says:
>  
> omniORB: Distribution date: Thu Apr 14 17:19:57 BST 2005 dgrisby
> omniORB: Initialising omniDynamic library.
> omniORB: Creating ref to remote: key<NameService>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id:
> omniORB: Initial reference `NameService' resolved from configuration
> file.
> omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
> omniORB: throw giopStream::CommFailure from
> giopStream.cc:1076(0,NO,TRANSIENT_ConnectFailed)
> omniORB: throw TRANSIENT from omniObjRef.cc:759
> (NO,TRANSIENT_ConnectFailed)
>  
> It seems that the “CosNaming::NamingContext::_narrow(obj);” instruction
> throws an exception, but I don’t know why. I edited the InitRef line of
> the omniORB.cfg file in the PPC like that:
>  
> InitRef = NameService=corbaname::pro
>  
> Or 
>  
> InitRef = NameService=corbaname::192.168.1.104
>  
> Or
>  
> InitRef = NameService=corbaname::localhost
>  
> (pro is the hostname of PPC, 192.168.1.104 is the IP address of the PPC)
>  
> Any help would be greatly appreciated.
>  
> Best regards/Mit freundlichen Grüßen
>  
> Andreas Groch
> ......................... 
> Promess Gesellschaft für Montage- und Prüfsysteme mbH 
> Nunsdorfer Ring. 29 
> D-12277 Berlin 
>   
> Tel.:          0049 - (0)30 - 62 88 72 - 0
> Fax:           0049 - (0)30 - 62 88 72 - 59 
> Mobil:         0049 - (0) 
> E-Mail:        groch at promessmontage.de 
> Web:            <file:///\\www.promessmontage.de\> www.promessmontage.de
> 
> ........................ 
>  
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
> 
> 

-- 
View this message in context: http://www.nabble.com/omniNames-on-a-PowerPC-tp502529p25045156.html
Sent from the OmniORB - User mailing list archive at Nabble.com.




More information about the omniORB-list mailing list