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 » General Discussion » MQ Explorer 6.0 FDC

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ Explorer 6.0 FDC « View previous topic :: View next topic » 
Author Message
anveshita
PostPosted: Wed May 06, 2009 6:44 am    Post subject: MQ Explorer 6.0 FDC Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

I have MQExploerer installed on my laptop(win-xp)
I have two QMs: QMA on hostA(linux, secure shell enabled, needs winscp, securecrt to connect)
QMB on hostB (hpux, no secure shell, regualr telnet is sufficient)
I have a user id <myuser> defined on hostA and hostB.
<myuser> is part of mqm group on hostB, but on hostA it is a part of mqappusers group.
mqappusers is a custom group and has limited access to mqobjects, just to browse,put,get operations.

I have defined <mquser> on as local admin on my laptop.
I sign in as <mquser> on my laptop, start mqexplorer to connect to QMA and QMB
Here is the issue:
1. I could connect to QMB and browse the queues, check the status and all operations of MQExplorer
2. But when I connect to QMA,I can check the "status" of the queues. But when I click on queues to expand,mq exploerer hangs indicating "processing" and never
responds. The following FDC is created.

Please let me know what could be wrong:
Code:

+-----------------------------------------------------------------------------+
|                                                                             |
| WebSphere MQ First Failure Symptom Report                                   |
| =========================================                                   |
|                                                                             |
| Date/Time         :- Tue May 05 18:02:24 Eastern Daylight Time 2009         |
| Host Name         :- <localhost> (Windows XP Build 2600: Service Pack 2) |
| PIDS              :- 5724H7200                                              |
| LVLS              :- 6.0.0.0                                                |
| Product Long Name :- WebSphere MQ for Windows                               |
| Vendor            :- IBM                                                    |
| Probe Id          :- JC062003                                               |
| Application Name  :- MQM                                                    |
| Component         :- NativeCalls.getCommandServesStatus                     |
| SCCS Info         :- eclipse/common/amqjxtra.c, 1.13                        |
| Line Number       :- 609                                                    |
| Build Date        :- Apr 25 2008                                            |
| CMVC level        :- p000-L050519                                           |
| Build Type        :- IKAP - (Production)                                    |
| UserID            :- <username>                                                |
| Process Name      :- D:\Program Files\IBM\Eclipse SDK30\eclipse\jre\bin     |
|                      \javaw.exe                                             |
| Process           :- 00002484                                               |
| Thread            :- 00000001                                               |
| Major Errorcode   :- OK                                                     |
| Minor Errorcode   :- OK                                                     |
| Probe Type        :- INCORROUT                                              |
| Probe Severity    :- 4                                                      |
| Probe Description :- AMQ6125: An internal WebSphere MQ error has occurred.  |
| FDCSequenceNumber :- 0                                                      |
| Comment1          :-                                                        |
|   com/ibm/mq/commonservices/internal/utils/NativeCalls.wmq_native           |
|                                                                             |
+-----------------------------------------------------------------------------+
 
MQM Function Stack
xcsFFST
 
MQM Trace History
.... ... ...
 
Process Control Block
.... ... ...
 
Common Services Control Block
.... ... ...
Thread Control Block
.... ... ...
 
MTime Control Block
.... ... ...
MTime Index
.... ... ...
MTime Entries
.... ... ...

Component Dumps (Thread 00000001)
------< JC "Java CommonServices" >-----
Key 1: (null) = (null)
Key 2: (null) = (null)
Key 3: (null) = (null)
   at com.ibm.mq.commonservices.internal.trace.Trace.getJavaStack(Trace.java:1261)
   at com.ibm.mq.commonservices.internal.trace.Trace.wmq_FFST(Native Method)
   at com.ibm.mq.commonservices.internal.trace.Trace.FFST(Trace.java:990)
   at com.ibm.mq.commonservices.internal.trace.Trace.FFST(Trace.java:954)
   at com.ibm.mq.commonservices.internal.utils.NativeCalls.getCommandServesStatus(NativeCalls.java:907)
   at com.ibm.mq.explorer.ui.internal.queuemanager.UiQueueManager.getCommandServerStatus(UiQueueManager.java:1042)
   at com.ibm.mq.explorer.ui.internal.queuemanager.UiQueueManager.appendToContextMenu(UiQueueManager.java:776)
   at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView.fillContextMenu(MQNavigatorView.java:396)
   at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView$2.menuAboutToShow(MQNavigatorView.java:361)
   at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:286)
   at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:370)
   at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:367)
   at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:383)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:801)
   at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3320)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:2993)
   at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1391)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
   at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
   at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:222)
   at org.eclipse.swt.widgets.Display.runPopups(Display.java:2798)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2425)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
   at com.ibm.mq.explorer.ui.rcp.internal.base.RcpApplication.run(RcpApplication.java:136)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
   at java.lang.reflect.Method.invoke(Method.java:391)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
   at org.eclipse.core.launcher.Main.run(Main.java:704)
   at org.eclipse.core.launcher.Main.main(Main.java:688)

