• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in JMS

 
Bunty B.
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bunty,

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
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic