Posted: Tue Apr 05, 2011 3:14 am Post subject: WMB7 mqsicreatebar hangs in console
Master
Joined: 20 Mar 2008 Posts: 215
Attached is screen shot of simple mqsicreatebar run in the command console but having created the bar (which incidentally is fine when opened in toolkit) does not terminate but just hangs until CTRL-C is pressed. This also happens when run from inside an ANT script and from within a java. class calling the command
some of the flows are with WTX some without, will persue to see same still happens on those without WTX but thanks for headsup, will see about PMR.
UPDATE:- OK have tried to run same with a single flow that has no WTX nodes in it and get the sort of same thing as there is a workbench issue that comes before hand but then still creates the bar file and then hangs!
Code:
C:\Program Files\IBM\MQSI\7.0>mqsicreatebar -data C:/IBM/buildworkspace -b C:/IBM/buildworkspace/kevin1.bar -p ETMCoreAr
tefactsJava ETMCoreArtefactsWMB ETMCoreArtefactsWMBJava ETMCoreArtefactsWTX GPSArtefactsJava ETMUtils wmb-util -o ETMCor
eArtefactsWMB/batch/BatchHandler.msgflow
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(Unknown Source)
at org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Unknown Source)
at com.ibm.websphere.dtx.ui.me.views.MEPlugin.getFontRegistry(Unknown Source)
at com.ibm.websphere.dtx.ui.me.views.MEPlugin.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Unknown Source)
at org.eclipse.osgi.framework.util.SecureAction.start(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(Unknown Source)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.addModifyListener(Unknown Source)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.getModifyListeners(Unknown Source)
at org.eclipse.core.internal.preferences.PreferencesService.firePreApplyEvent(Unknown Source)
at org.eclipse.core.internal.preferences.PreferencesService.applyPreferences(Unknown Source)
at org.eclipse.core.internal.resources.ProjectPreferences.read(Unknown Source)
at org.eclipse.core.internal.resources.ProjectPreferences.updatePreferences(Unknown Source)
at org.eclipse.core.internal.resources.File.updateMetadataFiles(Unknown Source)
at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(Unknown Source)
at org.eclipse.core.internal.localstore.UnifiedTree.accept(Unknown Source)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(Unknown Source)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(Unknown Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Unknown Source)
at org.eclipse.core.internal.resources.Project.open(Unknown Source)
at org.eclipse.core.internal.resources.Project.open(Unknown Source)
at com.ibm.etools.mft.bar.cmdline.OpenWorkspaceRunnable.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at com.ibm.etools.mft.bar.cmdline.CommandProcessor.openWorkspace(Unknown Source)
at com.ibm.etools.mft.bar.cmdline.CommandProcessor.process(Unknown Source)
at com.ibm.etools.mft.bar.cmdline.CompilerLaunch.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
BIP0986I Command completed successfully.
Its as if it needs to have the workbench "run" then closed??
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