WMQ Java GUI Trace History
.... ... ...
-------------------------------------

 Environment Variables
ALLUSERSPROFILE=D:\Documents and Settings\All Users
AMQ_EXPLORER="D:\Program Files\IBM\Eclipse SDK30\eclipse\eclipse"  -application com.ibm.mq.explorer.ui.rcp.RcpApplication  -data "D:\Documents and Settings\<username>\Application Data\IBM\MQ Explorer"  -vmargs -Xj9 -Xmx512M -noverify  "-DMQCHLLIB=" "-DMQCHLTAB=" "-DSystemDrive=C:"
ANT_HOME=D:\apache-ant-1.7.0
APPDATA=D:\Documents and Settings\<username>\Application Data
CLASSPATH=D:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;D:\product\10.1.3.1\oracleas\MOBILE\Sdk\bin\OLITE40.JAR;C:\MYPROJ~1\GBS-CM\core\lib\com.ibm.mq.jar;D:\apache-ant-1.7.0\bin\;D:\xalan-j_2_7_1\xalan.jar;D:\xalan-j_2_7_1\serializer.jar;D:\xalan-j_2_7_1\xml-apis.jar;D:\xalan-j_2_7_1\xercesImpl.jar;D:\xalan-j_2_7_1\samples\xalanservlet.jar;D:\xalan-j_2_7_1\samples\xalansamples.jar;
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=<localhost>
ComSpec=C:\WINNT\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=D:
HOMEPATH=\Documents and Settings\<username>
http_proxy=http://<username>:<passwd>@proxy.<mycompany>.com:8080
IBM_JAVA_COMMAND_LINE=D:\Program Files\IBM\Eclipse SDK30\eclipse\jre\bin\javaw.exe -Xj9 -Xmx512M -noverify -DMQCHLLIB= -DMQCHLTAB= -DSystemDrive=C: -cp D:\Program Files\IBM\Eclipse SDK30\eclipse\startup.jar org.eclipse.core.launcher.Main -os win32 -ws win32 -arch x86 -showsplash D:\Program Files\IBM\Eclipse SDK30\eclipse\eclipse.exe -showsplash 600 -exitdata D:\Program Files\IBM\Eclipse SDK30\eclipse\eclipse.exe -exitdata f3c_7a0 -application com.ibm.mq.explorer.ui.rcp.RcpApplication -data D:\Documents and Settings\<username>\Application Data\IBM\MQ Explorer -vm D:\Program Files\IBM\Eclipse SDK30\eclipse\jre\bin\javaw.exe -vmargs -Xj9 -Xmx512M -noverify -DMQCHLLIB= -DMQCHLTAB= -DSystemDrive=C: -cp D:\Program Files\IBM\Eclipse SDK30\eclipse\startup.jar org.eclipse.core.launcher.Main
include=D:\Program Files\IBM\WebSphere MQ\tools\c\include;D:\Program Files\IBM\WebSphere MQ\tools\cplus\include
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
lib=D:\Program Files\IBM\WebSphere MQ\tools\lib
LOGONSERVER=\\<localhost>
MQ_JAVA_DATA_PATH=D:\Program Files\IBM\WebSphere MQ
MQ_JAVA_INSTALL_PATH=D:\Program Files\IBM\WebSphere MQ\Java
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=D:\Program Files\IBM\Eclipse SDK30\eclipse\jre\bin;D:\Program Files\IBM\WebSphere MQ\Java\lib;D:\product\10.1.3.1\oracleas\jdk\bin;D:\product\10.1.3.1\oracleas\ant\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Dev-Apps\j2sdk1.4.2_04\bin;d:\Perl\site\bin;d:\Perl\bin;C:\PROGRA~1\Merant\vm\win32\bin;C:\PROGRA~1\Merant\vm\common\bin\win32;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Resource Kit;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\WinZip;c:\temp;C:\Program Files\UltraEdit;C:\PROGRA~1\ABSOLU~1;D:\product\10.1.3.1\oracleas\MOBILE\sdk\bin;C:\Dev-Apps\j2sdk1.4.2_04\bin;C:\Program Files\VanDyke Software\Clients\;C:\Program Files\Java\jdk1.6.0_07\bin;D:\Program Files\IBM\WebSphere MQ\bin;D:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0905
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=D:\DOCUME~1\<username>\LOCALS~1\Temp
TMP=D:\DOCUME~1\<username>\LOCALS~1\Temp
USERDOMAIN=<localhost>
USERNAME=<username>
USERPROFILE=D:\Documents and Settings\<username>
WF_RESOURCES=D:\oracle\ora92\WF\RES\WFus.RES
windir=C:\WINNT
MQM_LIB_PATH=D:\Program Files\IBM\WebSphere MQ\bin
MQ_JAVA_LIB_PATH=D:\Program Files\IBM\WebSphere MQ\java\lib
AMQECLIPSE=D:\Program Files\IBM\Eclipse SDK30\eclipse

