A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
getJMSDestinationRuntimeMBean Unknown foreign destination
Jean Marcel Bacan
Joined: Dec 04, 2012
Mar 06, 2013 13:10:42
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:
: Unknown foreign destination
This line throws the exception
JMSDestinationRuntimeMBean destMBean = JMSRuntimeHelper.getJMSDestinationRuntimeMBean(ctx, queue);
The queue it's not in my LOCAL weblogic. I mean:
env.put(Context.PROVIDER_URL, " t3://172.xx.xxx.xxx:port");
How the proper way to solve this?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: getJMSDestinationRuntimeMBean Unknown foreign destination
Message Driven Beans
Weblogic 10.3 JMS Configuration Issue
MQ Series and Weblogic
Weblogic - JBoss - Foreign JMS Server - Problem
I am befuffled by this behaviour!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015