Author |
Message
|
RogerLacroix |
Posted: Sun Sep 15, 2013 1:33 pm Post subject: MQ Explorer acessing wrong metdata |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
All,
This is driving me nuts. I installed WMQ v7.5 on Windows 7 under Administrator account by accident, so I uninstalled it then log into the a user account an install WMQ v7.5
Note: I put the user account in the mqm group.
Now when I start MQ Explorer under the the user account I get the following error:
Quote: |
java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\Administrator\IBM\WebSphereMQ\workspace-Installation1\.metadata. By default the platform writes its content |
I have done:
Code: |
strmqcfg -c
strmqcfg -i
strmqcfg -c -i |
But I still get the error. What can I do?
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 15, 2013 9:29 pm Post subject: Re: MQ Explorer acessing wrong metdata |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
RogerLacroix wrote: |
All,
This is driving me nuts. I installed WMQ v7.5 on Windows 7 under Administrator account by accident, so I uninstalled it then log into the a user account an install WMQ v7.5
Note: I put the user account in the mqm group.
Now when I start MQ Explorer under the the user account I get the following error:
Quote: |
java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\Administrator\IBM\WebSphereMQ\workspace-Installation1\.metadata. By default the platform writes its content |
I have done:
Code: |
strmqcfg -c
strmqcfg -i
strmqcfg -c -i |
But I still get the error. What can I do?
Regards,
Roger Lacroix
Capitalware Inc. |
Add the user to the local administrator group of the box?
Best bet is to review the installation of the MQExplorer. First launch of WMQE seems to lock something where the workspace is connecting to... and it appears you launched it the first time at an elevated prompt?
You could alternatively change the permissions to the workspace (as indicated above) to be read write for everybody...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 16, 2013 1:28 am Post subject: Re: MQ Explorer acessing wrong metdata |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
You could alternatively change the permissions to the workspace (as indicated above) to be read write for everybody... |
I've seen this same error before, and this is what I ended up doing.
I don't claim it's the right choice. |
|
Back to top |
|
 |
Tibor |
Posted: Mon Sep 16, 2013 3:13 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Sep 17, 2013 3:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I spent many, many hours beating my head against the wall and force MQ Explorer to wrote write/access the Administrator's directory. So I gave up and manually edited the following file: "C:\Program Files (x86)\IBM\WebSphere MQ\MQExplorer\eclipse\configuration\config.ini".
I changed:
Code: |
osgi.instance.area=@user.home/IBM/WebSphereMQ/workspace-Installation1 |
to:
Code: |
osgi.instance.area=C:/Users/Tyler/IBM/WebSphereMQ/workspace-Installation1 |
And now MQ Explorer works just fine. Some where some place, MQ Explorer has hard wired "@user.home" to be "C:/Users/Administrator". I can't find it but I really don't care at this point, it is for Tyler's laptop (my son), so that he can do his MQTT Programming session at the MQ Technical Conference.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Tibor |
Posted: Tue Sep 17, 2013 9:50 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Sep 27, 2013 2:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
|