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 » Unable to read workbench state.

Post new topic  Reply to topic
 Unable to read workbench state. « View previous topic :: View next topic » 
Author Message
kayhansefat
PostPosted: Wed Apr 04, 2007 3:21 am    Post subject: Unable to read workbench state. Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 04, 2007 3:48 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 04, 2007 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 4:49 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 04, 2007 5:03 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 04, 2007 6:11 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 04, 2007 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Wed Apr 04, 2007 7:20 am    Post subject: Reply with quote

Acolyte

Joined: 18 Oct 2006
Posts: 65

Ok many thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Unable to read workbench state.
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.