remove ConfigurableFactory. Left one applicationContext.