-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed as not planned
Closed as not planned
Copy link
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fix
Description
Artemis Jakarta Server added support for Java 25 in its version 2.44.0, but Spring Boot depends on 2.43.0.
This causes runtime failure
2025-11-29T13:57:20.163+01:00 ERROR 27636 --- [demo] [ main] o.apache.activemq.artemis.core.server : AMQ224000: Failure in initialisation
java.lang.UnsupportedOperationException: getSubject is not supported
at java.base/javax.security.auth.Subject.getSubject(Subject.java:277) ~[na:na]
at org.apache.activemq.artemis.logs.AuditLogger.getCaller(AuditLogger.java:73) ~[artemis-commons-2.43.0.jar:2.43.0]
at org.apache.activemq.artemis.logs.AuditLogger.getNotificationInfo(AuditLogger.java:1125) ~[artemis-commons-2.43.0.jar:2.43.0]
at org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.getNotificationInfo(ActiveMQServerControlImpl.java:4303) ~[artemis-server-2.43.0.jar:2.43.0]
at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.findNotifications(MBeanIntrospector.java:444) ~[na:na]
at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.getMBeanInfo(MBeanIntrospector.java:390) ~[na:na]
at java.management/com.sun.jmx.mbeanserver.MBeanSupport.<init>(MBeanSupport.java:137) ~[na:na]
at java.management/com.sun.jmx.mbeanserver.StandardMBeanSupport.<init>(StandardMBeanSupport.java:60) ~[na:na]
Fix for using Artemis Jakarta Server with Java 25 is simple. Example given for maven.
<properties>
<artemis.version>2.44.0</artemis.version>
<java.version>25</java.version>
</properties>It would be great if you could either pin the issue or document the necessary workaround for those using Artemis with Java 25 as Spring Boot 4 claims great support for Java 25 in its release notes.
Metadata
Metadata
Assignees
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fix