I'm doing everything that the documentation says I need to yet it
cannot even find the InitialContextFactory
Is there a more up to date set of instructions for using ActiveMQ with
Jmeter?
jmeter.protocol.jms.sampler.JMSSampler: Cannot instantiate class:
org.activemq.jndi.ActiveMQInitialContextFactory
javax.naming.NoInitialContextException: Cannot instantiate class:
org.activemq.jndi.ActiveMQInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.activemq.jndi.ActiveMQInitialContextFactory]
Please note I've have the following in JMETER_HOME/lib
drwxr-xr-x@ 40 robert staff 1360 Sep 13 11:19 .
drwxr-xr-x@ 11 robert staff 374 Sep 13 10:39 ..
-rw-r--r--@ 1 robert staff 192042 Jun 17 10:11 Tidy.jar
-rw-r--r--@ 1 robert staff 2315826 Sep 13 10:37 activemq-
core-5.2.0.jar
-rw-r--r--@ 1 robert staff 72851 Jun 17 10:11 avalon-
framework-4.1.4.jar
-rw-r--r--@ 1 robert staff 113369 Jun 17 10:11 bsf-2.4.0.jar
-rw-r--r--@ 1 robert staff 281694 Jun 17 10:11 bsh-2.0b4.jar
-rw-r--r--@ 1 robert staff 29337 Jun 17 10:16 bshclient.jar
-rw-r--r--@ 1 robert staff 46725 Jun 17 10:11 commons-codec-1.3.jar
-rw-r--r--@ 1 robert staff 571259 Jun 17 10:11 commons-
collections-3.2.jar
-rw-r--r--@ 1 robert staff 305001 Jun 17 10:11 commons-
httpclient-3.1.jar
-rw-r--r--@ 1 robert staff 109043 Jun 17 10:11 commons-io-1.4.jar
-rw-r--r--@ 1 robert staff 132165 Jun 17 10:11 commons-jexl-1.1.jar
-rw-r--r--@ 1 robert staff 261809 Jun 17 10:11 commons-lang-2.4.jar
-rw-r--r--@ 1 robert staff 60841 Jun 17 10:11 commons-
logging-1.1.1.jar
-rw-r--r--@ 1 robert staff 180792 Jun 17 10:11 commons-net-1.4.1.jar
-rw-r--r--@ 1 robert staff 56089 Jun 17 10:11 excalibur-
datasource-1.1.1.jar
-rw-r--r--@ 1 robert staff 17669 Jun 17 10:11 excalibur-
instrument-1.0.jar
-rw-r--r--@ 1 robert staff 76725 Jun 17 10:11 excalibur-
logger-1.1.jar
-rw-r--r--@ 1 robert staff 44462 Jun 17 10:11 excalibur-
pool-1.2.jar
drwxr-xr-x@ 16 robert staff 544 Jun 17 10:16 ext
-rw-r--r--@ 1 robert staff 16030 Sep 13 10:37 geronimo-j2ee-
management_1.0_spec-1.0.jar
-rw-r--r--@ 1 robert staff 71952 Jun 17 10:11
htmllexer-2.0-20060923.jar
-rw-r--r--@ 1 robert staff 138838 Jun 17 10:11
htmlparser-2.0-20060923.jar
-rw-r--r--@ 1 robert staff 142391 Jun 17 10:11 jCharts-0.7.5.jar
-rw-r--r--@ 1 robert staff 65261 Jun 17 10:11 jakarta-oro-2.0.8.jar
-rw-r--r--@ 1 robert staff 153115 Jun 17 10:11 jdom-1.1.jar
-rw-r--r--@ 1 robert staff 116243 Jun 17 10:16 jorphan.jar
-rw-r--r--@ 1 robert staff 708951 Jun 17 10:11 js_rhino1_6R5.jar
drwxr-xr-x@ 3 robert staff 102 Sep 10 00:20 junit
-rw-r--r--@ 1 robert staff 120640 Jun 17 10:11 junit3.8.2.jar
-rw-r--r--@ 1 robert staff 86165 Jun 17 10:11 logkit-1.2.jar
-rw-r--r--@ 1 robert staff 278286 Jun 17 10:11 serializer-2_9_1.jar
-rw-r--r--@ 1 robert staff 232498 Jun 17 10:11 soap.jar
-rw-r--r--@ 1 robert staff 3176148 Jun 17 10:11 xalan_2_7_1.jar
-rw-r--r--@ 1 robert staff 1229289 Jun 17 10:11 xercesImpl-2_9_1.jar
-rw-r--r--@ 1 robert staff 194354 Jun 17 10:11 xml-apis-2_9_1.jar
-rw-r--r--@ 1 robert staff 517073 Jun 17 10:11 xmlgraphics-
commons-1.3.1.jar
-rw-r--r--@ 1 robert staff 24956 Jun 17 10:11 xpp3_min-1.1.4c.jar
-rw-r--r--@ 1 robert staff 431406 Jun 17 10:11 xstream-1.3.1.jar
audrey:lib robert$ jar tf activemq-core-5.2.0.jar |grep jndi
org/apache/activemq/jndi/
org/apache/activemq/jndi/ActiveMQInitialContextFactory$1.class
org/apache/activemq/jndi/ActiveMQInitialContextFactory$2.class
org/apache/activemq/jndi/ActiveMQInitialContextFactory.class
org/apache/activemq/jndi/ActiveMQWASInitialContextFactory.class
org/apache/activemq/jndi/JNDIBaseStorable.class
org/apache/activemq/jndi/JNDIReferenceFactory.class
org/apache/activemq/jndi/JNDIStorableInterface.class
org/apache/activemq/jndi/LazyCreateContext.class
org/apache/activemq/jndi/NameParserImpl.class
org/apache/activemq/jndi/ReadOnlyContext$1.class
org/apache/activemq/jndi/ReadOnlyContext$ListBindingEnumeration.class
org/apache/activemq/jndi/ReadOnlyContext$ListEnumeration.class
org/apache/activemq/jndi/ReadOnlyContext$LocalNamingEnumeration.class
org/apache/activemq/jndi/ReadOnlyContext.class
Isn't JMeter suppose to find these classes?
I would prefer that Jmeter log it's classpath