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 » General IBM MQ Support » Problem While Creating QCF in Bindings mode

Post new topic  Reply to topic
 Problem While Creating QCF in Bindings mode « View previous topic :: View next topic » 
Author Message
encodevj
PostPosted: Thu Feb 10, 2011 10:42 am    Post subject: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 10:52 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 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
View user's profile Send private message
encodevj
PostPosted: Thu Feb 10, 2011 10:59 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 11:08 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 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
View user's profile Send private message
encodevj
PostPosted: Thu Feb 10, 2011 11:23 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 11:27 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 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
View user's profile Send private message
encodevj
PostPosted: Thu Feb 10, 2011 11:32 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 11:43 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 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
View user's profile Send private message
encodevj
PostPosted: Thu Feb 10, 2011 11:46 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 13

Vitor wrote:
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.


This is the Link

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=248822&tstart=0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 10, 2011 9:39 pm    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20700
Location: LI,NY

encodevj wrote:
Vitor wrote:
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.


This is the Link

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=248822&tstart=0


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
View user's profile Send private message Send e-mail
encodevj
PostPosted: Fri Feb 11, 2011 6:08 am    Post subject: Re: Problem While Creating QCF in Bindings mode Reply with quote

Novice

Joined: 03 Feb 2011
Posts: 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
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 11, 2011 12:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20700
Location: LI,NY

In Unix run the "env" command
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem While Creating QCF in Bindings mode
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.