-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.CR1, 7.1.0.CR4, 7.2.0.CD12, 7.2.0.GA
-
None
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.
- is caused by
-
ENTMQBR-2029 [ARTEMIS-2105] Discovery group connectors can delay broker shutdown
- Closed
- is cloned by
-
ENTMQBR-2142 Shutdown of server with remote JCA MDB may take too long
- Closed
- is duplicated by
-
WFWIP-88 [Artemis 2.x upgrade] Server shutdown hangs with active MDB
- Closed
- is incorporated by
-
JBEAP-16606 (7.2.z) Upgrade Artemis from 2.6.3.redhat-00020 to 2.7.0.redhat-00057
- Closed