• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does it work ?

 
Jigar Naik
Ranch Hand
Posts: 761
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
with reference to JMS and activeMQ.

I got a properties file

Contents of the jndi.properties file


Code in SimpleProducer.java




Error :
Console Stack Trace.

Jul 3, 2008 12:46:58 PM com.india.SimpleProducer main
INFO: Destination name is Dest1
Jul 3, 2008 12:50:07 PM com.india.SimpleProducer main
INFO: JNDI API lookup failed: javax.naming.NameNotFoundException: Dest1

Dest1 is the name i'm passing as command line argument..


[ July 07, 2008: Message edited by: Jigar Naik ]
 
ragunath ragunath
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't about java.if you know
send to my email id.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ragunath ragunath please check your private messages.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic