ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Unable to connect to the JMS destination from MDB

Post new topic  Reply to topic
 Unable to connect to the JMS destination from MDB « View previous topic :: View next topic » 
Author Message
venki_sarsan
PostPosted: Tue Jul 02, 2002 1:39 pm    Post subject: Unable to connect to the JMS destination from MDB Reply with quote

Newbie

Joined: 12 Jun 2002
Posts: 4

I have developed a Message Driven Bean deployed in Weblogic Server running in a unix box. This MDB needs to be invoked when an MQ Message is put on a MQQueue. The MQ Server is running on a different Unix machine.

I have used MQ JMS Classes. The "destination-jndi-name" is "ACORDQ" and the "connection-factory-jndi-name" is "ACORDQCF".

The MDBs are deployed properly in the weblogic server. But it gives the following exception when trying to connect to the JMS destination and the "onMessage" method is not invoked when the message is put in the MQ queue in the MQServer. The same is working fine if I integrate the Weblogic Server & MQServers running in the same machine (in my local system).
Error Message :
------------------
##<Jul 2, 2002 5:52:07 PM EDT> <Warning> <EJB> <acord_89_1> <ExecuteThread: '11' for queue: 'default'> <system> <> <010061> <Th
e Message-Driven EJB: messageDriven is unable to connect to the JMS destination: ACORDQ. The EJB container will automatically attempt to re-
establish the connection with the JMS server. This warning may occur during WebLogic Cluster start-up if the JMS destination is located on a
nother WebLogic Server instance. When the JMS server connection is re-established, the Message-Driven EJB will again receive JMS messages.
The Error was:
The Message-Driven EJB attempted to connect to the JMS destination with the JNDI name: ACORDQ. However, the object with the JNDI name: ACORDQ is not a JMS destination.>
~



Thanks in advance for any help in this.

Thanks,
Venkatesan.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Jul 03, 2002 9:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Can you post the definition of your queue and qcf? If things are running fine when everything is on one machine, then I would guess your error is related to your qcf not being setup correctly as a client. You'll have to use a client connection to get from the WebLogic machine over to the MQSeries qmgr.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
venki_sarsan
PostPosted: Sat Jul 06, 2002 4:01 pm    Post subject: Reply with quote

Newbie

Joined: 12 Jun 2002
Posts: 4

Thanks for your response..

Here is the command definitions I used for creating the QCF & Q :

DEFINE QCF(ACORDQCF) TRAN(CLIENT) QMGR(qmanager name) HOST(the hostname of MQServer) PORT(portno)

DEFINE Q(ACORDQ) QMGR(qmanager name) QUEUE(the MQ Queue Name) PERSISTENCE(PERS)


It has created the .bindings file in directory specified. The bindings file location is in the machine where the Weblogic Server is running. The MQ-JMS Classes are installed & configured in the machine where the weblogic server is running. The MQ Server resides in a different machine.

Hope I have provided the information you've asked for.

Thanks a lot for any help in ths.

Regards,
Venkatesan.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Unable to connect to the JMS destination from MDB
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.