Already known issue - multiple APIs moved from package javax to jakarta in this version, meaning that our instrumentations will not be applied. This includes the sub-packages servlet, jms, ws, faces and ejb that we instrument at least.
Describe the solution you'd like
It is likely that the addition of the jakarta package to matchers will be sufficient in most or all cases, but it will require some investigation and a lot of refactoring and testing.
Minimal requirements for resolving this issue
[x] verify Servlet and FilterChain instrumentations work - #1912
[ ] verify hibernate instrumentation works (JPA dependency)
Additional context
Our integration test on Tomcat 10 would fail due to this breaking change - see related comment.
hibernate: The apm-hibernate-search-plugin has a dependency on JPA - javax.persistence - which will be migrated. However the EE9 dependency is not yet available, tracked in https://hibernate.atlassian.net/browse/HHH-13946
spring EE9 support for spring is not available until Q4 2022. This means that the apm-jms-spring-plugin test cannot be duplicated for jakarta.jms until that is available (as it has class dependencies that specify javax.jms) Spring can be tracked at https://github.com/spring-projects/spring-framework/issues/25354
Is your feature request related to a problem?
Already known issue - multiple APIs moved from package
javax
tojakarta
in this version, meaning that our instrumentations will not be applied. This includes the sub-packagesservlet
,jms
,ws
,faces
andejb
that we instrument at least.Describe the solution you'd like
It is likely that the addition of the
jakarta
package to matchers will be sufficient in most or all cases, but it will require some investigation and a lot of refactoring and testing.Minimal requirements for resolving this issue
Servlet
andFilterChain
instrumentations work - #1912javax.ejb.Schedule
instrumentation works https://github.com/elastic/apm-agent-java/pull/2250Additional context
apm-jms-spring-plugin
test cannot be duplicated for jakarta.jms until that is available (as it has class dependencies that specify javax.jms) Spring can be tracked at https://github.com/spring-projects/spring-framework/issues/25354