[
https://issues.apache.org/jira/browse/ARTEMIS-5987?focusedWorklogId=1016708&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1016708
]
ASF GitHub Bot logged work on ARTEMIS-5987:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 21/Apr/26 15:25
Start Date: 21/Apr/26 15:25
Worklog Time Spent: 10m
Work Description: jbertram commented on PR #6340:
URL: https://github.com/apache/artemis/pull/6340#issuecomment-4289754730
These tests in
`org.apache.activemq.artemis.tests.integration.ra.ActiveMQMessageHandlerSingleConnectionTest`
are still failing even with the fix:
- `testSingleConnectionSessionCreationFailurePropagatesOriginalException`
- `testSingleConnectionMidLoopFailurePropagatesOriginalException`
Issue Time Tracking
-------------------
Worklog Id: (was: 1016708)
Time Spent: 40m (was: 0.5h)
> singleConnection can be in a bad state
> --------------------------------------
>
> Key: ARTEMIS-5987
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5987
> Project: Artemis
> Issue Type: Bug
> Components: JMS
> Affects Versions: 2.53.0
> Reporter: Emmanuel Hugonnet
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When the sessions are created on the single connection, if something fails we
> should stop attempting to create new sessions and close the connection
> factory as it is in a bad state and it raised a 'wrong' error, e.g.:
> {noformat}
> 00:45:54,328 WARN [org.apache.activemq.artemis.ra.ActiveMQRALogger]
> (default-threads - 3) AMQ152005: Failure in broker activation
> org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec(ra=org.wildfly.extension.messaging.activemq.ActiveMQResourceAdapter@9f1bfbc
> destination=jms/queue/myQueue destinationType=null ack=Auto-acknowledge
> durable=false clientID=null user=null maxSession=15):
> org.apache.activemq.artemis.api.core.ActiveMQInternalErrorException:
> [errorType=INTERNAL_ERROR message=AMQ219000: ClientSession closed while
> creating session]
> at
> [email protected]//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:277)
> at
> [email protected]//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:254)
> at
> [email protected]//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1469)
> at
> [email protected]//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:830)
> at
> [email protected]//org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:355)
> at
> [email protected]//org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.createSession(ActiveMQResourceAdapter.java:1035)
> at
> [email protected]//org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setupSession(ActiveMQActivation.java:427)
> at
> [email protected]//org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setup(ActiveMQActivation.java:257)
> at
> [email protected]//org.apache.activemq.artemis.ra.inflow.ActiveMQActivation$SetupActivation.run(ActiveMQActivation.java:682)
> ...{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]