Hi,

I have been trying to integrate a custom security plugin in ActiveMQ to
perform our product specific authentication for JMS connections. I have
placed the plugin as a jar in ACTIVEMQ lib directory. I have also added the
below line within the Broker section in ActiveMQ configuration.

<broker ....>

        <plugins>
             <bean xmlns="http://www.springframework.org/schema/beans";
id="authenticationPlugin" class="com.activemq.plugin.authenticationPlugin"/>
         </plugins>

</broker>

However, the plugin initialization seems to fail consistently with a
NoClassDefFoundError. I confirmed that the class reported in the error is
already part of the jar file. I also, enabled verbose class logging in
activemq and confirmed that the reported class is loaded by class loader.

[Loaded com.messaging.common.rest.RestClient from
file:/opt/amq/lib/javalib-activemq-1.0.1-jar-with-dependencies.jar]
[Loaded java.lang.ExceptionInInitializerError from
/usr/lib/jvm/java-1.8.0-oracle-1.8.0.111-1jpp.4.el7.x86_64/jre/lib/rt.jar]

The ActiveMQ version which we have deployed is 5.14.3

Can someone please help?

Thanks,



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/NoClassDefFoundError-in-ActiveMQ-5-14-3-tp4725232.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to