[omniORB] Help need!!!

Ashraf Moosa ashraf@ewdm.co.za
Mon Oct 21 00:24:01 2002


Hi
I am a newbie to OmniOrb.
I am using OmniOrb-4.0.0 distribution on Windows 2000 sp2 using Microsoft
Visual
Studio .Net Service Pack 1.

I have managed to compile omniorb as well as all the echo examples.
I have also managed to get example1 and example 2 to work perfectly, However
when I try to run eg3_imp.cc The server exits with
an error.

First I start OmniNames using the default port:

omninames - start
......
Checkpointing Phase 1: Prepare.
Checkpointing Phase 2: Commit.
Checkpointing completed.

Then when I run my eg3_impl I get the following output (using tracelevel=40)
:

D:\omniORB-4.0.0\src\examples\echo>eg3_impl -ORBInitRef
NameService=corbaname::196.25.71.78
omniORB: Distribution date: Sun Sep 22 22:06:56 BST 2002 dgrisby
omniORB: My addresses are:
omniORB: 196.25.71.78
omniORB: 127.0.0.1
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) 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: Creating ref to remote: key<0x494e4954>
 target id      : omg.org/CORBA/InitialReferences:1.0
 most derived id: omg.org/CORBA/InitialReferences:1.0
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef =
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname = localhost
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp:196.25.71.78:2809
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 2097152
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   inConScanPeriod = 180
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 5
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 5
omniORB:   maxServerThreadPerConnection = 100
omniORB:   maxServerThreadPoolSize = 100
omniORB:   nativeCharCodeSet = ISO-8859-1
omniORB:   nativeWCharCodeSet = UTF-16
omniORB:   objectTableSize = 0
omniORB:   offerBiDirectionalGIOP = 0
omniORB:   omniORB_27_CompatibleAnyExtraction = 0
omniORB:   oneCallPerConnection = 1
omniORB:   outConScanPeriod = 120
omniORB:   poaHoldRequestTimeout = 0
omniORB:   principal = [Null]
omniORB:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 1
omniORB:   supportCurrent = 1
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Initialising incoming endpoints.
omniORB: Explicit bind to host 196.25.71.78
omniORB: Starting serving incoming endpoints.
omniORB: Adding root<0> (activating) to object table.
omniORB: State root<0> (activating) -> active
omniORB: Creating ref to local: root<0>
 target id      : IDL:Echo:1.0
 most derived id: IDL:Echo:1.0
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:196.25.71.78:2809
IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000060000000
0101
0200080000006d756a6168696400f90a00000e000000fe60d8b23d000002b400000000000000
0200
000000000000080000000100000000545441010000001c000000010000000100010001000000
0100
0105090101000100000009010100
omniORB: Trying to resolve initial reference `NameService'
 with configuration file default `corbaname::196.25.71.78/NameService'
omniORB: Creating ref to in process: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameService' resolved with configuration file
ORBDef
aultInitRef prefix.
omniORB: throw OBJECT_NOT_EXIST from inProcessIdentity.cc:176
(NO,OBJECT_NOT_EXI
ST_NoMatch)
omniORB: throw OBJECT_NOT_EXIST from omniObjRef.cc:753
(NO,OBJECT_NOT_EXIST_NoMa
tch)
omniORB: ObjRef(IDL:Echo:1.0) -- deleted.
Caught CORBA::SystemException.
omniORB: ObjRef() -- deleted.
omniORB: ORB not destroyed; no final clean-up.

Thanks