Appendix A. Additional Notes

  • The WebLogic class loading mechanism does not provide access to the application jars located in Business Central's WEB-INF/lib directory, which can cause problems for developers looking to inject KIE-CDI classes. As a workaround for this issue, JBoss BRMS includes a CDI extension that temporarily swaps class loaders to load the application. This class is located in WEB-INF/classes/org/kie/workbench/backend/weblogic/SwapClassloaderExtension.java and enabled in WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension:
    org.kie.workbench.backend.weblogic.SwapClassloaderExtension
    
  • If using a non-exploded archive, Weblogic packs contents of Business Central's WEB-INF/classes into WEB-INF/lib/_wl_cls_gen.jar. If a developer aims to create KieBase and KieSession from resources, KIE-Spring cannot find the classes. For this reason, the recommended deployment method is to use the exploded archives contained within the product's ZIP file.