0 Replies Latest reply on Jul 8, 2009 9:56 AM by Venkata Reddy

    Regarding ESB Connection to From the Jmeter here server(JBOS

    Venkata Reddy Newbie

      Hi I am getting the following error when i run test plan .The test plan having sampler jms point to point.

      I am not able to see the queue or topic creation in the ESB server.

      when i run the jmeter test plan the jmeter showing following message in the log file
      can anybody help on the below issue ASAP.


      2009/07/08 18:45:38 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-6
      2009/07/08 18:45:38 INFO - jmeter.engine.StandardJMeterEngine: Ending thread Thread Group 1-6
      2009/07/08 18:45:39 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-7
      2009/07/08 18:45:39 WARN - jmeter.protocol.jms.sampler.JMSSampler: Cannot instantiate class: jmeter.protocol.jms.client.InitialContextFactory javax.naming.NoInitialContextException: Cannot instantiate class: jmeter.protocol.jms.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: jmeter.protocol.jms.client.InitialContextFactory]
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.(InitialContext.java:197)
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.getInitialContext(JMSSampler.java:399)
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:294)
      at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:504)
      at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:984)
      at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:967)
      at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:479)
      at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:468)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: jmeter.protocol.jms.client.InitialContextFactory
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      ... 12 more

      2009/07/08 18:45:39 WARN - jmeter.protocol.jms.sampler.JMSSampler: Session may not be null while creating message java.lang.IllegalStateException: Session may not be null while creating message
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:173)
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:136)
      at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
      at java.lang.Thread.run(Thread.java:619)

      2009/07/08 18:45:39 WARN - jmeter.protocol.jms.sampler.JMSSampler: Session may not be null while creating message java.lang.IllegalStateException: Session may not be null while creating message
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:173)
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:136)
      at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
      at java.lang.Thread.run(Thread.java:619)

      2009/07/08 18:45:39 WARN - jmeter.protocol.jms.sampler.JMSSampler: Session may not be null while creating message java.lang.IllegalStateException: Session may not be null while creating message
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:173)
      at org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:136)
      at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
      at java.lang.Thread.run(Thread.java:619)