WLS 7.0 SP2 - Invalid Destination Name exception when creating a queue.
(Doc ID 773885.1)
Last updated on OCTOBER 05, 2020
Applies to:Oracle WebLogic Server - Version 6.1 and later
Information in this document applies to any platform.
Information in this document applies to any platform
When trying to create a queue on WebLogic Server 7.0 SP2, an Invalid Destination Name exception occurs. A Connection Factory of "<JMSConnectionFactory>" is created with the WebLogic Console. Is it possible to not define the Destination using the WebLogic Console? So instead of: Queue actQue = (Queue) ctx.lookup("<JMSActionQueue>"); QueueReceiver queueReceiver_ = queueSession_.createReceiver(actQue); The following would be used: Queue actQue = queueSession_.createQueue("<JMSActionQueue>"); // <---- Exception thrown here----> QueueReceiver queueReceiver_ = queueSession_.createReceiver(actQue); This throws an Invalid Destination Name exception. However, it is the exact same name as defined in the WebLogic Console. Why can't the queue be created?
NOTE: The attribute values used in this article represent fictitious sample names that made up as examples. Any similarity to actual code, is purely coincidental and not intended in any other manner.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document