SAS® OnDemand Decision Engine reports an exception "Caused by: java.lang.ClassNotFoundException: javax.jms.JMSContext…"


On an external alert management system (XAMS) that is configured to use Apache ActiveMQ for message queueing, SAS OnDemand Decision Engine reports a fatal error and will not start. 

The stack trace in the log is similar to the following:

2025-05-07T13:38:10,711 [main] FATAL Main

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#0': Cannot resolve reference to bean 'intervalStats' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException:

Caused by: java.lang.ClassNotFoundException: javax.jms.JMSContext

     at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[?:?]

     at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass

(ClassLoaders.java:178) ~[?:?]