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

Error while running the Chat Example


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.

javax.naming.NameNotFoundException: topic1
at org.apache.activemq.jndi.ReadOnlyContext.lookup(
at javax.naming.InitialContext.lookup(
at ch02.Chat.(
at ch02.Chat.main(
1 person has
this question