Author |
Message
|
jefflowrey |
Posted: Thu May 26, 2005 4:19 am Post subject: v6 MQ Explorer |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I had something interesting happen today.
Behind my back, my local user got taken out of some groups on my workstation. So I lost some authorities to my beta v6 install.
I found this out because MQExplorer's Content View was spinning trying to list queues. I did a little more digging, and found that runmqsc worked fine. I stopped and started various things, and it still didn't list queues in eclipse.
On a whim, I did 'dis ql(*) curdepth'. It gave me a bunch of depths for queues, but for some it said that I was not authorized. Since I thought I was both a local admin and in the mqm group, I was a little surprised...
Neither were true. I fixed that, and now eclipse will list queues.
But this is exactly the kind of non-response that drives people buggy and makes them hate a tool.
I don't know for sure which queues I didn't have authority on - since I didn't write them down. But if one was SYSTEM.ADMIN.COMMAND.QUEUE, I would have expected Explorer to throw an error. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu May 26, 2005 8:34 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I recognize this type of error. The PCF command for getting a list of queues will return a structure for each queue. Each structure contains the queue name, attributes, return and reason code.
My guess is that half way through iterating over the list of queues it hits a 2035 and throws an exception. The exception should be handled locally but it gets percolated much higher and hence, hangs the MQ Explorer.
I had this problem in MQ Visual Edit. Somebody at IBM needs to review their code.
I'll even help IBM out, the queue that they are getting burnt on is 'SYSTEM.AUTH.DATA.QUEUE'. Only mqm is allowed to access this queue. Even if you try to use setmqaut to add your own UserID, you will not be allowed access to it.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
JasonE |
Posted: Fri May 27, 2005 12:29 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Wait for GA, then raise it as a pmr, as it does sound incorrect that the GUI hangs  |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri May 27, 2005 1:30 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
JasonE wrote: |
Wait for GA, then raise it as a pmr, as it does sound incorrect that the GUI hangs  |
So what is this Beta for then ?  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri May 27, 2005 3:04 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
JasonE wrote: |
Wait for GA, then raise it as a pmr, as it does sound incorrect that the GUI hangs  |
It doesn't "hang".
It just spins. I can go off and do other things. I just never get a list of queues. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri May 27, 2005 9:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Quote: |
So what is this Beta for then ? |
To find out if there are any show stopper bugs.
I thought IBM created a newsgroup for this beta. If so, someone should post this in it.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
JT |
Posted: Mon May 30, 2005 7:54 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
The newsgroup is ibm.software.websphere.mq.beta and can be found at news.software.ibm.com |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Jun 05, 2005 8:56 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Just had an interesting encounter on:
Windows XP Pro SP2
WebSphere MQ V6.0 GA
Installed Eclipse and WebSphere MQ V6 GA, fired up the "WebSphere Explorer"
nothing happened...
looked underneath what command is executed and it executes: strmqcfg -d
opened a command prompt and ran: strmqcfg -d
result: AMQ7798: Unable to locate 'APPDATA'
turns out my Windows XP Pro SP2 had no APPDATA Environment setting...
I added it in a command prompt using: SET APPDATA= ....
and then fired up "WebSphere MQ Explorer" voila!!!
Next my migrated 5.3 Queuemangers were visible, but connecting to them did not work...
Quote: |
Explorer cannot administer the queuemanager because the queue
'SYSTEM.MQEXPLORER.REPLY.MODEL' is not defined. (AMQ4400) |
went into runmqsc and:
def qmodel('SYSTEM.MQEXPLORER.REPLY.MODEL')
presto!!! Explorer works...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Rahul999 |
Posted: Mon Mar 09, 2009 5:58 pm Post subject: |
|
|
 Centurion
Joined: 14 Mar 2007 Posts: 134
|
Hi Michael,
Quote: |
result: AMQ7798: Unable to locate 'APPDATA' |
I too getting the same error while running MQExplorer from the command prompt.
Now, it seems that I have to set enviroment variable "APPDATA" -
Quote: |
I added it in a command prompt using: SET APPDATA= .... |
But what value I should assign to this enviroment variable "APPDATA" ?
Help me out !
Thanx,
Rahul |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Mar 09, 2009 6:13 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
It doesn't "hang". It just spins. |
Is this one of those distinctions without a difference? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
jhidalgo |
Posted: Tue Mar 10, 2009 1:48 pm Post subject: |
|
|
 Disciple
Joined: 26 Mar 2008 Posts: 161
|
Rahul999 wrote: |
Hi Michael,
Quote: |
result: AMQ7798: Unable to locate 'APPDATA' |
I too getting the same error while running MQExplorer from the command prompt.
Now, it seems that I have to set enviroment variable "APPDATA" -
Quote: |
I added it in a command prompt using: SET APPDATA= .... |
But what value I should assign to this enviroment variable "APPDATA" ?
Help me out !
Thanx,
Rahul |
set APPDATA=C:\
that will work !
but you also can set it to the Application Data dir. |
|
Back to top |
|
 |
|