+-----------------------------------------------------------------------------+
|                                                                             |
| WebSphere MQ First Failure Symptom Report                                   |
| =========================================                                   |
|                                                                             |
| Date/Time         :- Tue May 05 18:02:29 Eastern Daylight Time 2009         |
| Host Name         :- <localhost> (Windows XP Build 2600: Service Pack 2) |
| PIDS              :- 5724H7200                                              |
| LVLS              :- 6.0.0.0                                                |
| Product Long Name :- WebSphere MQ for Windows                               |
| Vendor            :- IBM                                                    |
| Probe Id          :- JC062003                                               |
| Application Name  :- MQM                                                    |
| Component         :- NativeCalls.getCommandServesStatus                     |
| SCCS Info         :- eclipse/common/amqjxtra.c, 1.13                        |
| Line Number       :- 609                                                    |
| Build Date        :- Apr 25 2008                                            |
| CMVC level        :- p000-L050519                                           |
| Build Type        :- IKAP - (Production)                                    |
| UserID            :- <username>                                                |
| Process Name      :- D:\Program Files\IBM\Eclipse SDK30\eclipse\jre\bin     |
|                      \javaw.exe                                             |
| Process           :- 00002484                                               |
| Thread            :- 00000001                                               |
| Major Errorcode   :- OK                                                     |
| Minor Errorcode   :- OK                                                     |
| Probe Type        :- INCORROUT                                              |
| Probe Severity    :- 4                                                      |
| Probe Description :- AMQ6125: An internal WebSphere MQ error has occurred.  |
| FDCSequenceNumber :- 1                                                      |
| Comment1          :-                                                        |
|   com/ibm/mq/commonservices/internal/utils/NativeCalls.wmq_native           |
|                                                                             |
+-----------------------------------------------------------------------------+
 
MQM Function Stack
xcsFFST
 
MQM Trace History
.... ... ...
Process Control Block
.... ... ...
 
Common Services Control Block
.... ... ...
Thread Control Block
.... ... ...
MTime Control Block
.... ... ...
MTime Index
.... ... ...
MTime Entries
.... ... ...

Component Dumps (Thread 00000001)
------< JC "Java CommonServices" >-----
Key 1: (null) = (null)
Key 2: (null) = (null)
Key 3: (null) = (null)
   at com.ibm.mq.commonservices.internal.trace.Trace.getJavaStack(Trace.java:1261)
   at com.ibm.mq.commonservices.internal.trace.Trace.wmq_FFST(Native Method)
   at com.ibm.mq.commonservices.internal.trace.Trace.FFST(Trace.java:990)
   at com.ibm.mq.commonservices.internal.trace.Trace.FFST(Trace.java:954)
   at com.ibm.mq.commonservices.internal.utils.NativeCalls.getCommandServesStatus(NativeCalls.java:907)
   at com.ibm.mq.explorer.ui.internal.queuemanager.UiQueueManager.getCommandServerStatus(UiQueueManager.java:1042)
   at com.ibm.mq.explorer.ui.internal.queuemanager.UiQueueManager.appendToContextMenu(UiQueueManager.java:776)
   at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView.fillContextMenu(MQNavigatorView.java:396)
   at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView$2.menuAboutToShow(MQNavigatorView.java:361)
   at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:286)
   at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:370)
   at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:367)
   at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:383)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:801)
   at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3320)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:2993)
   at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1391)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
   at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
   at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:222)
   at org.eclipse.swt.widgets.Display.runPopups(Display.java:2798)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2425)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
   at com.ibm.mq.explorer.ui.rcp.internal.base.RcpApplication.run(RcpApplication.java:136)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
   at java.lang.reflect.Method.invoke(Method.java:391)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
   at org.eclipse.core.launcher.Main.run(Main.java:704)
   at org.eclipse.core.launcher.Main.main(Main.java:688)

