Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes How does it work ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How does it work ?" Watch "How does it work ?" New topic
Author

How does it work ?

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
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 ]

Jigar Naik


ragunath ragunath
Greenhorn

Joined: Jul 07, 2008
Posts: 1
i don't about java.if you know
send to my email id.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

ragunath ragunath please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does it work ?
 
Similar Threads
HFSJ P408 jsp Include tag example
New To JMS
Why this compiles in Sun App Server but not JBOSS
jms client
ActiveMQ dynamic queues