Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m Desparate

Error while running the Chat Example

Hi,

I am getting the below error while running the Chat example written in the book Java Message Service.

Can anyone suggest how to configure the activemq.xml file so that it will get the topic name from there. I exactly followed the same procedure written in the book.

TopicCF
javax.naming.NameNotFoundException: topic1
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:225)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at ch02.Chat.(Chat.java:34)
at ch02.Chat.main(Chat.java:83)
1 person has
this question
+1
Reply