1 Reply Latest reply on Sep 5, 2018 10:30 AM by Carlo Marchiori

    Global ejb interceptor in standalone war

    Janusz Głowiak Newbie


      I have an application that is currently deployed as an single war inside ear but I would like to migrate this to be deployed as single war (to decrease build time). The problem is that ejb-jar.xml file that is stored in war in WEB-INF is not read by Wildfly 10 (nor 11) when application is not deployed in ear. From what I know there is no other option to create global interceptor. Adding this manually to each session bean could be problematic as we already have about 200 beans. Simple war with one resource and global interceptor that should be launched in attachment.

      Do you know any solution for such problem? Should I create a ticket for this to be solved?