-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
AMQ 7.7.0.CR1
-
None
Closing a JMS session does not close underlying Artemis core connection if using an SSL configured connection factory.
Test Code attached. To reproduce:
- Client code is SimpleRemoteJMSExample.java
- To build:
export JBOSS_HOME=./jboss-eap-7.1 javac -classpath=./jboss-eap-7.1/bin/client/jboss-client.jar:. *.java
- Run EAP: ./jboss-eap-7.1/bin/standalone.sh -c standalone-full.xml
- Run client using ./run.sh. After 60 seconds the following message will display in the JBoss console window:
2020-01-07 15:59:01,958 WARN [org.apache.activemq.artemis.core.client] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@29ea055b)) AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /127.0.0.1:33381 within the 60,000ms connection TTL. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
- To switch to non_ssl, edit SimpleRemoteJMSExample.java, and change following two lines:
// 1- Switch between secure an non secure URL // 2- Switch between secure an non secure connection factory and rebuild/rerun. with non SSL, issue does not happen
test code/config is available at https://drive.google.com/open?id=1q_tq9rnNtJpiDsmIYsfFDZGrQ0leztoC
- clones
-
JBEAP-19153 [GSS](7.3.z) ENTMQBR-3434 - Can not close underlying artemis connection when using an SSL connection factory
- Closed