-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
AMQ 7.2.1.GA
-
None
-
AMQ Sprint 3219, AMQ Broker 1119
We have following scenario:
EAP has configured pooled-connection-factory to use discovery-group to create remote JCA connection and we have one MDB deployed on it. When there are no broadcasting nodes in this group and we try to shut down a server early it may happen that ActiveMQActivation.setup() is still running and trying to create sessions for MDB. Each attempt of creation this session will take by default 10 seconds and there will be by default about 10 attempts to create the session. This loop will hold server shutdown for a significant amount of time, by default it's about 2 minutes but it may be longer if MDB is configured with "maxSession" attribute to a higher value.
I think that Artemis should at least log some information about what is happening and how long it will take.
I'll note that there used jgroups tcp stack (with static nodes) in configuration of discovery group.
- clones
-
JBEAP-12983 Shutdown of server with remote JCA MDB may take too long
- Closed
- is caused by
-
ENTMQBR-2029 [ARTEMIS-2105] Discovery group connectors can delay broker shutdown
- Closed
- is duplicated by
-
WFWIP-88 [Artemis 2.x upgrade] Server shutdown hangs with active MDB
- Closed