This content has been marked as final. Show 8 replies
It seems that you client established a JMS connection with WLS server and tried to use that connection to send messages to MQ.
Can you check your foreign jms server configuration and see if you have the right url, initial context factory class and cf for connecting to MQ server?
Refer to the documentation link below for more details about foreign jms server configuration.
Thanks for the link. I got the connection configuration info from my contact IBM, and it matches what I've seen in some of their blog posts. I'll read through the posting and see if anything leaps out.
Here's what I have. The connection strings came from IBM.
Foreign Servier Configuration
JNDI Initial Context Factory: com.ibm.mq.jms.context.WMQInitialContextFactory
JNDI Connection URL: <servierid>:1417/SYSTEM.DEF.SVRCONN
(my queue manager is running on 1417)
Local JNDI Name: MY.TOPIC
Remote JNDI Name: REMOTE_TOPIC
I see the topic string from the topic in the exception, so I know I have a connection, however I get this when I send:
(my exception stack trace)
caused by: weblogic.jms.common.InvalidDestinationException: JMSClientExceptions:055142] Foreign Destination, topic//(string from remote topic)
How about your connection factory? Did you specify a foreign connection factory?
That was it! I had overlooked that part. It took a while to get everything configured properly, but now I and sending and receiving messages from a foreign MQ topic on another server. Many many thanks.
Hi, We are trying to connect to a IBM queue and we get the following error:
[Feb 10 20:32:33 : 765] SchedulerEJBBean.sendASCMessage-->Exception = [JMSClientExceptions:055142]Foreign destination, queue://AIXDJP01/QA.EAI.PASS.REQ.CCD?targetClient=1
one third of the messages are failing to send to this queue.
Please guide how to fix the same.
We are using weblogic foreign server for connecting to MQ using a .binding file.
I suspect that you are using a regular WLS connection factory while using a destination that is in the foreign JMS server configuration. Can you check if your application is using a connection factory that is also defined in the foreign jms server configuration?