HQ222078: Error instantiating remoting interceptor xxxx.xxxx.xxxx.xxxx: java.lang.IllegalStateException: java.lang.ClassNotFoundException
Issue
- We are trying to upgrade from EAP 6.1 to the latest EAP 6.4 update 5 [EAP 6.4.5]. We are using Interceptors to log all incoming messages. We put the jar containing Interceptor class xxxx.xxxx.xxxx.xxxx under
$JBOSS_HOME/modules/system/layers/base/org/jboss/as/messaging/main
. It used to work in 6.1 but after upgrading to 6.4.5, we see the following exception:
17:01:19,824 WARN [org.hornetq.core.server] HQ222078: Error instantiating remoting interceptor xxxx.xxxx.xxxx.xxxx: java.lang.IllegalStateException: java.lang.ClassNotFoundException: xxxx.xxxx.xxxx.xxxx from [Module "org.jboss.as.messaging:main" from local module loader @5f8ed237 (finder: local module finder @2f410acf (roots: $JBOSS_HOME/modules,$JBOSS_HOME/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.5.CP,$JBOSS_HOME/modules/system/layers/base))]
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.