Author |
Message
|
kayhansefat |
Posted: Wed Apr 04, 2007 3:21 am Post subject: Unable to read workbench state. |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
OS: Red Hat AS v3
Broker: v6
MQ: v6
When running MQ with the command "strmqcfg" I get the error:
Quote: |
Unable to read workbench state. Workbench UI layout will be reset. |
I am not understanding why as all I am doing at the moment is deploying/redeploying flows in the toolkit etc. I have found:
http://www-1.ibm.com/support/docview.wss?uid=swg21191623
but this seems to be specific to WSAD, should I follow what it recommends? Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 04, 2007 3:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you add a support pack to MQ Explorer, to allow you to "deploy flows" from what gets started by strmqcfg? Did it install correctly? Are you sure?
Did you try deleting the workspace? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 4:32 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
jeff, no I havent installed anything mq related recently. The only thing has been the Toolkit 6.0.2 Interim Fix 005 via the RPU.
I have removed the file:
/home/wbiadmin/IBM/wmbt6.0/workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
with no change. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 04, 2007 4:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay.
Let's start over.
"strmqcfg" launches the WebSphere MQ Explorer.
Unless you have done something SPECIFIC to link the two, the WebSphere MQ Explorer and the WMB Toolkit are completely unrelated and perform completely different functions.
Have you done something to link these two completely separate tools, that use completely separate installation directories and completely separate workspaces?
If not, then exactly which one is exhibiting the problem - the MQ Explorer or the WMB Toolkit?
If you have done something to link the two, then what did you do? And what have you done SINCE then? And are you sure that nobody else has done anything? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 4:49 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
I agree and understand that they are both completely unrelated. I have not done anything to attempt to link the two and yes they have completely different installation directories and workspaces.
Sorry for the confusion, the toolkit is fine, the MQ Explorer is the one that is coming up with the error when I run the strmqcfg command. No-one else has access to the server I am working on. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 04, 2007 5:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay. Then you're not trying to "deploy flows" when you get this error.
The workspace you have deleted is not the workspace for the MQ Explorer.
If I recall correctly, on linux that's somewhere in a dotted directory in ~. ~/.mqm? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 6:07 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
Right I have had a look and I can only really see 2 places where I think the workspace could exist. The first is:
/home/wbiadmin/.mqdata/.metadata
in there there is a .plugins/ directory and a .log file. The entry in the log file that seems to match the time that I am trying to run MQ Explorer highlights:
Quote: |
!ENTRY org.eclipse.osgi Apr 04, 2007 14:31:15.277
!MESSAGE An error occured while automatically activating bundle com.ibm.mq.explorer.ui (368).
!STACK 0
org.osgi.framework.BundleException: Exception in com.ibm.mq.explorer.ui.internal.base.UiPlugin.start() of bundle com.ibm.mq.explorer.ui.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:975)
.
.
.
Root exception:
java.lang.NullPointerException
at com.ibm.mq.explorer.ui.internal.attributeorder.AttributeOrderPersistence.loadAttributeOrderRegistrationIds(AttributeOrderPersistence.java:233)
.
.
.
!ENTRY org.eclipse.core.runtime 4 1 Apr 04, 2007 14:31:15.290
!MESSAGE Plug-in com.ibm.mq.explorer.ui was unable to load class com.ibm.mq.explorer.ui.internal.perspective.MQPerspective.
!STACK 0
java.lang.ClassNotFoundException: com.ibm.mq.explorer.ui.internal.perspective.MQPerspective
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:404)
.
.
. |
There is also a workbench.xml file in:
/home/wbiadmin/.mqdata/.metadata/.plugins/org.eclipse.ui.workbench
The other place is in the installation directory of mq:
/opt/mqm
Could you just clarify what exactly I have to do to remove the workspace? Just remove a single file or directory? |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 6:10 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
Sorry BEFORE that extract from the log I forgot to include:
Quote: |
!SESSION Apr 04, 2007 14:31:12.180 ---------------------------------------------
eclipse.buildId=I200406192000
java.fullversion=J2RE 1.4.2 IBM J9 2.2 Linux x86-32 j9xia32142-20040917 (JIT enabled)
J9VM - 20040916_0910_lHdSMR
JIT - r7_level20040915_1801
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -application com.ibm.mq.explorer.ui.rcp.RcpApplication
!ENTRY org.eclipse.core.runtime 4 2 Apr 04, 2007 14:31:12.181
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2534)
.
.
.
|
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 04, 2007 6:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Right, it's the entire .mqdata directory. Delete it, re-run strmqcfg, and report back. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 7:14 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
Yep, that has done the job, many thanks. Any ideas though what could have caused it? Do you think it was a corruption of some kind? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 04, 2007 7:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Clearly something got mangled, yes. What, harder to say, and why almost impossible (at least for me, from here...). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kayhansefat |
Posted: Wed Apr 04, 2007 7:20 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
|
Back to top |
|
 |
|