Author |
Message
|
tony2nd |
Posted: Mon Apr 07, 2014 5:42 am Post subject: How to change the path that WMB Toolkit uses to call WMB |
|
|
Novice
Joined: 07 Apr 2014 Posts: 17
|
In order to use WTX I installed WMB 32 and 64 bit; it did not work well so I unistalled the 32 bit version.
WMB is located now at C:\Program Files\ibm\MQSI but when I try to start/stop a broker from WMB Toolkit I get the error:
Begin running task [The local broker is being stopped]
D:\Program Files (x86)\IBM\WMBT700>call "C:\Program Files (x86)\IBM\MQSI\7.0/bin/mqsiprofile.cmd"
The system cannot find the path specified.
D:\Program Files (x86)\IBM\WMBT700>mqsistop FTMBROKER
'mqsistop' is not recognized as an internal or external command,
operable program or batch file.
D:\Program Files (x86)\IBM\WMBT700>exit
The task was unsuccessful: The command failed.
How do I change WMB Toolkit from the old location
C:\Program Files (x86)\IBM\MQSI\7.0/bin/mqsiprofile.cmd
to
C:\Program Files\ibm\MQSI\7.0/bin/mqsiprofile.cmd
Thank you,
Tony |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 07, 2014 7:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you've got a botched install.
Uninstall everything, then reboot and finally reinstall.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tony2nd |
Posted: Mon Apr 07, 2014 7:55 am Post subject: |
|
|
Novice
Joined: 07 Apr 2014 Posts: 17
|
I was hoping to avoid that; oh well, if there no other way...
 |
|
Back to top |
|
 |
vishnurajnr |
Posted: Mon Apr 07, 2014 8:47 pm Post subject: |
|
|
 Centurion
Joined: 08 Aug 2011 Posts: 134 Location: Trivandrum
|
You can make your toolkit pointing to your new runtime path by modifying the install.properties file located in MQSI folder(%APPDATA%/IBM/MQSI) and restart toolkit.
Also make sure you have added this 'C:\Program Files\ibm\MQSI\7.0/bin' entry into your system environment path variable. |
|
Back to top |
|
 |
tony2nd |
Posted: Tue Apr 08, 2014 4:45 am Post subject: |
|
|
Novice
Joined: 07 Apr 2014 Posts: 17
|
I uninstalled and installed again WMB and WMB Toolkit and I still see the same problem.
I can't find this file. The install is in a server with Windows 2008 R2.
Is it possible this is a Windows registry change? REGEDIT is disallowed so I cannot see if it is there. |
|
Back to top |
|
 |
tony2nd |
Posted: Tue Apr 08, 2014 9:24 am Post subject: |
|
|
Novice
Joined: 07 Apr 2014 Posts: 17
|
I am stumped, here it is what I did:
1. uninstalled WMB
2. installed 7.0.0.1 (I was able to stop/start a broker; path was "D:\Program Files (x86)\IBM\MQSI\7.0/bin/mqsiprofile.cmd"
3. updated to 7.0.0.5 with Installation Manager; now I cannot stop/start a broker anymore; path now is back to C: - "C:\Program Files (x86)\IBM\MQSI\7.0/bin/mqsiprofile.cmd" |
|
Back to top |
|
 |
vishnurajnr |
Posted: Tue Apr 08, 2014 9:31 am Post subject: |
|
|
 Centurion
Joined: 08 Aug 2011 Posts: 134 Location: Trivandrum
|
tony2nd wrote: |
I can't find this file. The install is in a server with Windows 2008 R2. |
you can find install.properties in Win-7 here: C:\ProgramData\IBM\MQSI
I am not sure about the Win 2008 location for the same (May be can look C:\Document Settings\All Users\IBM\MQSI ?) |
|
Back to top |
|
 |
tony2nd |
Posted: Tue Apr 08, 2014 11:45 am Post subject: |
|
|
Novice
Joined: 07 Apr 2014 Posts: 17
|
I could not find this file anywhere.
I think I have to change %MQSI_WORKPATH% andI am researching how to do it - no luck so far.
"echo %MQSI_WORKPATH%" shows: C:\...\MQSI instead of D:\...\MQSI |
|
Back to top |
|
 |
|