Skip to content

Tracing JMSListener for ActiveMQ not working with Springboot 4 and Java 25 #14248

Description

@cesperez

What version of pinpoint are you using?

master/v1.3.1/v1.3.1

Describe your problem**

We have just started to use pinpoint with our new springboot 4.1 + Java 25 applications. What we have found is that it seems that tracing for JMSListeners for our ActiveMQ queue messages are missing now. With previous versions of springboot (2.5.X) and Java (17) tracing for these messages were working. It seems that is something related to the change from javax to jakarta packaging.

Are you aware of this? I wonder if it would be possible to upgrade activemq plugin so that it can trace these messages again. Is this issue in your roadmap?

Thank you very much in advance.

Logs

09-03 14:49:28.856 [ Session Task-2] WARN tiveMQMessageConsumerDispatchInterceptor -- BEFORE. Caused:Class org.apache.activemq.command.ActiveMQObjectMessage does not implement the requested interface javax.jms.Message
java.lang.IncompatibleClassChangeError: Class org.apache.activemq.command.ActiveMQObjectMessage does not implement the requested interface javax.jms.Message
  at com.navercorp.pinpoint.plugin.activemq.client.ActiveMQClientHeader$MessageHandlerBase.getMessage(ActiveMQClientHeader.java:74)
  at com.navercorp.pinpoint.plugin.activemq.client.ActiveMQClientHeader.getSampled(ActiveMQClientHeader.java:169)
  at com.navercorp.pinpoint.plugin.activemq.client.interceptor.ActiveMQMessageConsumerDispatchInterceptor.createTrace(ActiveMQMessageConsumerDispatchInterceptor.java:156)
  at com.navercorp.pinpoint.plugin.activemq.client.interceptor.ActiveMQMessageConsumerDispatchInterceptor.before(ActiveMQMessageConsumerDispatchInterceptor.java:90)
  at com.navercorp.pinpoint.bootstrap.interceptor.scope.ExceptionHandleScopedInterceptor.before(ExceptionHandleScopedInterceptor.java:52)
  at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java)
  at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
  at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
  at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
  at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
  at java.base/java.lang.Thread.run(Thread.java:1474)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions