Greetings! Under circumstances which we have yet to fully qualify, we are getting the stack trace below. Can anyone shed light? Right now I’m just trying to understand if this is something we are doing, or something that the AMQ driver does under certain circumstances. Especially mysterious is the InterruptedException. I’m pretty sure we are not interrupting the thread; any idea who could be? Maybe this is a side-effect of some previous error and the driver is trying to wind things down?
This is vanilla JMS client with maven dependency: <dependency> <groupId>org.apache.activemq</groupId> <artifactId>artemis-jms-client-all</artifactId> <version>2.26.0</version> </dependency> I’m pretty sure that this is the call we are making at the time: private static Connection makeConnection(String uri, boolean disablePrefetch) { try { Connection wrapped = MyConnectionFactory.createConnection(uri, disablePrefetch); wrapped.setClientID(UUID.randomUUID().toString()); wrapped.setExceptionListener(new MyExListener()); wrapped.start(); MyProxy proxy = new MyProxy(wrapped); return (Connection) Proxy.newProxyInstance(JmsStaticConnectionPool.class.getClassLoader(), new Class[]{Connection.class}, proxy); } catch (JMSException ex) { throw new RuntimeException("Failed to create JMS connection to '" + uri + "'", ex); } } 12/20 01:14:21AM - Incomplete for 'ao_match_segment_analyze_02.dlp': [ao_match_segment_analyze_02.dlp]: Error in project start or run: net/redpoint/ipc/jms/JmsRpcClientChannel.start: java.lang.reflect.UndeclaredThrowableException jdk.proxy4/jdk.proxy4.$Proxy35.createSession(Unknown Source) net.redpoint.ipc.jms.JmsRpcClientChannel$Receiver.start(JmsRpcClientChannel.java:309) net.redpoint.ipc.jms.JmsRpcClientChannel.start(JmsRpcClientChannel.java:92) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle_(Native Method) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle(JmsRawRpcHandlerCpp.java:17) net.redpoint.ipc.jms.JmsRawRpcHandlerBridge.handle(JmsRawRpcHandlerBridge.java:36) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver.handleMessage(JmsRpcServer.java:176) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver$ReceiveRunner.run(JmsRpcServer.java:132) java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.reflect.InvocationTargetException java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) net.redpoint.ipc.jms.JmsStaticConnectionPool$MyProxy.invoke(JmsStaticConnectionPool.java:77) jdk.proxy4/jdk.proxy4.$Proxy35.createSession(Unknown Source) net.redpoint.ipc.jms.JmsRpcClientChannel$Receiver.start(JmsRpcClientChannel.java:309) net.redpoint.ipc.jms.JmsRpcClientChannel.start(JmsRpcClientChannel.java:92) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle_(Native Method) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle(JmsRawRpcHandlerCpp.java:17) net.redpoint.ipc.jms.JmsRawRpcHandlerBridge.handle(JmsRawRpcHandlerBridge.java:36) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver.handleMessage(JmsRpcServer.java:176) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver$ReceiveRunner.run(JmsRpcServer.java:132) java.base/java.lang.Thread.run(Thread.java:833) Caused by: javax.jms.JMSException: AMQ219001: Failed to create session org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:335) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:254) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1419) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:736) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:317) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSessionInternal(ActiveMQConnection.java:579) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSession(ActiveMQConnection.java:223) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) net.redpoint.ipc.jms.JmsStaticConnectionPool$MyProxy.invoke(JmsStaticConnectionPool.java:77) jdk.proxy4/jdk.proxy4.$Proxy35.createSession(Unknown Source) net.redpoint.ipc.jms.JmsRpcClientChannel$Receiver.start(JmsRpcClientChannel.java:309) net.redpoint.ipc.jms.JmsRpcClientChannel.start(JmsRpcClientChannel.java:92) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle_(Native Method) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle(JmsRawRpcHandlerCpp.java:17) net.redpoint.ipc.jms.JmsRawRpcHandlerBridge.handle(JmsRawRpcHandlerBridge.java:36) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver.handleMessage(JmsRpcServer.java:176) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver$ReceiveRunner.run(JmsRpcServer.java:132) java.base/java.lang.Thread.run(Thread.java:833) Caused by: ActiveMQInternalErrorException[errorType=INTERNAL_ERROR message=AMQ219001: Failed to create session] org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:335) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:254) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1419) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:736) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:317) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSessionInternal(ActiveMQConnection.java:579) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSession(ActiveMQConnection.java:223) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) net.redpoint.ipc.jms.JmsStaticConnectionPool$MyProxy.invoke(JmsStaticConnectionPool.java:77) jdk.proxy4/jdk.proxy4.$Proxy35.createSession(Unknown Source) net.redpoint.ipc.jms.JmsRpcClientChannel$Receiver.start(JmsRpcClientChannel.java:309) net.redpoint.ipc.jms.JmsRpcClientChannel.start(JmsRpcClientChannel.java:92) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle_(Native Method) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle(JmsRawRpcHandlerCpp.java:17) net.redpoint.ipc.jms.JmsRawRpcHandlerBridge.handle(JmsRawRpcHandlerBridge.java:36) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver.handleMessage(JmsRpcServer.java:176) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver$ReceiveRunner.run(JmsRpcServer.java:132) java.base/java.lang.Thread.run(Thread.java:833) Caused by: org.apache.activemq.artemis.api.core.ActiveMQInterruptedException: java.lang.InterruptedException org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:520) org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:446) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:306) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:254) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1419) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:736) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:317) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSessionInternal(ActiveMQConnection.java:579) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSession(ActiveMQConnection.java:223) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) net.redpoint.ipc.jms.JmsStaticConnectionPool$MyProxy.invoke(JmsStaticConnectionPool.java:77) jdk.proxy4/jdk.proxy4.$Proxy35.createSession(Unknown Source) net.redpoint.ipc.jms.JmsRpcClientChannel$Receiver.start(JmsRpcClientChannel.java:309) net.redpoint.ipc.jms.JmsRpcClientChannel.start(JmsRpcClientChannel.java:92) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle_(Native Method) net.redpoint.ipc.jms.JmsRawRpcHandlerCpp.handle(JmsRawRpcHandlerCpp.java:17) net.redpoint.ipc.jms.JmsRawRpcHandlerBridge.handle(JmsRawRpcHandlerBridge.java:36) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver.handleMessage(JmsRpcServer.java:176) net.redpoint.ipc.jms.JmsRpcServer$RpcReceiver$ReceiveRunner.run(JmsRpcServer.java:132) java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.InterruptedException java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1745) org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:518) org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:446) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:306) org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:254) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1419) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:736) org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:317) org.apache.activemq.artemis.jms.client.ActiveMQConnection.createSessionInternal(ActiveMQConnection.java:579) org.apache.activemq.artemis.jms.client.Acti Thanks john [rg] <https://www.redpointglobal.com/> John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint.