WLS 7.0 SP2 - Invalid Destination Name exception when creating a queue.
Last updated on NOVEMBER 05, 2016
Applies to:Oracle Weblogic Server / WebLogic Server / 7.0
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 "BTJMSConnectionFactory" 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("BTJMSActionQueue"); QueueReceiver queueReceiver_ = queueSession_.createReceiver(actQue); The following would be used: Queue actQue = queueSession_.createQueue("BTJMSActionQueue"); // <---- 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?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms