Monthly Archives: August 2015

Tomcat – setting for max HTTP header size

you can specify the max HTTP header size for Tomcap by modifying the file in conf/server.xml as shown below. This example set max HTTP header size 24KB(24576)

Posted in Programming | Tagged | Leave a comment

Java – loading a resource file in unit test code

Posted in Java, Programming | Tagged | Leave a comment

Maven – Log4j setting for maven with Springframework

In order to enable log4j settings in maven compilation, log4j.properties file should be in the test/resources directory. Sample unit test class Sample log4j.properties file

Posted in Java, Programming | Tagged | 1 Comment

C++ – Actor framework for C++

Nice C++ implementation for Actor framework. https://github.com/actor-framework/actor-framework.git Git branch for vs2015 is remotes/origin/topic/visual_studio. CMake option that I found so far to compile with vs2015 are below. -DCAF_BUILD_STATIC_ONLY:BOOL=yes -DCAF_NO_BENCHMARKS:BOOL=yes -DCAF_NO_EXAMPLES:BOOL=no -DCAF_NO_MEM_MANAGEMENT:BOOL=yes -DCAF_NO_OPENCL:BOOL=yes -DCAF_NO_RIAC:BOOL=yes More details can be found from the following … Continue reading

Posted in C++, Programming | Tagged | Leave a comment

COM – Generating a manifest file for COM isolation(registry free)

In order to load COM dll without searching from system registry key, application should include the manifest file in resource so that the application can create an instance of COM object from the specified file directly. After including this manifest … Continue reading

Posted in Programming | Tagged | Leave a comment