aspose file tools*
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 Spring in Action this week in the Spring 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: 17257
    
    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
 
jQuery in Action, 2nd edition
 
subject: Exception in JMS