Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getJMSDestinationRuntimeMBean Unknown foreign destination

 
Jean Marcel Bacan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I'm new with JMS and I'm trying to count how many message a queue have.

When I run the code with my Eclipse i get the right result.

But when I deploy in LOCAL weblogic I get:
javax.jms.JMSException: Unknown foreign destination

This line throws the exception


The queue it's not in my LOCAL weblogic. I mean:


How the proper way to solve this?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic