aspose 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
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
 
 
subject: getJMSDestinationRuntimeMBean Unknown foreign destination