|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PROVIDERVERSION |
« View previous topic :: View next topic » |
Author |
Message
|
Gideon |
Posted: Mon Jan 13, 2014 8:37 am Post subject: PROVIDERVERSION |
|
|
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 |
|
 |
Gideon |
Posted: Mon Jan 13, 2014 9:04 am Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
|
Back to top |
|
 |
Gideon |
Posted: Mon Jan 13, 2014 2:03 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Jan 13, 2014 2:05 pm Post subject: |
|
|
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 |
|
 |
Gideon |
Posted: Mon Jan 13, 2014 2:44 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|