Author |
Message
|
adm1122 |
Posted: Fri Feb 28, 2014 2:37 pm Post subject: |
|
|
Newbie
Joined: 27 Feb 2014 Posts: 4
|
I think Markt is right about the registry stuff. I'm on server 2008. It also looks like the support pack mo78 isn't very well supported.
I'm giving up on the snapin and I'll use powershell to run mq scripts instead.
 |
|
Back to top |
|
 |
jcv |
Posted: Tue Aug 04, 2015 12:55 am Post subject: |
|
|
 Chevalier
Joined: 07 May 2007 Posts: 411 Location: Zagreb
|
An update is done in February this year, but after that a userid/password combination still cannot be specified when connecting to remote qmgr:
PS C:\> get-help New-WMQQmgrConnDef -full
NAME
New-WMQQmgrConnDef
SYNOPSIS
Creates a definition of a connection to a remote queue manager.
SYNTAX
New-WMQQmgrConnDef [-Name] <String[]> [[-Hostname] <String[]>] [[-Port] <Int32[]>] [[-Channel] <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
The New Queue Manager Connection Definition cmdlet creates a definition of a connection to a remote queue manager. This can be used to allow the Get-WMQQueueManager cmdlet to create queue manager objects representing remote queue managers.
. . .
Does anyone use these cmdlets? Although I'm not particularly interested in it, I investigated it since I was notified recently about MQ support packs that were recently changed. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 05, 2015 2:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
use runmqsc V8 in client mode...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
MarkDJ |
Posted: Tue Sep 15, 2015 4:45 am Post subject: mo74_v2.0 |
|
|
Newbie
Joined: 15 Sep 2015 Posts: 2
|
Hi, I have been seeing the same issues with this Powershell plugin. I installed in on a Win 2008 R2 SP1 server running MQ 7.5.0.3 in a preprod environment and the snapin worked perfectly.
However when I installed it onto an identical production environment the snapin failed to return any data from a get-wmqqueue command. No errors were thrown, just no output was returned.
I checked the registry and saw that MQ had installed to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM rather than HKEY_LOCAL_MACHINE\SOFTWARE\IBM.
It turns out that this isn't an issue. All I ended up doing to get the snapin to work was to run it from Start > All Programs > Accessories > Windows Powershell > Windows Powershell rather than from the Powershell shortcut pinned to the task bar. I tested this on both systems and it didn't work from the task bar shortcut, but did from the long path.
Deleting and repinning the powershell window should resolve it.
Not sure if it was just a foible of the systems I was installing MQ on (they were customer-created servers) but I hope that it helps if anybody is seeing the same issue.  |
|
Back to top |
|
 |
MarkDJ |
Posted: Thu Sep 17, 2015 3:05 am Post subject: mo74_v2.0 |
|
|
Newbie
Joined: 15 Sep 2015 Posts: 2
|
Actually, ignore my post above... it's complete tosh. The issue is with the 32 vs 64 bit powershell.
The 32 bit powershell works fine with the registry entries in [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM] however the 64 bit version just returns empty as it cannot find the queue manager reference.
The 64 bit version looks in [HKEY_LOCAL_MACHINE\SOFTWARE\IBM] for the information. The way to get both 32 & 64 bit powershell version running is to add this key into [HKEY_LOCAL_MACHINE\SOFTWARE\IBM]
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\<YOUR QM NAME>]
"Directory"="<YOUR QM NAME>"
"Name"="<YOUR QM NAME>"
"Prefix"="D:\\Program Files (x86)\\IBM\\WebSphere MQ" <-- Your install path
 |
|
Back to top |
|
 |
FrankHaarlem |
Posted: Mon Feb 22, 2016 6:14 am Post subject: |
|
|
Newbie
Joined: 22 Feb 2016 Posts: 5
|
i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 22, 2016 6:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
FrankHaarlem wrote: |
i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074? |
Have you tried using the 32 bit version of powershell for this task?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
FrankHaarlem |
Posted: Mon Feb 22, 2016 6:27 am Post subject: |
|
|
Newbie
Joined: 22 Feb 2016 Posts: 5
|
fjb_saper wrote: |
FrankHaarlem wrote: |
i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074? |
Have you tried using the 32 bit version of powershell for this task?  |
Yes I have tried both 32bit and 64bit. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 22, 2016 6:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
FrankHaarlem |
Posted: Thu Feb 25, 2016 5:46 am Post subject: |
|
|
Newbie
Joined: 22 Feb 2016 Posts: 5
|
Thanks, I will check github if they have any answers and if they have a newer version for 64bit. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 25, 2016 5:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
FrankHaarlem wrote: |
Thanks, I will check github if they have any answers and if they have a newer version for 64bit. |
I don't think it is on github. My suggestion was to ask the author to release it there. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
FrankHaarlem |
Posted: Wed Mar 02, 2016 5:14 am Post subject: |
|
|
Newbie
Joined: 22 Feb 2016 Posts: 5
|
The author is IBM itself but it is not supported and sadly enough they don't answer my question.
Category 2 SupportPacs are provided in good faith and AS-IS. There is no warranty or further service implied or committed and any supplied sample code is not supported via IBM product service channels.
You may submit a question and return email address using the 'rate this page' below, but a response is not guaranteed.
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 02, 2016 5:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
FrankHaarlem wrote: |
The author is IBM itself but it is not supported and sadly enough they don't answer my question. |
The pdf documentation contains several IBM emails. Cat 2 supportPacs are never supported by IBM support through PMRs, but only through the authors in question.
It also looks like it was updated in November... _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
FrankHaarlem |
Posted: Wed Mar 02, 2016 6:09 am Post subject: |
|
|
Newbie
Joined: 22 Feb 2016 Posts: 5
|
mqjeff wrote: |
FrankHaarlem wrote: |
The author is IBM itself but it is not supported and sadly enough they don't answer my question. |
The pdf documentation contains several IBM emails. Cat 2 supportPacs are never supported by IBM support through PMRs, but only through the authors in question.
It also looks like it was updated in November... |
Thanks I will try to email one of the IBM emails mentioned in the PDF. |
|
Back to top |
|
 |
|