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 Installation/Configuration Support » MQ Explorer acessing wrong metdata

Post new topic  Reply to topic
 MQ Explorer acessing wrong metdata « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Sun Sep 15, 2013 1:33 pm    Post subject: MQ Explorer acessing wrong metdata Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sun Sep 15, 2013 9:29 pm    Post subject: Re: MQ Explorer acessing wrong metdata Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Sep 16, 2013 1:28 am    Post subject: Re: MQ Explorer acessing wrong metdata Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Mon Sep 16, 2013 3:13 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Is there any other instance of file .metadata\.log?

...and there is an option for tracing: http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/index.jsp?topic=%2Fcom.ibm.mq.explorer.doc%2Fe_troubleshooting.htm
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Sep 17, 2013 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Tibor
PostPosted: Tue Sep 17, 2013 9:50 pm    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Is it possible your process was set for Always Run as an Administrator? More info on Technet: http://technet.microsoft.com/en-us/magazine/ff431742.aspx
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Sep 27, 2013 2:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Tibor wrote:
Is it possible your process was set for Always Run as an Administrator? More info on Technet: http://technet.microsoft.com/en-us/magazine/ff431742.aspx

No.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Explorer acessing wrong metdata
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.