WMQ Java GUI Trace History
.... ... ...
-------------------------------------



Last edited by anveshita on Wed May 06, 2009 7:23 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 06, 2009 6:51 am    Post subject: Re: MQ Explorer 6.0 FDC Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anveshita wrote:
Please let me know what could be wrong:


A lack of maintenance. Please see here. Or an SSL problem. Please see here.

And please don't post the whole FDC file; it's only of value to IBM support and just makes the post cumbersome.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Wed May 06, 2009 6:53 am; edited 1 time in total
Back to top
View user's profile Send private message
manicminer
PostPosted: Wed May 06, 2009 6:53 am    Post subject: Re: MQ Explorer 6.0 FDC Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

Vitor wrote:
And please don't post the whole FDC file; it's only of value to IBM support and just makes the post cumbersome.


Beat me to it!
_________________
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Back to top
View user's profile Send private message
anveshita
PostPosted: Wed May 06, 2009 7:24 am    Post subject: Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

Eidited the post
Back to top
View user's profile Send private message
mqsidude
PostPosted: Wed May 06, 2009 7:31 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

Looks like it was a bug in the initial base version. Update your WMQ Explorer and let us know if that fixed the issue.
Back to top
View user's profile Send private message
anveshita
PostPosted: Wed May 06, 2009 12:36 pm    Post subject: New issue Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

mqsidude wrote:
Looks like it was a bug in the initial base version. Update your WMQ Explorer and let us know if that fixed the issue.

Thanks. I have added latest fix pack and it worked. Moving on ...
Now I have second issue: I would like to run mqexplorer from command line. My aim is to use contact admin once the following batchscript works fine from command line:
Code:

set APPDATA=D:\temp
strmqcfg -d       


When I use the batchsript from command line
The mqexplorer window flashes and prompt returns to the command line.
Following are the errors in eclipse log:
Code:


java.lang.IllegalStateException: The platform metadata area could not be written: D:\temp \IBM\MQ Explorer\.metadata.  By default the platform writes its content
under the current working directory when the platform is launched.  Use the -data parameter to
specify a different content area for the platform.
   at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:49)
   at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:76)
   at org.eclipse.core.internal.runtime.InternalPlatform.getStateLocation(InternalPlatform.java:1061)
   at org.eclipse.core.runtime.Plugin.getStateLocation(Plugin.java:290)
   at com.ibm.mq.explorer.ui.rcp.internal.base.RcpApplication.claimSingleInstanceLock(RcpApplication.java:171)
   at com.ibm.mq.explorer.ui.rcp.internal.base.RcpApplication.run(RcpApplication.java:83)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
   at java.lang.reflect.Method.invoke(Method.java:391)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
   at org.eclipse.core.launcher.Main.run(Main.java:704)
   at org.eclipse.core.launcher.Main.main(Main.java:688)


I have searched the forum:
Deleted some of the folders as suggested in one of the postings.
D:\Documents and Settings\<user>\Application Data\IBM\MQ Explorer\.metadata etc..

Please let me know how to resolve
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 06, 2009 1:39 pm    Post subject: Re: New issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anveshita wrote:
Please let me know how to resolve


Why are you not using the -data parameter as suggested?

Why are you trying to run MQExplorer from the command line? What advantage does that give you over the shortcut?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anveshita
PostPosted: Wed May 06, 2009 4:37 pm    Post subject: Re: New issue Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

Vitor wrote:

Why are you not using the -data parameter as suggested?

Thanks Vitor.
Can you please let me know how to use -data parm. I could not find this as one of the parameters that can be used for strmqcfg.
Quote:

Why are you trying to run MQExplorer from the command line? What advantage does that give you over the shortcut?

As I mentioned my plan is to run the script using with "contact admin" under different user. If you know any other way to perform the same please let me know.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed May 06, 2009 4:50 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9415
Location: US: west coast, almost. Otherwise, enroute.

Quote:
As I mentioned my plan is to run the script using with "contact admin" under different user. If you know any other way to perform the same please let me know.

Quote:
Why are you trying to run MQExplorer from the command line?

I'll rephrase for clarity: What are you trying to accomplish by running MQExplorer from the command line (script)? Do you want to do admin work non-GUI?

A caution: A satisfactory answer will not include 'because I want to ...' or ' my plan is to ...'
_________________
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
View user's profile Send private message
anveshita
PostPosted: Wed May 06, 2009 6:09 pm    Post subject: Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

