The connection is not being established and the error is javax.naming.NoInitialContextException: Cannot instantiate class:com.solacesystems.jndi.SolJNDIInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.solacesystems.jndi.SolJNDIInitialContextFactory]
While executing jms point to point the error is: javax.naming.NoInitialContextException: Cannot instantiate class:
1.7k Views Asked by Kshitij Chawla At
3
There are 3 best solutions below
3
On
You are missing sol-jms-10.3.0.jar which you can download/ use maven from Solace JMS API site.
JMS jars need to be added to JMeter's lib folder. see JMeter classpath:
Other jars (such as JDBC, JMS implementations and any other support libraries needed by the JMeter code) should be placed in the lib directory - not the lib/ext directory, or added to user.classpath.
You need to add in jmeter/lib folder the jar that contains the jndi classes for your JMS implementation.
This might help: