This content has been marked as final.
Show 2 replies
-
1. Re: Wildfly shutdown not instant when a MDB is deployed ?
jbertram Oct 6, 2016 2:38 PM (in response to dlmiles)Can you capture a few thread dumps before and after you issue the shutdown with the active MDB? Hopefully this will show exactly what the MDB (or perhaps another component) is doing to prevent shutdown.
-
2. Re: Wildfly shutdown not instant when a MDB is deployed ?
mnovak Oct 10, 2016 4:01 AM (in response to dlmiles)Hi Darryl,
if server is shutting down when MDB is processing messages then server tries to wait some time for MDB to finish processing of messages. This time depends on the type of business logic in MDB, number of MDB sessions, whether MDB is consuming messages from remote WF10/Artemis broker and if it's calling some EJB logic.
As Justin mentioned suggested, to create some thread dumps is the best way to see what's cause of those long shutdowns.
Thanks,
Mirek