[omniORB] Exception TRANSIENT_NoUsableProfile when narrowing NameService

Hung Ta Viet viethungth99 at yahoo.com
Thu Jul 14 22:08:36 BST 2011


Hi every one,

in my corba application on Sun Solaris OS, I set ORBclientTransportRule="0.0.0.0/0 unix,tcp,ssl" by environment variable.


The application caught an exception when I try the following:

m_rootContext = CosNaming::NamingContext::_narrow(m_tmpObject);

m_tmpObject is an IOR CORBA::Object_var.

The exception is: TRANSIENT_NoUsableProfile

Log file extracted:

omniORB: Read from configuration file "/ffs".
omniORB: Version: 4.1.4
omniORB: Distribution date: Sun Jul 19 18:35:23 BST 2009 dgrisby
omniORB: My addresses are: 
omniORB: 127.0.0.1
omniORB: 10.128.104.231
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: ISO-8859-1 UTF-8.
omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0) UTF-8(1.2) UTF-8(1.1).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Information: the omniDynamic library is not linked.
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef (file) = 
omniORB:   DefaultInitRef (args) = 
omniORB:   abortOnInternalError = 0
omniORB:   abortOnNativeException = 0
omniORB: Initialising incoming endpoints.
omniORB: Instantiate endpoint 'giop:tcp::15718'
omniORB: Publish specification: 'addr'
omniORB: Try to publish 'addr' for endpoint giop:tcp:10.128.104.231:15718
omniORB: Publish endpoint 'giop:tcp:10.128.104.231:15718'
omniORB: Starting serving incoming endpoints.
omniORB: Adding root<0> (activating) to object table.
omniORB: State root<0> (activating) -> active
omniORB: Adding root<1> (activating) to object table.
omniORB: State root<1> (activating) -> active
omniORB: Adding root<2> (activating) to object table.
omniORB: State root<2> (activating) -> active
omniORB: Adding root<3> (activating) to object table.
omniORB: State root<3> (activating) -> active
omniORB: Creating ref to local: root<3>
omniORB: Creating ref to local: root<1>
omniORB: Creating ref to local: root<2>
omniORB: Creating ref to local: root<0>
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:10.128.104.231:15718
omniORB: SocketCollection idle. Sleeping.
omniORB: Creating ref to remote: key<NameService>
caught a CORBA::SystemException:
Type:      IDL:omg.org/CORBA/TRANSIENT:1.0
Minor:     1330446338
Completed: 1
Text:      TRANSIENT_NoUsableProfile
NameService::getNamingContext failed to narrow NameService object
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: Creating ref to remote: key<NameService>
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: Creating ref to remote: key<NameService>
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.

When I tried to delete ORBclientTransportRule, no issue found.

Why does ORBclientTransportRule cause the issue? or anything else?


Appreciate your support.

Regards,
Hung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110714/ca7eaef5/attachment.htm


More information about the omniORB-list mailing list