|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Cannot connect to the QM | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | sabu21s | 
		  
		    
			  
				 Posted: Thu Dec 09, 2004 9:41 am    Post subject: Cannot connect to the QM | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 01 Oct 2003 Posts: 27 Location: Atlanta 
  | 
		  
		    
			  
				I am trying to connect to the QM using a VBS file and get the following error.
 
 
Unable to connect to Queue Manager (NTMR01.QUEUE.MANAGER)
 
[completionCode = 2,  reasonCode = 6000 (MQRC_LIBRARY_LOAD_ERROR)]
 
Unable to connect to Queue (GLINK.WEBIN)
 
Unable to connect to Queue (GLINK.ERROR)
 
No msg on the Queue (GLINK.WEBIN)
 
 
This is the report from the FDC file
 
                                              |
 
+-----------------------------------------------------------------------------+
 
|                                                                             |
 
| MQAX First Failure Symptom Report                                           |
 
| ====================================                                        |
 
|                                                                             |
 
| Date/Time         :- Thu Dec 09 11:21:00 2004                               |
 
| Code Level           :- @(!)      ***** Code Level is 5.1 *****             |
 
|                                                                             |
 
| Thread Id         :- 02664                                                  |
 
| Function Name     :- EstablishEPs                                           |
 
|                                                                             |
 
| Probe Id          :- ETM1                                                   |
 
| Build Date        :- Feb 24 2000                                            |
 
| Major Errorcode   :- Not found in retcode translation table (7E) (126)      |
 
| Minor Errorcode   :- MQRC_NONE                                              |
 
| Comment1          :- Cannot find lib - mqm.dll or mqic32.dll!               |
 
|                                                                             |
 
| Comment2          :-                                                        |
 
|                                                                             |
 
| Comment3          :-                                                        |
 
|                                                                             |
 
|                                                                             |
 
+-----------------------------------------------------------------------------+
 
 
  Stored Function Stack
 
  =====================
 
 
MQSession::AccessQueueManager
 
Imq methodid: 16
 
gmqdyn0a:MQCONN
 
EstablishEPs
 
xmq_xcsFFST
 
 
 
  Incore trace entries
 
  ====================
 
 
(02664) --> xmq_xxxInitialize
 
(02664) --> ObtainSystemCP
 
(02664) <-- ObtainSystemCP (rc = MQRC_NONE )
 
(02664) --> getRegistryConvPath
 
(02664) <-- getRegistryConvPath (rc = MQRC_NONE )
 
(02664) <-- xmq_xxxInitialize (rc = MQRC_NONE )
 
(02664) --> CMqOleApp::CMqOleApp
 
(02664) <-- CMqOleApp::CMqOleApp (rc = MQRC_NONE )
 
(02664) --> MQSession::initialize
 
(02664) <-- MQSession::initialize (rc = MQRC_NONE )
 
(02664) --> MQSession::AccessQueueManager
 
(02664) --> GlobalLock
 
(02664) <-- GlobalLock (rc = MQRC_NONE )
 
(02664) --> MQQueueManager::initialize
 
(02664) <-- MQQueueManager::initialize (rc = MQRC_NONE )
 
(02664) --> Imq methodid: 16
 
(02664) --> gmqdyn0a:MQCONN
 
(02664) --> EstablishEPs
 
(02664) --> xmq_xcsFFST
 
(03184) --> xmq_xcsFFST
 
 
Any help or suggestions please
 
Thanks
 
Sabu21s | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Thu Dec 09, 2004 9:45 am    Post subject: Re: Cannot connect to the QM | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				
   
	| sabu21s wrote: | 
   
  
	|  Cannot find lib - mqm.dll or mqic32.dll | 
   
 
 
 
Do you have the WMQ DLL's on your system where they can be found? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | sabu21s | 
		  
		    
			  
				 Posted: Thu Dec 09, 2004 11:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 01 Oct 2003 Posts: 27 Location: Atlanta 
  | 
		  
		    
			  
				Both these DLL are there on the system. They reside under 
 
C:\Program Files\MQSeries\bin\mqm.dll
 
C:\WINNT\system32\mqm.dll
 
C:\Program Files\MQSeries\bin\mqic32.dll
 
C:\WINNT\system32\mqic32.dll
 
 
I copied it under the system32 folder and tested it, but no luck
 
 
Any Suggestions
 
Thanks
 
SAbu21s | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | EddieA | 
		  
		    
			  
				 Posted: Thu Dec 09, 2004 1:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi
 
 Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| I copied it under the system32 folder | 
   
 
 
I don't think that's a good idea.  You might run into problems down the road when you start to apply fixes, or a new version.
 
 
Much better to leave them in the MQ folder, and make sure that the MQSeries\bin folder is in your PATH.
 
 
Cheers, _________________ Eddie Atherton
 
IBM Certified Solution Developer - WebSphere Message Broker V6.1
 
IBM Certified Solution Developer - WebSphere Message Broker V7.0 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |