File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes getJMSDestinationRuntimeMBean Unknown foreign destination Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "getJMSDestinationRuntimeMBean Unknown foreign destination" Watch "getJMSDestinationRuntimeMBean Unknown foreign destination" New topic
Author

getJMSDestinationRuntimeMBean Unknown foreign destination

Jean Marcel Bacan
Greenhorn

Joined: Dec 04, 2012
Posts: 15
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


OCPJP 6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getJMSDestinationRuntimeMBean Unknown foreign destination