Category Archives: ACE

ORBConcurrency thread-per-connection

create file hello_svc.conf with the following content according to this document: static Resource_Factory “-ORBResources global -ORBReactorType select_mt” static Server_Strategy_Factory “-ORBConcurrency thread-per-connection” start naming server: tao_cosnaming -ORBListenEndpoints iiop://localhost:9999 start servant: taohelloserver -ORBInitRef NameService=corbaloc:iiop:localhost:9999/NameService -ORBSvcConf ~/workspace/taohelloserver/hello_svc.conf The document says that it can … Continue reading

Posted in ACE, CORBA, CPP | Tagged | Leave a comment

Max file size for log file

supported libraries: ACE library ACE_Logging_Strategy class, Boost.log library.

Posted in ACE, CPP, Open Source | Leave a comment

VC9 build ACE+TAO+CIAO-6.0.4.zip

call “%VS90COMNTOOLS%/../../vc/bin/vcvars32.bat” cd /d G:\src\ACE6.0.4\ACE_wrappers\ time /t >> vc9build4.log devenv G:\src\ACE6.0.4\ACE_wrappers\ACE_wrappers_vc9.sln /useenv /Build “Debug|Win32” >> vc9build.log time /t >> vc9build4.log devenv G:\src\ACE6.0.4\ACE_wrappers\ACE_wrappers_vc9.sln /useenv /Build “Release|Win32” >> vc9build.log IF NOT EXIST ace\config.h xcopy /f ace\config-win32.h ace\config.h REM add G:\src\ACE6.0.4\ACE_wrappers\TAO\tao to VC++ 2008 include … Continue reading

Posted in ACE, CORBA, CPP, Open Source | Leave a comment

A toy ACE_Event_Handler

// for myself to remember usage of ACE_DEBUG, and also command line to build the source code. // VC++ 2010 // D:\onega>cl -DWIN32=0x0501 -D_DEBUG -ID:\src\ace601\ACE_wrappers /EHsc /MDd ace1.cpp /link /VERBOSE:LIB -Libpath:D:\src\ace601\ACE_wrappers\lib aced.lib #include< ace/Task.h > #include <signal.h> #include “ace/Reactor.h” #include “ace/Event_Handler.h” … Continue reading

Posted in ACE, CPP, Open Source | Leave a comment