Fix weblogic shutdown

Fixed ClassDefNotFound exception on weblogic when application is going for shutdown since classloader is already deactivated and does not load new classes anymore