| Author | Message | 
		
		  | encodevj | 
			  
				|  Posted: Thu Feb 10, 2011 10:42 am    Post subject: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 | 
			  
				| Hi All, 
 I am getting a error message when i create a QCF and do a test connection.
 
 A connection could not be made to WebSphere MQ for the following reason: CC=2;RC=2495;null 3=mqjbnd
 
 I am using
 WAS 7.0.0.13 64 bit
 WMQ 7.0.1.3
 Linux, both on same machine ,
 
 scope cell level
 MQ_INSTALL_ROOT = /opt/mqm
 
 Native Library path for WebSphere MQ resource Adaptor
 
 /opt/mqm/java/lib64
 
 can any one please suggest how to resolve
 
 Thanks
 Vj
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Vitor | 
			  
				|  Posted: Thu Feb 10, 2011 10:52 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| encodevj wrote: |  
	| can any one please suggest how to resolve |  
 Regular readers will know I'm no Java expert, but even I thought that reason code was fairly explicit.  2 immediate things to check I think.
  _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | encodevj | 
			  
				|  Posted: Thu Feb 10, 2011 10:59 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 | 
			  
				| 
   
	| Vitor wrote: |  
	| 
   
	| encodevj wrote: |  
	| can any one please suggest how to resolve |  
 Regular readers will know I'm no Java expert, but even I thought that reason code was fairly explicit.  2 immediate things to check I think.
  |  
 
 Thanks for replying , What 2 things i need to check ?
 
 i checked the person who created QCF is in the  mqm group.
 
 In system out logs i see that Native libraries are loaded from /opt/mqm/java/lib64
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Vitor | 
			  
				|  Posted: Thu Feb 10, 2011 11:08 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| encodevj wrote: |  
	| Thanks for replying , What 2 things i need to check ? 
 i checked the person who created QCF is in the  mqm group.
 
 In system out logs i see that Native libraries are loaded from /opt/mqm/java/lib64
 |  
 Which proves my Java is getting better if nothing else.
 
 The 2 stated causes of that error are module not found or not authorized to load. If you've proved from the logs that they're being loaded then that would seem to cover the "not found" option. We must also assume that group mqm owns that directory and hence has read access to the files therein.
 
 It might have saved a little time if you'd mentioned you'd already performed these basic checks in your original post.
 
 As you've already satisfied yourself than the module is being found and the user involved in the binding connection is authorized to load it you clearly need a more skilled Java person than me; one will be along in a moment.
 
 You have of course fixed the configuration issue you had here, and now have all the jar files correctly installed?
 _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | encodevj | 
			  
				|  Posted: Thu Feb 10, 2011 11:23 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 | 
			  
				| 
   
	| Vitor wrote: |  
	| 
   
	| encodevj wrote: |  
	| Thanks for replying , What 2 things i need to check ? 
 i checked the person who created QCF is in the  mqm group.
 
 In system out logs i see that Native libraries are loaded from /opt/mqm/java/lib64
 |  
 Which proves my Java is getting better if nothing else.
 
 The 2 stated causes of that error are module not found or not authorized to load. If you've proved from the logs that they're being loaded then that would seem to cover the "not found" option. We must also assume that group mqm owns that directory and hence has read access to the files therein.
 
 It might have saved a little time if you'd mentioned you'd already performed these basic checks in your original post.
 
 As you've already satisfied yourself than the module is being found and the user involved in the binding connection is authorized to load it you clearly need a more skilled Java person than me; one will be along in a moment.
 
 You have of course fixed the configuration issue you had here, and now have all the jar files correctly installed?
 |  
 
 Yes,that was application classloading issue,all the jars are in  right place as  mentioned in IBM Support Documentation. i am sure because this is working in our Test environment but not in dev
 
 Thanks
 Vj
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Vitor | 
			  
				|  Posted: Thu Feb 10, 2011 11:27 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| encodevj wrote: |  
	| i am sure because this is working in our Test environment but not in dev |  
 Then clearly you're looking for a difference in installation / configuration between these 2 environments. A comparison should show it up.
  _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | encodevj | 
			  
				|  Posted: Thu Feb 10, 2011 11:32 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 | 
			  
				| 
   
	| Vitor wrote: |  
	| 
   
	| encodevj wrote: |  
	| i am sure because this is working in our Test environment but not in dev |  
 Then clearly you're looking for a difference in installation / configuration between these 2 environments. A comparisonh  should show it up.
  |  
 I did  that i checked how the native path is setup  in test and did the same in dev . i also searched google and found the some person had faced the same error  and got it resolved , i did what he did to resolve but not luck for me
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Vitor | 
			  
				|  Posted: Thu Feb 10, 2011 11:43 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| encodevj wrote: |  
	| i did what he did to resolve but not luck for me |  
 Which was? The knowledge is unlikely to help me, but may stop someone else wasting time suggesting something to you which has already failed to help.
 
 Better information, better advice.
  _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | encodevj | 
			  
				|  Posted: Thu Feb 10, 2011 11:46 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Thu Feb 10, 2011 9:39 pm    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| 
 Did you also compare the environment for the user running this failing process in Test and Dev?
 
 My guess is that you will find some difference in the LIBPATH/LIBPATH64 and maybe some difference in the sequence of the those values.
 
 You should also read the part "concerns about running a 64 bit qmgr"  in the infocenter.
 
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | encodevj | 
			  
				|  Posted: Fri Feb 11, 2011 6:08 am    Post subject: Re: Problem While Creating QCF in Bindings mode |   |  | 
		
		  | Novice
 
 
 Joined: 03 Feb 2011Posts: 13
 
 
 | 
			  
				| Did you also compare the environment for the user running this failing process in Test and Dev? 
 My guess is that you will find some difference in the LIBPATH/LIBPATH64 and maybe some difference in the sequence of the those values.
 
 You should also read the part "concerns about running a 64 bit qmgr"  in the infocenter.
 
  [/quote] 
 
 you mean in the setupcmd.sh file or
 can you please  let me know how to do that
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Fri Feb 11, 2011 12:50 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| In Unix run the "env" command  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |