You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Storm_Rage <li...@wipro.com> on 2009/11/30 05:27:10 UTC

Re: jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue javax.naming.NameNotFoundException: queue/ContactQueue

Yes that one I noted and thats why I said that the JNDI names given are
correct. But I assume there is some trouble with the Provider URL. Do you
think so ?
If so, what changes need to be made to rectify that... ?

Thanks in advance.

~Lidwin~






sebb-2-2 wrote:
> 
> On 27/11/2009, Storm_Rage <li...@wipro.com> wrote:
>>
>>  Hi Friends,
>>
>>  I have been trying to check the performance of a JMS point-to-point app
>> in
>>  JMETER.
>>  The configuration I have done is given below and Error that was shown in
>>  JMETER log file is also given below.
>> 
>> ---------------------------------------------------------------------------------------------
>>
>>  http://old.nabble.com/file/p26541994/post.jpg
>>
>>
>>
>> 
>> --------------------------------------------------------------------------------------------
>>
>>   - jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue
>>  javax.naming.NameNotFoundException: queue/ContactQueue
>>         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
>>         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
>>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
>>         at
>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> 
>> org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
>>         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
>>         at
>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>>         at
>> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>>         at
>> 
>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>>         at java.lang.Thread.run(Thread.java:595)
>>         at
>> 
>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>>         at
>> 
>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>>         at
>> org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown
>>  Source)
>>         at
>> 
>> org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
>>         at
>> 
>> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
>>         at $Proxy0.lookup(Unknown Source)
>>         at
>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
>>         at
>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
>>         at javax.naming.InitialContext.lookup(InitialContext.java:392)
>>         at
>> 
>> org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:303)
>>         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.traverseInto(HashTree.java:985)
>>         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)
>>
>>
>> 
>> ---------------------------------------------------------------------------------------------------
>>  What would you suggest as a possible error. The JNDI names are given
>> correct
>>  to my knowledge.
>>  Is there a problem in the Provider URL.????
> 
> The error message clearly says that the name "queue/ContactQueue" has
> not been found.
> 
>>  That is the location where the JBOSS app server is running and the app
>> is
>>  deployed.
>>  Really getting frustrated with this now..
>>
>>  Please help me find a solution.
>>
>>  Thanks in advance.
>>
>>  ~Lidwin Lewis~
>>
>> --
>>  View this message in context:
>> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26541994.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26569456.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue javax.naming.NameNotFoundException: queue/ContactQueue

Posted by sebb <se...@gmail.com>.
On 02/12/2009, Storm_Rage <li...@wipro.com> wrote:
>
>
>  I am using JBOSS 5 as the app server and Jmeter 2.3.4  ; Is there any
>  compatibility issue on that ????
>
>  The JBOSS is running on a Solaris machine located at
>  IP : 10.200.191.225
>  port :8080
>
>  I have given the Provider url as
>
>  jnp://10.200.191.225:1099 based on what I have seen in the jmx-console. I am
>  giving the screen shot of that below
>
>
>  http://old.nabble.com/file/p26607760/1.jpeg
>
>  Also the JNDI names of Contact and Receipt queues are also given from the
>  data I got from the jmx-console. I am pasting the one corresponding to
>  ContactQueue
>
>
>  http://old.nabble.com/file/p26607760/2.jpeg
>
>  The connection Factory part is also included below
>
>  http://old.nabble.com/file/p26607760/3.jpeg
>
>
>  the value in that field is  [Since its not clearly visible]
>
>  <bindings> <binding>/ConnectionFactory</binding>
>  <binding>/XAConnectionFactory</binding>
>  <binding>java:/ConnectionFactory</binding>
>  <binding>java:/XAConnectionFactory</binding> </bindings>
>
>  Which one should i use. Is the connection factory shown there and the queue
>  connection factory same ??
>
>  All the properties I have used in the JMETER fields are obtained in the same
>  way looking into the jmx-console
>
>
>  The way I have filled is given once again -
>
>  http://old.nabble.com/file/p26607760/4.jpeg
>
>
>
>  Please give me your view of the possible error...

Something is wrong in the configuration of the JMS sampler.

BTW, the stack trace in your original e-mail says the queue name is
"queue/ContactQueue" whereas in this message you say it is called
"/queue/ContactQueue"

One or more of these is likely to be incorrect.

>
>  Thanks in advance....
>
>  ~Lidwin~
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  ----------------------------------------------------------------------------------------------------
>
>  sebb-2-2 wrote:
>  >
>  > On 30/11/2009, Storm_Rage <li...@wipro.com> wrote:
>  >>
>  >>  Yes that one I noted and thats why I said that the JNDI names given are
>  >>  correct.
>  >
>  > Are you sure that the error message is wrong?
>  >
>  >> But I assume there is some trouble with the Provider URL.
>  >
>  > Why?
>  >
>  >> Do you think so ?
>  >
>  > No.
>  >
>  >>  If so, what changes need to be made to rectify that... ?
>  >
>  > I think you need to find out why the name is not being found.
>  >
>  >>
>  >>  Thanks in advance.
>  >>
>  >>  ~Lidwin~
>  >>
>  >>
>  >>
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>
>  >> > On 27/11/2009, Storm_Rage <li...@wipro.com> wrote:
>  >>  >>
>  >>  >>  Hi Friends,
>  >>  >>
>  >>  >>  I have been trying to check the performance of a JMS point-to-point
>  >> app
>  >>  >> in
>  >>  >>  JMETER.
>  >>  >>  The configuration I have done is given below and Error that was
>  >> shown in
>  >>  >>  JMETER log file is also given below.
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------------------------------
>  >>  >>
>  >>  >>  http://old.nabble.com/file/p26541994/post.jpg
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>
>  >> --------------------------------------------------------------------------------------------
>  >>  >>
>  >>  >>   - jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue
>  >>  >>  javax.naming.NameNotFoundException: queue/ContactQueue
>  >>  >>         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
>  >>  >>         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
>  >>  >>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown
>  >> Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  >>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
>  >>  >>         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown
>  >> Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  >>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>  >>  >>         at
>  >>  >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>  >>  >>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>  >>  >>         at java.security.AccessController.doPrivileged(Native Method)
>  >>  >>         at
>  >> sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>  >>  >>         at
>  >>  >>
>  >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>  >>  >>         at java.lang.Thread.run(Thread.java:595)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>  >>  >>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>  >>  >>         at
>  >>  >> org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown
>  >>  >>  Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
>  >>  >>         at $Proxy0.lookup(Unknown Source)
>  >>  >>         at
>  >>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
>  >>  >>         at
>  >>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
>  >>  >>         at
>  >> javax.naming.InitialContext.lookup(InitialContext.java:392)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:303)
>  >>  >>         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.traverseInto(HashTree.java:985)
>  >>  >>         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)
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------------------------------------
>  >>  >>  What would you suggest as a possible error. The JNDI names are given
>  >>  >> correct
>  >>  >>  to my knowledge.
>  >>  >>  Is there a problem in the Provider URL.????
>  >>  >
>  >>  > The error message clearly says that the name "queue/ContactQueue" has
>  >>  > not been found.
>  >>  >
>  >>  >>  That is the location where the JBOSS app server is running and the
>  >> app
>  >>  >> is
>  >>  >>  deployed.
>  >>  >>  Really getting frustrated with this now..
>  >>  >>
>  >>  >>  Please help me find a solution.
>  >>  >>
>  >>  >>  Thanks in advance.
>  >>  >>
>  >>  >>  ~Lidwin Lewis~
>  >>  >>
>  >>  >> --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26541994.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------
>  >>  >>  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
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26569456.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  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
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26607760.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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: jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue javax.naming.NameNotFoundException: queue/ContactQueue

Posted by Storm_Rage <li...@wipro.com>.

I am using JBOSS 5 as the app server and Jmeter 2.3.4  ; Is there any
compatibility issue on that ????

The JBOSS is running on a Solaris machine located at 
IP : 10.200.191.225  
port :8080

I have given the Provider url as 

jnp://10.200.191.225:1099 based on what I have seen in the jmx-console. I am
giving the screen shot of that below


http://old.nabble.com/file/p26607760/1.jpeg 

Also the JNDI names of Contact and Receipt queues are also given from the
data I got from the jmx-console. I am pasting the one corresponding to
ContactQueue


http://old.nabble.com/file/p26607760/2.jpeg 

The connection Factory part is also included below

http://old.nabble.com/file/p26607760/3.jpeg 


the value in that field is  [Since its not clearly visible]

<bindings> <binding>/ConnectionFactory</binding>
<binding>/XAConnectionFactory</binding>
<binding>java:/ConnectionFactory</binding>
<binding>java:/XAConnectionFactory</binding> </bindings>

Which one should i use. Is the connection factory shown there and the queue
connection factory same ??

All the properties I have used in the JMETER fields are obtained in the same
way looking into the jmx-console


The way I have filled is given once again -

http://old.nabble.com/file/p26607760/4.jpeg  



Please give me your view of the possible error...

Thanks in advance....

~Lidwin~














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

sebb-2-2 wrote:
> 
> On 30/11/2009, Storm_Rage <li...@wipro.com> wrote:
>>
>>  Yes that one I noted and thats why I said that the JNDI names given are
>>  correct.
> 
> Are you sure that the error message is wrong?
> 
>> But I assume there is some trouble with the Provider URL.
> 
> Why?
> 
>> Do you think so ?
> 
> No.
> 
>>  If so, what changes need to be made to rectify that... ?
> 
> I think you need to find out why the name is not being found.
> 
>>
>>  Thanks in advance.
>>
>>  ~Lidwin~
>>
>>
>>
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>
>> > On 27/11/2009, Storm_Rage <li...@wipro.com> wrote:
>>  >>
>>  >>  Hi Friends,
>>  >>
>>  >>  I have been trying to check the performance of a JMS point-to-point
>> app
>>  >> in
>>  >>  JMETER.
>>  >>  The configuration I have done is given below and Error that was
>> shown in
>>  >>  JMETER log file is also given below.
>>  >>
>>  >>
>> ---------------------------------------------------------------------------------------------
>>  >>
>>  >>  http://old.nabble.com/file/p26541994/post.jpg
>>  >>
>>  >>
>>  >>
>>  >>
>>  >>
>> --------------------------------------------------------------------------------------------
>>  >>
>>  >>   - jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue
>>  >>  javax.naming.NameNotFoundException: queue/ContactQueue
>>  >>         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
>>  >>         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
>>  >>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown
>> Source)
>>  >>         at
>>  >>
>>  >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>>  >>         at
>>  >>
>>  >>
>> org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
>>  >>         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown
>> Source)
>>  >>         at
>>  >>
>>  >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>>  >>         at
>>  >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>>  >>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>>  >>         at java.security.AccessController.doPrivileged(Native Method)
>>  >>         at
>> sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>>  >>         at
>>  >>
>> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>>  >>         at
>>  >>
>>  >>
>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>>  >>         at java.lang.Thread.run(Thread.java:595)
>>  >>         at
>>  >>
>>  >>
>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>>  >>         at
>>  >>
>>  >>
>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>>  >>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>>  >>         at
>>  >> org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown
>>  >>  Source)
>>  >>         at
>>  >>
>>  >>
>> org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
>>  >>         at
>>  >>
>>  >>
>> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
>>  >>         at $Proxy0.lookup(Unknown Source)
>>  >>         at
>>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
>>  >>         at
>>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
>>  >>         at
>> javax.naming.InitialContext.lookup(InitialContext.java:392)
>>  >>         at
>>  >>
>>  >>
>> org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:303)
>>  >>         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.traverseInto(HashTree.java:985)
>>  >>         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)
>>  >>
>>  >>
>>  >>
>>  >>
>> ---------------------------------------------------------------------------------------------------
>>  >>  What would you suggest as a possible error. The JNDI names are given
>>  >> correct
>>  >>  to my knowledge.
>>  >>  Is there a problem in the Provider URL.????
>>  >
>>  > The error message clearly says that the name "queue/ContactQueue" has
>>  > not been found.
>>  >
>>  >>  That is the location where the JBOSS app server is running and the
>> app
>>  >> is
>>  >>  deployed.
>>  >>  Really getting frustrated with this now..
>>  >>
>>  >>  Please help me find a solution.
>>  >>
>>  >>  Thanks in advance.
>>  >>
>>  >>  ~Lidwin Lewis~
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26541994.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  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
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26569456.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26607760.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue javax.naming.NameNotFoundException: queue/ContactQueue

