I have WildFly 8.2, large .ear application that consist of EJB, wars and etc. The problem is EJB receives calls (external requests, timers executing) during startup, so I get exceptions, because bean interceptor can't inject some dependencies because they will start later. Components have cyclic dependencies, so changing loading order will not help.
Is it possible to configure WildFly to start activity (receiving external requests, timers executing) only after finishing deploing?
Yes there is a way, but you will need to upgrade to WildFly 10(or even maybe 9) that has graceful shutdown / startup implemented.