Facing error ""Could not initialize class org.jboss.naming" while creating JNDI for JBOSS/HornetQ

HI I am facing error “Could not initialize class org.jboss.naming.remote.client.InitialContextFactory” while trying to create JNDI Alias Name on Integration Server to connect JBOSS HornetQ instance.
I have copied jboss-client.jar and jboss-remote-naming.jar jars to “/SAG/IntegrationServer/instances/XXX/lib/jars/custom” folder.
JBoss/HornetQ is on different server then IS.
Has anyone faced similar issue before ?

-Hitesh

Hi Hitesh,

sounds like a class loading issue.

Was the IntegrationServer restarted after copying the JAR-Files?

Regards,
Holger