You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Noah Campbell <nc...@perpetual.com> on 2007/08/16 22:45:36 UTC
JMS doesn't seem to be working with jndi.properties
I'm using jndi.properties for the JMS Publisher, but I get an NPE. It
seems as if the InitialContext is not being initialized with the
jndi.properties file. I tried placing the jndi.properties in the lib
directory and the \bin directory. Any ideas?
2007/08/16 13:30:58 INFO - jmeter.util.JMeterUtils: Setting Locale to
en_US
2007/08/16 13:30:59 INFO - jmeter.JMeter: Loading user properties from:
user.properties
2007/08/16 13:30:59 INFO - jmeter.JMeter: Loading system properties
from: system.properties
2007/08/16 13:30:59 INFO - jmeter.JMeter: LogLevel:
org.apache.jmeter.protocol.jms.client.Publisher=DEBUG
2007/08/16 13:30:59 INFO - jmeter.JMeter: Copyright (c) 1998-2007 The
Apache Software Foundation
2007/08/16 13:30:59 INFO - jmeter.JMeter: Version 2.3RC3
2007/08/16 13:30:59 INFO - jmeter.JMeter: java.version=1.5.0_12
2007/08/16 13:30:59 INFO - jmeter.JMeter: os.name=Windows XP
2007/08/16 13:30:59 INFO - jmeter.JMeter: os.arch=x86
2007/08/16 13:30:59 INFO - jmeter.JMeter: os.version=5.1
2007/08/16 13:30:59 INFO - jmeter.JMeter: Default Locale=English
(United States)
2007/08/16 13:30:59 INFO - jmeter.JMeter: JMeter Locale=English
(United States)
2007/08/16 13:30:59 INFO - jmeter.JMeter:
JMeterHome=C:\Java\jakarta-jmeter-2.3RC3
2007/08/16 13:30:59 INFO - jmeter.JMeter: user.dir
=C:\Java\jakarta-jmeter-2.3RC3\bin
2007/08/16 13:30:59 INFO - jmeter.JMeter: PWD
=C:\Java\jakarta-jmeter-2.3RC3\bin
2007/08/16 13:30:59 INFO - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className
property for htmlParser, using default
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2007/08/16 13:31:00 INFO -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2007/08/16 13:31:01 INFO - jmeter.protocol.http.sampler.HTTPSampler:
Maximum connection retries = 10
2007/08/16 13:31:01 INFO - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times
2007/08/16 13:31:01 INFO - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2007/08/16 13:31:08 INFO - jmeter.gui.action.Load: Loading file:
C:\Documents and Settings\ncampbell\Desktop\Logging Satellite
Performance Testing 001.jmx
2007/08/16 13:31:08 INFO - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2
2007/08/16 13:31:08 INFO - jmeter.save.SaveService: Using SaveService
properties file encoding UTF-8
2007/08/16 13:31:08 INFO - jmeter.save.SaveService: Using SaveService
properties file version 545311
2007/08/16 13:31:08 INFO - jmeter.protocol.http.sampler.HTTPSampler2:
Local host = ncampbell-pc
2007/08/16 13:31:08 INFO - jmeter.save.SaveService: Using SaveService
properties version 1.8
2007/08/16 13:31:08 INFO - jmeter.save.SaveService: All converter
versions present and correct
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine:
Listeners will be started after enabling running version
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: To
revert to the earlier behaviour, define
jmeterengine.startlistenerslater=false
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Running
the test!
2007/08/16 13:31:11 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local)
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Starting
1 threads for group Publisher Thread Group. Ramp up = 1.
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Continue
on error
2007/08/16 13:31:11 WARN - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties)
2007/08/16 13:31:11 INFO - jmeter.threads.JMeterThread: Running
PostProcessors in forward order
2007/08/16 13:31:11 INFO - jmeter.threads.JMeterThread: Thread
Publisher Thread Group 1-1 started
2007/08/16 13:31:11 ERROR - jmeter.threads.JMeterThread:
java.lang.NullPointerException
at
org.apache.jmeter.protocol.jms.client.ConnectionFactory.getTopicConnecti
onFactory(ConnectionFactory.java:101)
at
org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher
.java:85)
at
org.apache.jmeter.protocol.jms.client.Publisher.<init>(Publisher.java:64
)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi
sherSampler.java:111)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher
Sampler.java:135)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher
Sampler.java:122)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
at java.lang.Thread.run(Unknown Source)
2007/08/16 13:31:11 INFO - jmeter.threads.JMeterThread: Thread
Publisher Thread Group 1-1 is done
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Ending
thread Publisher Thread Group 1-1
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Stopping
test
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test
2007/08/16 13:31:11 INFO -
jmeter.protocol.jms.sampler.PublisherSampler: PublisherSampler.testEnded
called
2007/08/16 13:31:11 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local)
2007/08/16 13:31:11 INFO - jmeter.engine.StandardJMeterEngine: Test has
ended