Apr 26

Today I release the version 1.2.0 of mod-vhost-ldap-ng for the new Stable release of  Apache HTTPd.

+ Per-request document-root: solves some problem in memory management of apache structures and give more stability
+ Fixed some compiler warning
+ Better configure script, now you can point a custom apxs binary outside $PATH

DOWNLOAD: https://github.com/Ardeek/mod-vhost-ldap-ng/archive/1.2.0.tar.gz

Dec 22

I needed a very simple lock system for a software demo for operation on HashMap, instead of using ReentrantLock from java.util.concurrent.locks i chose to use Atomic classes from java.util.concurrent.atomic.* .

My demo has a very LONG blocking thread that writes on a shared HashMap, the following class permits me to tune the sleep time for the lock without using a syncronized queue.
Continue reading “Java code example: simple singleton lock using with Atomic variables” »

Jul 27

Often you need to add new services to your redhat clusters and unfortunately you don’t have a ready to use OCF resource agent eg:Jboss.

The redhat docs are not useful (forget about docs.redhat.com, forever) so i had to discover the way by myself; here the results.
Continue reading “Creating custom service for redhat cluster” »