You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2010/04/05 22:10:16 UTC

Re: Problem with Connection Factory when using JMeter to test ActiveMQ JMS

On 05/04/2010, Robert Schultheis <rs...@secondmarket.com> wrote:
> Hello,
>
>
>
>  I am attempting to get a simple proof-of-concept going using the JMS
>  Publisher sampler (the same issue is happening for all JMS Sampler types).
>  JMeter is failing to find the class for the connection factory (so it
>  claims..)
>
>
>
>  I am running the ActiveMQ broker locally, using all defaults.  I have the
>  simple ActiveMQ publisher / consumer example running just fine, so now I
>  am basically just attempting to replace the "publisher" with JMeter.
>

Have you read:

http://activemq.apache.org/jndi-support.html#JNDISupport-ActiveMQJNDITutorial

This says:

"This means JMS clients need to use properties files to create a jndi
IntialContextFactory."

However, the sample code does not use a properties file.

That may solve your problem.

>
>  This is my sampler:
>
>  <PublisherSampler guiclass="JMSPublisherGui" testclass="PublisherSampler"
>  testname="JMS Publisher" enabled="true">
>
>           <stringProp name="jms.jndi_properties">false</stringProp>
>
>           <stringProp
>  name="jms.initial_context_factory">org.apache.activemq.jndi.ActiveMQInitia
>  lContextFactory</stringProp>
>
>           <stringProp
>  name="jms.provider_url">tcp://localhost:61616</stringProp>
>
>           <stringProp
>  name="jms.connection_factory">org.apache.activemq.ActiveMQConnectionFactor
>  y</stringProp>
>
>           <stringProp name="jms.topic">TEST.FOO</stringProp>
>
>           <stringProp name="jms.security_principle"></stringProp>
>
>           <stringProp name="jms.security_credentials"></stringProp>
>
>           <stringProp name="jms.text_message">123456789</stringProp>
>
>           <stringProp name="jms.input_file"></stringProp>
>
>           <stringProp name="jms.random_path"></stringProp>
>
>           <stringProp name="jms.config_choice">jms_use_text</stringProp>
>
>           <stringProp
>  name="jms.config_msg_type">jms_text_message</stringProp>
>
>           <stringProp name="jms.iterations"></stringProp>
>
>           <boolProp name="jms.authenticate">false</boolProp>
>
>         </PublisherSampler>
>
>
>
>
>
>  I have added activemq-all-5.3.0.jar into JMeter's \lib\ext directory, I
>  know it is working because it does correctly instantiate the
>  InititialContextFactory.   I do not believe I am missing any .jar files, I
>  have tried to get around this by copying all the activeMQ .jars into
>  lib/ext,  but the result is always the same.
>

Should really be put into the lib/ directory, not lib/ext, but that
should not affect the outcome.

>
>  This is the error in JMeter.log:
>
>
>
>  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: Listeners
>  will be started after enabling running version
>
>  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: To revert
>  to the earlier behaviour, define jmeterengine.startlistenerslater=false
>
>  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: Running
>  the test!
>
>  2010/04/05 14:38:22 INFO  - jmeter.gui.util.JMeterMenuBar:
>  setRunning(true,*local*)
>
>  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
>  threads for group Thread Group. Ramp up = 1.
>
>  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: Thread
>  will continue on error
>
>  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread:
>  jmeterthread.startearlier=true (see jmeter.properties)
>
>  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread: Running
>  PostProcessors in forward order
>
>  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: All
>  threads have been started
>
>  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread: Thread started:
>  Thread Group 1-1
>
>  2010/04/05 14:38:23 INFO  -
>  jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial
>  context factory
>
>  2010/04/05 14:38:23 ERROR - jmeter.protocol.jms.client.ConnectionFactory:
>  Unable to find connection factory
>  org.apache.activemq.ActiveMQConnectionFactory, will retry. Error:
>  javax.naming.NameNotFoundException:
>  org.apache.activemq.ActiveMQConnectionFactory
>
>  2010/04/05 14:38:23 ERROR - jmeter.protocol.jms.client.ConnectionFactory:
>  Unable to find connection factory
>  org.apache.activemq.ActiveMQConnectionFactory, giving up. Error:
>  javax.naming.NameNotFoundException:
>  org.apache.activemq.ActiveMQConnectionFactory
>
>
>
>
>
>  Any help is greatly appreciated!
>
>
>
>  Thanks,
>
>
>  ROBERT SCHULTHEIS
>
>
>
>  ---------------------------------------------------------------------------
>
>  This message is intended only for the addressee. Please notify sender by
>  e-mail if you are not the intended recipient. If you are not the intended
>  recipient, you may not copy, disclose, or distribute this message or its
>  contents to any other person and any such actions may be unlawful.
>  SecondMarket, Inc. (Member FINRA/SIPC/MSRB) ("SecondMarket") does not
>  accept time sensitive, action-oriented messages or transaction orders,
>  including orders to purchase or sell securities, via e-mail. SecondMarket
>  reserves the right to monitor and review the content of all messages sent
>  to or from this e-mail address. Messages sent to or from this e-mail
>  address may be stored on the SecondMarket e-mail system and archived in
>  accordance with FINRA and SEC regulations.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem with Connection Factory when using JMeter to test ActiveMQ JMS

Posted by sebb <se...@gmail.com>.
On 06/04/2010, Robert Schultheis <rs...@secondmarket.com> wrote:
> Thanks for your responses Sebb,
>
>  Your advice has gotten us closer... after putting "ConnectionFactory" in
>  for the Connection Factory setting, we are getting a new error.  We have
>  also tried "TopicConnectionFactory", but we get the same error.  It does
>  appear that a connection is made to the MQ broker, it just is failing to
>  connect to a topic.
>
>  So now our sampler is this:
>
>
>
>  <PublisherSampler guiclass="JMSPublisherGui" testclass="PublisherSampler"
>  testname="JMS Publisher" enabled="true">
>           <stringProp name="jms.jndi_properties">false</stringProp>
>           <stringProp
>  name="jms.initial_context_factory">org.apache.activemq.jndi.ActiveMQInitia
>  lContextFactory</stringProp>
>           <stringProp
>
> name="jms.provider_url">vm://localhost:61616</stringProp>
>           <stringProp
>  name="jms.connection_factory">ConnectionFactory</stringProp>
>
>           <stringProp name="jms.topic">TEST.FOO</stringProp>
>           <stringProp name="jms.security_principle"></stringProp>
>           <stringProp name="jms.security_credentials"></stringProp>
>           <stringProp name="jms.text_message">123456789</stringProp>
>           <stringProp name="jms.input_file"></stringProp>
>           <stringProp name="jms.random_path"></stringProp>
>           <stringProp name="jms.config_choice">jms_use_text</stringProp>
>           <stringProp
>  name="jms.config_msg_type">jms_text_message</stringProp>
>           <stringProp name="jms.iterations"></stringProp>
>           <boolProp name="jms.authenticate">false</boolProp>
>         </PublisherSampler>
>
>
>
> The error message we are stuck on is this:
>  2010/04/06 13:51:38 ERROR -
>  jmeter.protocol.jms.client.InitialContextFactory: JNDI error: TEST.FOO

The message text is not all that obvious, but it most likely means
that the Topic "TEST.FOO" could not be found - are you sure that topic
exists?

>  The full log looks like this:
>
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
>
> threads for group Thread Group. Ramp up = 1.
>
> 2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Thread
>  will continue on error
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: All
>  threads have been started
>  2010/04/06 13:51:38 INFO  - jmeter.threads.JMeterThread: Thread started:
>  Thread Group 1-1
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
>  Using Persistence Adapter: AMQPersistenceAdapter(activemq-data\localhost)
>  2010/04/06 13:51:38 INFO  -
>  org.apache.activemq.store.amq.AMQPersistenceAdapter: AMQStore starting
>  using directory: activemq-data\localhost
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.kaha.impl.KahaStore: Kaha
>  Store using data directory activemq-data\localhost\kr-store\state
>  2010/04/06 13:51:38 INFO  -
>  org.apache.activemq.store.amq.AMQPersistenceAdapter: Active data files: []
>
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
>  ActiveMQ 5.3.0 JMS Message Broker (localhost) is starting
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService: For
>  help or more information please see: http://activemq.apache.org/
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.kaha.impl.KahaStore: Kaha
>  Store using data directory activemq-data\localhost\kr-store\data
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
>  ActiveMQ JMS Message Broker (localhost,
>  ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) started
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.TransportConnector:
>  Connector vm://localhost Started
>  2010/04/06 13:51:38 ERROR -
>  jmeter.protocol.jms.client.InitialContextFactory: JNDI error: TEST.FOO
>  2010/04/06 13:51:38 INFO  -
>  org.apache.activemq.broker.jmx.ManagementContext: JMX consoles can connect
>  to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
>  2010/04/06 13:51:38 INFO  - jmeter.protocol.jms.client.Publisher: created
>  the topic connection successfully
>  2010/04/06 13:51:38 INFO  - jmeter.threads.JMeterThread: Thread finished:
>  Thread Group 1-1
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Ending
>  thread Thread Group 1-1
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
>  test
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
>  test listeners of end of test
>  2010/04/06 13:51:38 INFO  - jmeter.protocol.jms.client.Publisher:
>  Publisher closed
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.TransportConnector:
>  Connector vm://localhost Stopped
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
>  ActiveMQ Message Broker (localhost,
>  ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) is shutting down
>  2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
>  ActiveMQ JMS Message Broker (localhost,
>  ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) stopped
>  2010/04/06 13:51:38 INFO  - jmeter.gui.util.JMeterMenuBar:
>  setRunning(false,*local*)
>  2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Test has
>  ended
>
>
>
>  We have also experimented with using jndi.properties files with contents
>  like this:
>
>  java.naming.factory.initial =
>  org.apache.activemq.jndi.ActiveMQInitialContextFactory
>  java.naming.provider.url = vm://localhost:61616
>  topic.MyTopic = TEST.FOO
>  connectionFactoryNames = topicConnectionFactory
>
>
>  When we do that, we get stuck on this error:
>
>  2010/04/06 14:26:36 ERROR -
>  jmeter.protocol.jms.client.InitialContextFactory: JNDI error: Need to
>  specify class name in environment or system property, or as an applet
>  parameter, or in an application resource file:
>  java.naming.factory.initial
>
>
>
>  Lastly, my colleague found this bug report:
>  http://osdir.com/ml/jmeter-user.jakarta.apache.org/2010-02/msg00068.html
>
>  So we tried a building JMeter fresh from source... the same set of errors
>  happens in the same way.
>
>  Thanks for any advice!
>
>  ~Rob Schultheis
>
>
>
>
>  ---------------------------------------------------------------------------
>
>  This message is intended only for the addressee. Please notify sender by
>  e-mail if you are not the intended recipient. If you are not the intended
>  recipient, you may not copy, disclose, or distribute this message or its
>  contents to any other person and any such actions may be unlawful.
>  SecondMarket, Inc. (Member FINRA/SIPC/MSRB) ("SecondMarket") does not
>  accept time sensitive, action-oriented messages or transaction orders,
>  including orders to purchase or sell securities, via e-mail. SecondMarket
>  reserves the right to monitor and review the content of all messages sent
>  to or from this e-mail address. Messages sent to or from this e-mail
>  address may be stored on the SecondMarket e-mail system and archived in
>  accordance with FINRA and SEC regulations.
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Problem with Connection Factory when using JMeter to test ActiveMQ JMS

Posted by Robert Schultheis <rs...@secondmarket.com>.
Thanks for your responses Sebb,