Posted by sebb <se...@gmail.com>.
On 30/11/2009, Storm_Rage <li...@wipro.com> wrote:
>
>  Yes that one I noted and thats why I said that the JNDI names given are
>  correct.

Are you sure that the error message is wrong?

> But I assume there is some trouble with the Provider URL.

Why?

> Do you think so ?

No.

>  If so, what changes need to be made to rectify that... ?

I think you need to find out why the name is not being found.

>
>  Thanks in advance.
>
>  ~Lidwin~
>
>
>
>
>
>
>  sebb-2-2 wrote:
>  >
>
> > On 27/11/2009, Storm_Rage <li...@wipro.com> wrote:
>  >>
>  >>  Hi Friends,
>  >>
>  >>  I have been trying to check the performance of a JMS point-to-point app
>  >> in
>  >>  JMETER.
>  >>  The configuration I have done is given below and Error that was shown in
>  >>  JMETER log file is also given below.
>  >>
>  >> ---------------------------------------------------------------------------------------------
>  >>
>  >>  http://old.nabble.com/file/p26541994/post.jpg
>  >>
>  >>
>  >>
>  >>
>  >> --------------------------------------------------------------------------------------------
>  >>
>  >>   - jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue
>  >>  javax.naming.NameNotFoundException: queue/ContactQueue
>  >>         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
>  >>         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
>  >>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
>  >>         at
>  >>
>  >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>  >>         at
>  >>
>  >> org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
>  >>         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
>  >>         at
>  >>
>  >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  >>         at java.lang.reflect.Method.invoke(Method.java:585)
>  >>         at
>  >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>  >>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>  >>         at java.security.AccessController.doPrivileged(Native Method)
>  >>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>  >>         at
>  >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>  >>         at
>  >>
>  >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>  >>         at java.lang.Thread.run(Thread.java:595)
>  >>         at
>  >>
>  >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>  >>         at
>  >>
>  >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>  >>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>  >>         at
>  >> org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown
>  >>  Source)
>  >>         at
>  >>
>  >> org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
>  >>         at
>  >>
>  >> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
>  >>         at $Proxy0.lookup(Unknown Source)
>  >>         at
>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
>  >>         at
>  >> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
>  >>         at javax.naming.InitialContext.lookup(InitialContext.java:392)
>  >>         at
>  >>
>  >> org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:303)
>  >>         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.traverseInto(HashTree.java:985)
>  >>         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)
>  >>
>  >>
>  >>
>  >> ---------------------------------------------------------------------------------------------------
>  >>  What would you suggest as a possible error. The JNDI names are given
>  >> correct
>  >>  to my knowledge.
>  >>  Is there a problem in the Provider URL.????
>  >
>  > The error message clearly says that the name "queue/ContactQueue" has
>  > not been found.
>  >
>  >>  That is the location where the JBOSS app server is running and the app
>  >> is
>  >>  deployed.
>  >>  Really getting frustrated with this now..
>  >>
>  >>  Please help me find a solution.
>  >>
>  >>  Thanks in advance.
>  >>
>  >>  ~Lidwin Lewis~
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26541994.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  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
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26569456.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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