Bruce2359:
Please see the following posting by me to understand why I have to use ( not one of the phrases you indicated ).
http://www.mqseries.net/phpBB2/viewtopic.php?t=47862&start=0&postdays=0&postorder=asc&highlight=contact admin
Please see the suggestion by SAFraser
Quote:

You do not need to logoff windows to use a different user ID to connect to a unix machine from MQExplorer.

Follow these instructions to create an appdata variable and set it in a batch file:
http://www.mqseries.net/phpBB2/viewtopic.php?t=25576&highlight=eclipse+user

Then use "contact admin" to launch the resulting batch file, launching it as the local user "unixuser1". The password you have assigned to "unixuser1" on the Windows machine is irrelevant to MQ on unix. I use this approach daily.

I believe that creating a winuser1 account on the unix box will not work as Windows is passing your entire domain ID (us/winuser1) to MQ.

Things are working from the java program because (unless you specify otherwise) it connects as user "mqm".



Hopefully that would explain why I am trying.

Now coming back to the problem on hand, can any one suggest why mqexplorer window flashes and prompt returns to the command line?
TIA.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed May 06, 2009 8:34 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9415
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Moving on ...
Now I have second issue: I would like to run mqexplorer from command line. My aim is to use contact admin once the following batchscript works fine from command line


Mea culpa. How could I have missed this?! You changed subjects in the same post. Bad post practice. Refering to one of your own prior posts is equally bad manners. At least the subject is the Explorer proudct - generally.

I'll try to pay closer attention... but only if you directly respond to a few questions.

Given that it is a GUI application, you have not stated why you want to run a GUI application from a script.

So, do you now want to run the MQExplorer in batch (background) from a script? Or just start it from a batch script? Are you trying to establish a contact admin command prompt from the script, then start explorer?

The reason for my confusion is that MQSC is WMQs batch scripting language.
_________________
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
View user's profile Send private message
bruce2359
PostPosted: Wed May 06, 2009 9:56 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9415
Location: US: west coast, almost. Otherwise, enroute.

It occurs to me that we might be having a language issue here. There is a difference and distinction between a goal and an objective. The objective is to win a football game, for example; a goal is, well, a goal - a step in persuit of the objective.

When I ask what you are trying to accomplish and you respond that you want to launch explorer from a script, that is a goal. I'm asking what is your end objective; not how you are attempting to get there.
_________________
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
View user's profile Send private message
mqjeff
PostPosted: Thu May 07, 2009 4:00 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Folks, it's entirely possible (and reasonable) that anveshita wants to give users not in mqm the ability to run MQExplorer under a restricted and known security ID.

anveshita - it seems that you are having difficulties either with the permissions on the D:\temp area or with having D:\temp be a viable path in the first place.

Is the D:\ drive local, or mapped? If it's mapped, is it always mapped in the shell that is running strmqcfg? Maybe you should add a "net use" command to your script first?

Also, notice that there's a space after "D:\temp" in that error message... maybe your script isn't setting the value of APPDATA correctly...
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 07, 2009 4:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anveshita wrote:
Please see the following posting by me to understand why I have to use ( not one of the phrases you indicated ).
http://www.mqseries.net/phpBB2/viewtopic.php?t=47862&start=0&postdays=0&postorder=asc&highlight=contact admin
Please see the suggestion by SAFraser


Ah! Now I see!

As per the error message you posted, you might need to use -data to point to a different area. Also (as my associate points out) make sure the user id in question has rights to that area.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anveshita
PostPosted: Fri May 08, 2009 12:46 pm    Post subject: Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

mqjeff, vitor:
Thanks for the input.
Quote:

Folks, it's entirely possible (and reasonable) that anveshita wants to give users not in mqm the ability to run MQExplorer under a restricted and known security ID.

Yes. That is exactly what I am trying.
Quote:
notice that there's a space after "D:\temp" in that error message...

Thanks for catching it. Yes I have corrected it and now I can start the mqexplorer gui from command line. This works as Windows signed in user. But I am not able to work it thru "contact admin" command

Details of the issue:
I have created a local id ,unixuser1 and tried to run the windows batch job mytest.bat from command line using 'contact admin' command . The mytest.bat job contains the following commands
Code:
set APPDATA=D:\temp
strmqcfg -d   


now when I run the command, a window flashes and MQEXPLORER gui would not start. I have tried to putting the debug statement
Code:
set AMQ_EXPLORER=%AMQ_EXPLORER% -debug -console

suggested on the forum, but it would not help.

Please let me know if you have any suggestions.
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » MQ Explorer 6.0 FDC
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.