Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception in JMS" Watch "Exception in JMS" New topic

Exception in JMS

Bunty B.

Joined: Jan 31, 2006
Posts: 1
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(
Solution on this error....I m stuck....
Waiting for help...
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927


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

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

Joined: Feb 05, 2001
Posts: 17276

Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it


Thanks! and welcome to the JavaRanch!


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Exception in JMS
It's not a secret anymore!