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]
Asked
Active
Viewed 1,518 times
0
-
I have added the library jndi-1.2.1.jar – Kshitij Chawla Mar 27 '18 at 06:29
3 Answers
0
You need to add in jmeter/lib folder the jar that contains the jndi classes for your JMS implementation.
This might help:

UBIK LOAD PACK
- 33,980
- 5
- 71
- 116
-
-
this one doesn’t contain the missing class, add the one I pointed you at – UBIK LOAD PACK Mar 27 '18 at 06:52
-
I have added both the jar files to the library including sol jms 10.3.0.jar – Kshitij Chawla Mar 27 '18 at 07:10
0
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.

Ori Marko
- 56,308
- 23
- 131
- 233
-
-
you have several libs in the zip file you download that you need to add – Ori Marko Mar 28 '18 at 05:49
-
0
That's definitely the issue of missing dependency of SOL JMS implementation
Please add the one like (gradle example):
implementation 'com.solacesystems:sol-jms:10.6.3'

27P
- 1,183
- 16
- 22