The problem here was the cache or the CDI.current?