This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 8904

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: 17249
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception in JMS
 
Similar Threads
JMS Messaging component
A lot of problems with a simple JMS example
Help need with JMS Listener in WSAD
ant is not working
problem in rediredtin GUI to IO Streams