Your advice has gotten us closer... after putting "ConnectionFactory" in
for the Connection Factory setting, we are getting a new error.  We have
also tried "TopicConnectionFactory", but we get the same error.  It does
appear that a connection is made to the MQ broker, it just is failing to
connect to a topic.

So now our sampler is this:


<PublisherSampler guiclass="JMSPublisherGui" testclass="PublisherSampler"
testname="JMS Publisher" enabled="true">
          <stringProp name="jms.jndi_properties">false</stringProp>
          <stringProp
name="jms.initial_context_factory">org.apache.activemq.jndi.ActiveMQInitia
lContextFactory</stringProp>
          <stringProp
name="jms.provider_url">vm://localhost:61616</stringProp>
          <stringProp
name="jms.connection_factory">ConnectionFactory</stringProp>
          <stringProp name="jms.topic">TEST.FOO</stringProp>
          <stringProp name="jms.security_principle"></stringProp>
          <stringProp name="jms.security_credentials"></stringProp>
          <stringProp name="jms.text_message">123456789</stringProp>
          <stringProp name="jms.input_file"></stringProp>
          <stringProp name="jms.random_path"></stringProp>
          <stringProp name="jms.config_choice">jms_use_text</stringProp>
          <stringProp
name="jms.config_msg_type">jms_text_message</stringProp>
          <stringProp name="jms.iterations"></stringProp>
          <boolProp name="jms.authenticate">false</boolProp>
        </PublisherSampler>


The error message we are stuck on is this:
2010/04/06 13:51:38 ERROR -
jmeter.protocol.jms.client.InitialContextFactory: JNDI error: TEST.FOO

The full log looks like this:

2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group Thread Group. Ramp up = 1. 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Thread
will continue on error 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: All
threads have been started 
2010/04/06 13:51:38 INFO  - jmeter.threads.JMeterThread: Thread started:
Thread Group 1-1 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
Using Persistence Adapter: AMQPersistenceAdapter(activemq-data\localhost) 
2010/04/06 13:51:38 INFO  -
org.apache.activemq.store.amq.AMQPersistenceAdapter: AMQStore starting
using directory: activemq-data\localhost 
2010/04/06 13:51:38 INFO  - org.apache.activemq.kaha.impl.KahaStore: Kaha
Store using data directory activemq-data\localhost\kr-store\state 
2010/04/06 13:51:38 INFO  -
org.apache.activemq.store.amq.AMQPersistenceAdapter: Active data files: []

2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
ActiveMQ 5.3.0 JMS Message Broker (localhost) is starting 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService: For
help or more information please see: http://activemq.apache.org/ 
2010/04/06 13:51:38 INFO  - org.apache.activemq.kaha.impl.KahaStore: Kaha
Store using data directory activemq-data\localhost\kr-store\data 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
ActiveMQ JMS Message Broker (localhost,
ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) started 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.TransportConnector:
Connector vm://localhost Started 
2010/04/06 13:51:38 ERROR -
jmeter.protocol.jms.client.InitialContextFactory: JNDI error: TEST.FOO 
2010/04/06 13:51:38 INFO  -
org.apache.activemq.broker.jmx.ManagementContext: JMX consoles can connect
to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi 
2010/04/06 13:51:38 INFO  - jmeter.protocol.jms.client.Publisher: created
the topic connection successfully 
2010/04/06 13:51:38 INFO  - jmeter.threads.JMeterThread: Thread finished:
Thread Group 1-1 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread Thread Group 1-1 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test 
2010/04/06 13:51:38 INFO  - jmeter.protocol.jms.client.Publisher:
Publisher closed 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.TransportConnector:
Connector vm://localhost Stopped 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
ActiveMQ Message Broker (localhost,
ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) is shutting down 
2010/04/06 13:51:38 INFO  - org.apache.activemq.broker.BrokerService:
ActiveMQ JMS Message Broker (localhost,
ID:SM-NYC-RSCHULTHEIS-1908-1270575660240-0:3) stopped 
2010/04/06 13:51:38 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*) 
2010/04/06 13:51:38 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended



