Renamed ContextListener to Log4jContextListener.
Added a Reconfigurable interface and then had XMLConfiguration and JSONConfiguration implement that.
Modified FileConfigurationMonitor to accept the Reconfigurable and call its reconfigure method when required.
Modified ConfigurationListener to accept a Reconfigurable in the onChange method.
Moved call to monitor.CheckConfiguration from LoggerConfig to Logger since the call in LoggerConfig caused a deadlock (the LoggerConfig will be replaced during reconfiguration).
Discovered that ResolverUtil could not locate plugins within a war in JBoss. Added support to allow that.