724

Corba - endPoint problem

char *options[][2] = { {"endPoint", ""}, {"maxServerThreadPoolSize", ""}, {0, 0} }; char endPoint[40]; sprintf(endPoint, "giop:tcp:%s:%s", boaHost, listenPort); applog(PITS_TRACE, "%s: endPoint = %s", func_name, endPoint);///////////////////////// In logs apare: endPoint = giop:tcp:localhost:55444 ////////////////////////////// options[0][1] = endPoint; char maxServerThreadPoolSize[5]; sprintf(maxServerThreadPoolSize, "%d", clientThreads+1); options[1][1] = maxServerThreadPoolSize; orb = CORBA::ORB_init(argc, argv, "omniORB4", (const char *(*)[2])options); applog( PITS_TRACE, "%s: after CORBA_ORB_init()=%p", func_name, (void *)orb ); CORBA::Object_var obj = orb->resolve_initial_references("RootPOA");----Am indicat portul, si el tot una face bind pe unul random(48760):>catior IOR:010000001300000049444c3a4865782f4f72646572733a312e300000010000000000000078000000010102000f0000003139322e3136382e39372e313138000078be00001d000000ff6d7920706f6100686c724170706c69636174696f6e2d5365727665720000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100Type ID: "IDL:Hex/Orders:1.0"Profiles:1. IIOP 1.2 192.168.xxx.xxx 48760 ".my poa.hlrApplication-Server" TAG_ORB_TYPE omniORB TAG_CODE_SETS char native code set: ISO-8859-1 char conversion code set: UTF-8 wchar native code set: UTF-16 wchar conversion code set: UTF-16--------------Intrebarea: cum sa-i _fortez_ portul?
0