We have also experimented with using jndi.properties files with contents
like this:

java.naming.factory.initial =
org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url = vm://localhost:61616
topic.MyTopic = TEST.FOO
connectionFactoryNames = topicConnectionFactory


When we do that, we get stuck on this error:

2010/04/06 14:26:36 ERROR -
jmeter.protocol.jms.client.InitialContextFactory: JNDI error: Need to
specify class name in environment or system property, or as an applet
parameter, or in an application resource file:
java.naming.factory.initial



Lastly, my colleague found this bug report:
http://osdir.com/ml/jmeter-user.jakarta.apache.org/2010-02/msg00068.html

So we tried a building JMeter fresh from source... the same set of errors
happens in the same way.

Thanks for any advice!

~Rob Schultheis



---------------------------------------------------------------------------

This message is intended only for the addressee. Please notify sender by
e-mail if you are not the intended recipient. If you are not the intended
recipient, you may not copy, disclose, or distribute this message or its
contents to any other person and any such actions may be unlawful.
SecondMarket, Inc. (Member FINRA/SIPC/MSRB) ("SecondMarket") does not
accept time sensitive, action-oriented messages or transaction orders,
including orders to purchase or sell securities, via e-mail. SecondMarket
reserves the right to monitor and review the content of all messages sent
to or from this e-mail address. Messages sent to or from this e-mail
address may be stored on the SecondMarket e-mail system and archived in
accordance with FINRA and SEC regulations.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem with Connection Factory when using JMeter to test ActiveMQ JMS

Posted by sebb <se...@gmail.com>.
On 05/04/2010, sebb <se...@gmail.com> wrote:
> On 05/04/2010, Robert Schultheis <rs...@secondmarket.com> wrote:
>  > Hello,
>  >
>  >
>  >
>  >  I am attempting to get a simple proof-of-concept going using the JMS
>  >  Publisher sampler (the same issue is happening for all JMS Sampler types).
>  >  JMeter is failing to find the class for the connection factory (so it
>  >  claims..)
>  >
>  >
>  >
>  >  I am running the ActiveMQ broker locally, using all defaults.  I have the
>  >  simple ActiveMQ publisher / consumer example running just fine, so now I
>  >  am basically just attempting to replace the "publisher" with JMeter.
>  >
>
>
> Have you read:
>
>  http://activemq.apache.org/jndi-support.html#JNDISupport-ActiveMQJNDITutorial
>
>  This says:
>
>  "This means JMS clients need to use properties files to create a jndi
>  IntialContextFactory."
>
>  However, the sample code does not use a properties file.
>
>  That may solve your problem.

Not sure that is relevant, as the JMeter code creates the initial
context properties from the other parameters if it is not provided.

However, a bit of debugging shows that the name "ConnectionFactory"
seems to return a suitable object, so try that.

