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 » PROVIDERVERSION

Post new topic  Reply to topic
 PROVIDERVERSION « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Mon Jan 13, 2014 8:37 am    Post subject: PROVIDERVERSION Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I have a java client recently updated with 7.5.0.2 jars

I have a MQ client (that I did not write, I am not much of a java guy)

I see the following before it invokes the sending of messages


JMS Provider Name=IBM WebSphere MQ
Provider Version=7.0.0.0
Provider Major Version=7
Provider Minor Version=0

From this I gather either

- getting this value from the client jars (which would mean I made a mistake)

- or it is set as a property when the connection factory is implemented.

After looking at this site:

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm41150_.htm

and this site:

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm41150_.htm

I am assuming that this probably means that the client jar version is not 7.0.0.0 (and I am replacing the jars correctly

I am also assuming that the PRODUCTVERSION is set to 7 and the R.M.F parameters were not set upon defining the connection factory)



Am I in the ballpark here?

I once wrote a connection factory and do not remember setting the PRODUCTVERSION

Can anyone offer any advise on determining what I am seeing
?

Many Thanks in advance
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Mon Jan 13, 2014 9:04 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

From this site:

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.javadoc.doc%2FWMQJMSClasses%2Fcom%2Fibm%2Fmq%2Fjms%2FMQConnectionMetaData.html

it appears taht methods in the class MQConnectionMetaData, will get the JMS provider name, major version and minor version

They will do this from the class com.ibm.mq.jms.MQRoot, and thus are taking this data from com.ibm.mq.jms.jar

So can I safely assume that the following that is reported from my client

JMS Provider Name=IBM WebSphere MQ
Provider Version=7.0.0.0
Provider Major Version=7
Provider Minor Version=0

is more than likely refering the the JMS version, not the actual WMQ version, and that is why it is not reporting 7.5.0.2 ?

Is this correct ? (or at least likely)

Thanks
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Mon Jan 13, 2014 2:03 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

Let me ask this one other way:

I just switched to another server with th efollowing configurations

-bash-4.1$ dspmqver
Name: WebSphere MQ
Version: 7.5.0.2

... and I am using MQ 7.5.0.2 client jars

But my client reports the following

JMS Provider Name=IBM WebSphere MQ
Provider Version=7.0.0.0
Provider Major Version=7
Provider Minor Version=0

Would this be correct or incorrect ?

Thanks
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jan 13, 2014 2:05 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So JMSProvider is a different version number than the MQ client version.

It's also entirely possible that the MQ client jars are embedded in the application or in the local classpath rather than being taken from the actual MQ client install.
Back to top
View user's profile Send private message
Gideon
PostPosted: Mon Jan 13, 2014 2:44 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

Yes it is possible, and true

I On this machine I did not install the MQ client

I put all WMQ client jars within the master jar, and updated the manifest accordingly.

One evidence that I am using the correct jars is that when I replaced the jars, the application produced a jara error stack indicating that there was not a com.ibm.mq.headers.jar present in the jar. (This was not necessary prior to 7.5.0.2. I added this jar to the jar file and modified the manifest accordingly, and now it works, but it still reports an incorrect version
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 » IBM MQ Java / JMS » PROVIDERVERSION
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.