Fixed issues with caching. The infinispan distributed cache is now
working.