>
>  >
>  >  This is my sampler:
>  >
>  >  <PublisherSampler guiclass="JMSPublisherGui" testclass="PublisherSampler"
>  >  testname="JMS Publisher" enabled="true">
>  >
>  >           <stringProp name="jms.jndi_properties">false</stringProp>
>  >
>  >           <stringProp
>  >  name="jms.initial_context_factory">org.apache.activemq.jndi.ActiveMQInitia
>  >  lContextFactory</stringProp>
>  >
>  >           <stringProp
>  >  name="jms.provider_url">tcp://localhost:61616</stringProp>
>  >
>  >           <stringProp
>  >  name="jms.connection_factory">org.apache.activemq.ActiveMQConnectionFactor
>  >  y</stringProp>
>  >
>  >           <stringProp name="jms.topic">TEST.FOO</stringProp>
>  >
>  >           <stringProp name="jms.security_principle"></stringProp>
>  >
>  >           <stringProp name="jms.security_credentials"></stringProp>
>  >
>  >           <stringProp name="jms.text_message">123456789</stringProp>
>  >
>  >           <stringProp name="jms.input_file"></stringProp>
>  >
>  >           <stringProp name="jms.random_path"></stringProp>
>  >
>  >           <stringProp name="jms.config_choice">jms_use_text</stringProp>
>  >
>  >           <stringProp
>  >  name="jms.config_msg_type">jms_text_message</stringProp>
>  >
>  >           <stringProp name="jms.iterations"></stringProp>
>  >
>  >           <boolProp name="jms.authenticate">false</boolProp>
>  >
>  >         </PublisherSampler>
>  >
>  >
>  >
>  >
>  >
>  >  I have added activemq-all-5.3.0.jar into JMeter's \lib\ext directory, I
>  >  know it is working because it does correctly instantiate the
>  >  InititialContextFactory.   I do not believe I am missing any .jar files, I
>  >  have tried to get around this by copying all the activeMQ .jars into
>  >  lib/ext,  but the result is always the same.
>  >
>
>
> Should really be put into the lib/ directory, not lib/ext, but that
>  should not affect the outcome.
>
>
>  >
>  >  This is the error in JMeter.log:
>  >
>  >
>  >
>  >  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: Listeners
>  >  will be started after enabling running version
>  >
>  >  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: To revert
>  >  to the earlier behaviour, define jmeterengine.startlistenerslater=false
>  >
>  >  2010/04/05 14:38:22 INFO  - jmeter.engine.StandardJMeterEngine: Running
>  >  the test!
>  >
>  >  2010/04/05 14:38:22 INFO  - jmeter.gui.util.JMeterMenuBar:
>  >  setRunning(true,*local*)
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
>  >  threads for group Thread Group. Ramp up = 1.
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: Thread
>  >  will continue on error
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread:
>  >  jmeterthread.startearlier=true (see jmeter.properties)
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread: Running
>  >  PostProcessors in forward order
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.engine.StandardJMeterEngine: All
>  >  threads have been started
>  >
>  >  2010/04/05 14:38:23 INFO  - jmeter.threads.JMeterThread: Thread started:
>  >  Thread Group 1-1
>  >
>  >  2010/04/05 14:38:23 INFO  -
>  >  jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial
>  >  context factory
>  >
>  >  2010/04/05 14:38:23 ERROR - jmeter.protocol.jms.client.ConnectionFactory:
>  >  Unable to find connection factory
>  >  org.apache.activemq.ActiveMQConnectionFactory, will retry. Error:
>  >  javax.naming.NameNotFoundException:
>  >  org.apache.activemq.ActiveMQConnectionFactory
>  >
>  >  2010/04/05 14:38:23 ERROR - jmeter.protocol.jms.client.ConnectionFactory:
>  >  Unable to find connection factory
>  >  org.apache.activemq.ActiveMQConnectionFactory, giving up. Error:
>  >  javax.naming.NameNotFoundException:
>  >  org.apache.activemq.ActiveMQConnectionFactory
>  >
>  >
>  >
>  >
>  >
>  >  Any help is greatly appreciated!
>  >
>  >
>  >
>  >  Thanks,
>  >
>  >
>  >  ROBERT SCHULTHEIS
>  >
>  >
>  >
>  >  ---------------------------------------------------------------------------
>  >
>  >  This message is intended only for the addressee. Please notify sender by
>  >  e-mail if you are not the intended recipient. If you are not the intended
>  >  recipient, you may not copy, disclose, or distribute this message or its
>  >  contents to any other person and any such actions may be unlawful.
>  >  SecondMarket, Inc. (Member FINRA/SIPC/MSRB) ("SecondMarket") does not
>  >  accept time sensitive, action-oriented messages or transaction orders,
>  >  including orders to purchase or sell securities, via e-mail. SecondMarket
>  >  reserves the right to monitor and review the content of all messages sent
>  >  to or from this e-mail address. Messages sent to or from this e-mail
>  >  address may be stored on the SecondMarket e-mail system and archived in
>  >  accordance with FINRA and SEC regulations.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org