I think the JMS warnings is there because you have not installed the
activation.jar and mail jar files.
You can find them at
http://java.sun.com/products/javamail/downloads/index.html
http://java.sun.com/products/javabeans/jaf/downloads/index.html
They should be placed in the lib directory.
It is because of licensing issues these are not included in the JMeter
distributables.
Ronan Klyne wrote:
Hi all,
I've got a problem that only shows up in non-gui mode, and I can't make
any sense of it.
There is an exception printed in the command window, and four warnings
in the log - all included below. It's the JMS warnings that really
bother me, but I don't know how to sort them out....
Your help would be help greatly appreciated....
At the command prompt:
C:\jakarta-jmeter-2.3RC4>bin\jmeter -n -t projects\BC\BC.jmx -l c:\jm.log
Created the tree successfully
Starting the test @ Mon Sep 10 14:23:32 BST 2007 (1189430612015)
Exception in thread "Thread-2" java.lang.NullPointerException
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:973)
at
org.apache.jorphan.collections.HashTree.traverse(HashTree.java:956)
at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:306)
at java.lang.Thread.run(Unknown Source)
In the log file:
2007/09/10 14:23:03 WARN - jmeter.save.SaveService: Could not set up
alias MailerModel java.lang.NoClassDefFoundError: javax/mail/Message
2007/09/10 14:23:03 WARN - jmeter.save.SaveService: Could not set up
alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/JMSException
2007/09/10 14:23:03 WARN - jmeter.save.SaveService: Could not set up
alias SubscriberSampler java.lang.NoClassDefFoundError:
javax/jms/MessageListener
2007/09/10 14:23:03 WARN - jmeter.save.SaveService: Could not set up
alias MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException
Ronan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]