I deployed this code on a single server and it worked fine. Then I deployed it on a clustered environment and whenever I tried to retrieve the Logger from the LogManager, it was null, and gave a null pointer exception.
Why in a clustered environment do I not have access to the same LogManager object as my servlet? Is this a classLoader problem? How would I be able to register my Loggers with a LogManager that can be accessed from any module - web or ejb?