BZ-1051769: when we have this extension setup as a EAP/AS/WF module it will try to reuse classloaders on application restart, what will cause the following exception: java.lang.IllegalStateException: There's already another KieContainer created from a different ClassLoader. By using a newKieClasspathContainer instead  of get you don't reuse classloaders and you don't get the exception.