Discussion:
[omniORB] OmniORB4.1 connection problem with TNameServer
Rie Kakuuchi
2007-11-22 13:29:15 UTC
Permalink
Dear Experts,

This is ask for your help for trouble-shooting connection to TNameServer.

When we used OmniORB 3.03, there was no such problem.

I updated OmniORB of the client side to version 4.1.0 because I need to
build the DLL on VS2005. Then the client side always to fail to "resolve
initial reference" with NameServer.

The settings are as follows.
--------------
Client PC : OmniORB 4.1
Server PC : OmniORB 3.03 + TNameServer 1.6
--------------

Am I missing something in the configurations?
The trace is given below. (IP address is fake.)

And would you give me a advice on upgrade from OmniORB 3.0 to 4.1?
I know following parameters used with 3.0 were no longer applicable with
4.1.
-ORBInitialHost
-ORBInitialPort
-ORBpoa_iiop_name_port

Thanks,
Rie Kakuuchi

Trace
---------------
omniORB: (2) 2007-11-21 14:32:05.390000: Distribution date: Tue Nov 28
13:27:23
GMT 2006 dgrisby
omniORB: (2) 2007-11-21 14:32:05.406000: Warning: WSAIoctl
SIO_ADDRESS_LIST_QUERY failed.
Unable to obtain the list of all IPv6 interface addresses.
WSAGetLastError() = 0
omniORB: (2) 2007-11-21 14:32:05.406000: My addresses are:
omniORB: 192.168.1.10
omniORB: 127.0.0.1
omniORB: (2) 2007-11-21 14:32:05.406000: Maximum supported GIOP version is
1.0
omniORB: (2) 2007-11-21 14:32:05.406000: Native char code sets: UTF-8
ISO-8859-1
.
omniORB: (2) 2007-11-21 14:32:05.406000: Transmission char code sets:
UTF-8(1.2)
UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: (2) 2007-11-21 14:32:05.406000: Native wide char code sets: UTF-16.
omniORB: (2) 2007-11-21 14:32:05.406000: Transmission wide char code sets:
UTF-1
6(1.2).
omniORB: (2) 2007-11-21 14:32:05.406000: Initialising omniDynamic library.
omniORB: (2) 2007-11-21 14:32:05.406000: Creating ref to remote: key<INIT>
target id : omg.org/CORBA/InitialReferences:1.0
most derived id: omg.org/CORBA/InitialReferences:1.0
omniORB: (2) 2007-11-21 14:32:05.406000: Current configuration is as
follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: InitRef = NameService =corbaname::***.***.***.***:900
omniORB: abortOnInternalError = 0
omniORB: abortOnNativeException = 0
omniORB: acceptBiDirectionalGIOP = 1
omniORB: acceptMisalignedTcIndirections = 1
omniORB: bootstrapAgentHostname = localhost
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 0
omniORB: clientConnectTimeOutPeriod = 0
omniORB: clientTransportRule = * tcp
omniORB: configFile = C:\omniORB-4.1.0\etc\omniORB.cfg
omniORB: connectionWatchImmediate = 0
omniORB: connectionWatchPeriod = 50000
omniORB: copyValuesInLocalCalls = 1
omniORB: diiThrowsSysExceptions = 1
omniORB: dumpConfiguration = 1
omniORB: endPoint = giop:tcp::
omniORB: endPointPublish = addr
omniORB: giopMaxMsgSize = 2097152
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: idleThreadTimeout = 10
omniORB: inConScanPeriod = 0
omniORB: lcdMode = 1
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.0
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: maxSocketRecv = 131072
omniORB: maxSocketSend = 131072
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 1
omniORB: oneCallPerConnection = 1
omniORB: outConScanPeriod = 0
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal =
omniORB: scanGranularity = 0
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * tcp
omniORB: strictIIOP = 0
omniORB: supportBootstrapAgent = 1
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 1
omniORB: tcAliasExpand = 1
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 2
omniORB: traceExceptions = 1
omniORB: traceFile = [stderr]
omniORB: traceInvocationReturns = 1
omniORB: traceInvocations = 1
omniORB: traceLevel = 40
omniORB: traceThreadId = 1
omniORB: traceTime = 1
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 0
omniORB: verifyObjectExistsAndType = 0
omniORB: (2) 2007-11-21 14:32:05.406000: Initialising incoming endpoints.
omniORB: (2) 2007-11-21 14:32:05.406000: Instantiate endpoint 'giop:tcp::'
omniORB: (2) 2007-11-21 14:32:05.406000: Bind to address 0.0.0.0
omniORB: (2) 2007-11-21 14:32:05.421000: Publish specification: 'addr'
omniORB: (2) 2007-11-21 14:32:05.421000: Try to publish 'addr' for endpoint
giop
:tcp:192.168.1.10:2060
omniORB: (2) 2007-11-21 14:32:05.421000: Publish endpoint
'giop:tcp:***.***.***.***:****'
omniORB: (2) 2007-11-21 14:32:05.421000: Starting serving incoming
endpoints.
omniORB: (2) 2007-11-21 14:32:05.421000: Adding root/xxxxxPOA<0>
(activating) to object table.
omniORB: (3) 2007-11-21 14:32:05.421000: AsyncInvoker: thread id = 3 has
started
. Total threads = 1
omniORB: (2) 2007-11-21 14:32:05.421000: State root/xxxxxPOA<0> (activating)
-> active
omniORB: (3) 2007-11-21 14:32:05.421000: giopRendezvouser task execute for
giop:tcp:***.***.***.***:****
omniORB: (0) 2007-11-21 14:32:05.421000: Creating ref to local:
root/xxxxxPOA<0>
target id : IDL:xxxxx/Client:1.0
most derived id: IDL:xxxxx/Client:1.0
omniORB: (0) 2007-11-21 14:32:05.421000: Trying to resolve initial reference
`Na
meService'
with boot agent:
IOR:01000000240000006f6d672e6f72672f434f5242412f496e697469616c
5265666572656e6365733a312e300001000000000000001c000000010100000a0000006c6f63
616c
686f737400840304000000494e4954
omniORB: (0) 2007-11-21 14:32:05.421000: Invoke 'get' on remote: key<INIT>
omniORB: (0) 2007-11-21 14:32:05.421000: throw TRANSIENT from
giopRope.cc:333 (NO,TRANSIENT_NoUsableProfile)
omniORB: (0) 2007-11-21 14:32:05.421000: throw TRANSIENT from
omniObjRef.cc:795(NO,TRANSIENT_NoUsableProfile)
omniORB: (0) 2007-11-21 14:32:05.421000: Caught exception trying to resolve
`NameService' with boot agent.
omniORB: (0) 2007-11-21 14:32:05.421000: throw NO_RESOURCES from
initRefs.cc:696 (NO,NO_RESOURCES_InitialRefNotFound)
omniORB: (0) 2007-11-21 14:32:05.421000: ObjRef(IDL:xxxxx/Client:1.0)
--deleted.
OrbInitError:116:ORB:System Exception while using the naming service.
--
View this message in context: http://www.nabble.com/OmniORB4.1-connection-problem-with-TNameServer-tf4854790.html#a13892024
Sent from the OmniORB - User mailing list archive at Nabble.com.
Duncan Grisby
2007-12-03 23:31:43 UTC
Permalink
Post by Rie Kakuuchi
I updated OmniORB of the client side to version 4.1.0 because I need to
build the DLL on VS2005. Then the client side always to fail to "resolve
initial reference" with NameServer.
The settings are as follows.
--------------
Client PC : OmniORB 4.1
Server PC : OmniORB 3.03 + TNameServer 1.6
--------------
Am I missing something in the configurations?
The trace is given below. (IP address is fake.)
The trace looks like it's all working ok, but for some reason it doesn't
think there's a valid way to contact the boot agent for the TNameServer.
The IOR it is trying to use is valid (although it's on localhost, rather
than a different server).

Do the omniORB echo examples work? Please try eg1 and eg2.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...