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 » WebSphere Message Broker (ACE) Support » WMB7 mqsicreatebar hangs in console

Post new topic  Reply to topic
 WMB7 mqsicreatebar hangs in console « View previous topic :: View next topic » 
Author Message
MrSmith
PostPosted: Tue Apr 05, 2011 3:14 am    Post subject: WMB7 mqsicreatebar hangs in console Reply with quote

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

This is from within the windows command console
Code:
C:\Program Files\IBM\MQSI\7.0>mqsicreatebar -data C:/IBM/buildworkspace -b FRED -cleanbuild -p ETMCoreArtefactsJava ETMC
oreArtefactsWMB ETMCoreArtefactsWMBJava ETMCoreArtefactsWTX GPSArtefactsJava ETMUtils wmb-util -o ETMCoreArtefactsWMB/ba
tch/BatchConsumer.msgflow
BIP0986I Command completed successfully.




^C
C:\Program Files\IBM\MQSI\7.0>
C:\Program Files\IBM\MQSI\7.0>
C:\Program Files\IBM\MQSI\7.0>
C:\Program Files\IBM\MQSI\7.0>
C:\Program Files\IBM\MQSI\7.0>mqsicreatebar -data C:/IBM/buildworkspace -b FRED.bar -p ETMCoreArtefactsJava ETMCoreArtef
actsWMB ETMCoreArtefactsWMBJava ETMCoreArtefactsWTX GPSArtefactsJava ETMUtils wmb-util -o ETMCoreArtefactsWMB/batch/Batc
hConsumer.msgflow
BIP0986I Command completed successfully.




^C
C:\Program Files\IBM\MQSI\7.0>


Any ideas or is this a PMR? I have goggled it and have tried with cleanbuild and without as shown. Thanks

Am at fixpack 2.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Apr 05, 2011 3:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

This is a known bug for flows containing WTX. I've not yet seen it happen on flows that do not contain WTX.

Open a PMR to get the fix.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
MrSmith
PostPosted: Tue Apr 05, 2011 4:04 am    Post subject: Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

cheers for reply lancelotlinc,

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??
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 » WebSphere Message Broker (ACE) Support » WMB7 mqsicreatebar hangs in console
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.