[omniORB] [help] [beginner] Telnet connection problem

Matthieu Masselin matthieu.masselin at wandercraft.eu
Fri Sep 9 16:29:58 BST 2016


Hello, 

I'm trying to start an omniORB server, but getting into a bit of trouble. The strange thing is that I had a setup perfectly working, had to re-install, and now it's not working anymore. I'm on Ubuntu 14.04, with omniORB 4.1.6. 
Here's what happens when I start with traceLevel at 25 : 

omniORB: Version: 4.1.6 
omniORB: Distribution date: Fri Jul 1 15:57:00 BST 2011 dgrisby 
omniORB: My addresses are: 
omniORB: 127.0.0.1 
omniORB: 192.168.0.44 
omniORB: Maximum supported GIOP version is 1.2 
omniORB: Native char code sets: UTF-8 ISO-8859-1. 
omniORB: 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: 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) = corbaloc:: 
omniORB: DefaultInitRef (args) = 
omniORB: abortOnInternalError = 0 
omniORB: abortOnNativeException = 0 
omniORB: acceptBiDirectionalGIOP = 0 
omniORB: acceptMisalignedTcIndirections = 0 
omniORB: bootstrapAgentHostname = 
omniORB: bootstrapAgentPort = 900 
omniORB: clientCallTimeOutPeriod = 0 
omniORB: clientConnectTimeOutPeriod = 0 
omniORB: clientTransportRule = * unix,ssl,tcp 
omniORB: configFile = /etc/omniORB.cfg 
omniORB: connectionWatchImmediate = 0 
omniORB: connectionWatchPeriod = 50000 
omniORB: copyValuesInLocalCalls = 1 
omniORB: diiThrowsSysExceptions = 0 
omniORB: dumpConfiguration = 0 
omniORB: endPoint = giop:tcp:: 
omniORB: endPointPublish = addr 
omniORB: giopMaxMsgSize = 2097152 
omniORB: giopTargetAddressMode = KeyAddr 
omniORB: id = omniORB4 
omniORB: idleThreadTimeout = 10 
omniORB: immediateAddressSwitch = 0 
omniORB: inConScanPeriod = 180 
omniORB: lcdMode = 0 
omniORB: maxGIOPConnectionPerServer = 5 
omniORB: maxGIOPVersion = 1.2 
omniORB: maxInterleavedCallsPerConnection = 5 
omniORB: maxServerThreadPerConnection = 100 
omniORB: maxServerThreadPoolSize = 100 
omniORB: maxSocketRecv = 2147483647 
omniORB: maxSocketSend = 2147483647 
omniORB: nativeCharCodeSet = ISO-8859-1 
omniORB: nativeWCharCodeSet = UTF-16 
omniORB: objectTableSize = 0 
omniORB: offerBiDirectionalGIOP = 0 
omniORB: oneCallPerConnection = 1 
omniORB: outConScanPeriod = 120 
omniORB: poaHoldRequestTimeout = 0 
omniORB: poaUniquePersistentSystemIds = 1 
omniORB: principal = [Null] 
omniORB: resetTimeOutOnRetries = 0 
omniORB: scanGranularity = 5 
omniORB: serverCallTimeOutPeriod = 0 
omniORB: serverTransportRule = * unix,ssl,tcp 
omniORB: socketSendBuffer = -1 
omniORB: strictIIOP = 1 
omniORB: supportBootstrapAgent = 0 
omniORB: supportCurrent = 1 
omniORB: supportPerThreadTimeOut = 0 
omniORB: tcAliasExpand = 0 
omniORB: threadPerConnectionLowerLimit = 9000 
omniORB: threadPerConnectionPolicy = 1 
omniORB: threadPerConnectionUpperLimit = 10000 
omniORB: threadPoolWatchConnection = 1 
omniORB: traceExceptions = 0 
omniORB: traceFile = [stderr] 
omniORB: traceInvocationReturns = 0 
omniORB: traceInvocations = 0 
omniORB: traceLevel = 25 
omniORB: traceThreadId = 0 
omniORB: traceTime = 0 
omniORB: unixTransportDirectory = /tmp/omni-%u 
omniORB: unixTransportPermission = 777 
omniORB: useTypeCodeIndirections = 1 
omniORB: validateUTF8 = 0 
omniORB: verifyObjectExistsAndType = 1 
omniORB: Initialising incoming endpoints. 
omniORB: Instantiate endpoint 'giop:tcp::0' 
omniORB: Attempt to set socket to listen on IPv4 and IPv6. 
omniORB: Bind to address :: ephemeral port. 
omniORB: Publish specification: 'addr' 
omniORB: Try to publish 'addr' for endpoint giop:tcp:192.168.0.44:38810 
omniORB: Publish endpoint 'giop:tcp:192.168.0.44:38810' 
omniORB: Starting serving incoming endpoints. 
omniORB: Adding root/child<0> (activating) to object table. 
omniORB: State root/child<0> (activating) -> active 
omniORB: Creating ref to local: root/child<0> 
target id : IDL:gepetto/corbaserver/GraphicalInterface:1.0 
most derived id: IDL:gepetto/corbaserver/GraphicalInterface:1.0 
omniORB: Trying to resolve initial reference `NameService' 
with configuration file default `corbaloc::/NameService' 
omniORB: Creating ref to remote: key<NameService> 
target id : IDL:omg.org/CORBA/Object:1.0 
most derived id: 
omniORB: Initial reference `NameService' resolved with configuration file ORBDefaultInitRef prefix. 
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1 
omniORB: giopRendezvouser task execute for giop:tcp:192.168.0.44:38810 
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2 
omniORB: Scavenger task execute. 
omniORB: Client attempt to connect to giop:tcp:localhost:2809 
omniORB: Name 'localhost' resolved: 127.0.0.1 
omniORB: Failed to connect (no peer name): 127.0.0.1 
omniORB: Switch rope to use address giop:tcp:localhost:2809 
terminate called after throwing an instance of 'CORBA::TRANSIENT' 
Aborted (core dumped) 

I came accross this thread : http://marc.info/?l=omniorb-list&m=131471501507157&w=2 and figured that I might have a problem with telnet. Indeed, both 
telnet localhost 2809 
telnet 127.0.0.1 2809 

fail, although 
telnet 192.168.0.44 2809 gets me to login. 

I've tried many things with telnetd, etc. but nothing seems to work. Any idea ? 

Matthieu 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20160909/af2b6488/attachment.html>


More information about the omniORB-list mailing list