jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rutherford, Matthew [CIB-IT]" <>
Subject NPE on org.apache.jmeter.protocol.jms.client.Publisher.initConnection(
Date Wed, 02 Aug 2006 11:05:27 GMT
I have avoided the ldap route for setting jndi props for now and am supplying actual jndi
values to my (TibcoEMS) jms publisher sampler.  I supply the following settings:
InitialContextFactory:	com.tibco.tibjms.naming.TibjmsInitialContextFactory
ProviderURL:		tcp://hostname:port
ConnectionFactory:	jndiNameOfFactory
Topic:			jndiNameOfTopic

Authentication is used, and cfg is in txt format from a file.

When I run the test, I get the following:

2006/08/01 18:41:09 INFO  - jmeter.protocol.jms.client.InitialContextFactory: created the
JNDI initial context factory 
2006/08/01 18:41:09 ERROR - jmeter.threads.JMeterThread:  java.lang.NullPointerException
	at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(
	at org.apache.jmeter.protocol.jms.client.Publisher.<init>(
	at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(
	at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(
	at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(
	at Source)

from what I can tell in the jmeter src the call to ctx.lookup(fac), where fac is the jndiNameOfFactory
string, is not returning an instanceof TopicConnectionFactory...

Do I need to supply more parameters/different ones?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message