This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Exception in JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception in JMS" Watch "Exception in JMS" New topic
Author

Exception in JMS

Bunty B.
Greenhorn

Joined: Jan 31, 2006
Posts: 1
Hi,
I m new to jms section,
I m trying to run the simple application....
I followed instuction as i found by surfing on net...
But still i m not able to counter this error....

javax.naming.NameNotFoundException: java:comp/env/jms/TopicConnectionFactory
at com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContext.java:400)
Solution on this error....I m stuck....
Waiting for help...
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Bunty,

Are you sure that the ConnectionFactory has been configured properly. Could you please check this using the admin console of your app server.


Groovy
Reid M. Pinchback
Ranch Hand

Joined: Jan 25, 2002
Posts: 775
Something there is very strange. The fscontext is the JNDI provider that allows you filesystem access. You didn't say what kind of container you are using (JBoss, WebLogic, ...), but I'd guess that the vendor-specific deployment information in your ejb-jar is wrong.


Reid - SCJP2 (April 2002)
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"Bunty"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in JMS