| Author | 
		  Message
		 | 
		
		  | vininx | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 12:44 am    Post subject: Unable to start broker in windows | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 13 Oct 2009 Posts: 69
  
  | 
		  
		    
			  
				Hi All,
 
        I am getting the below error when trying to start the broker from MQ explorer, the error is from explorer trace,
 
 
 
BETrace TRACE   2011/08/23 04:33:25 main            Broker Explorer Trace Plugin starting up.
 
BETrace TRACE   2011/08/23 04:33:25 main            Broker Explorer Plugin starting up on date:2011/08/23 04:33:25
 
BETrace TRACE   2011/08/23 04:33:31 main            Set up MQDouble Click Listener
 
BETrace TRACE   2011/08/23 04:33:33 main            viewOpened notification received - com.ibm.mq.explorer.view.navigator
 
BETrace TRACE   2011/08/23 04:33:33 main            MQExplorer Initialised
 
BETrace TRACE   2011/08/23 04:33:34 main            viewOpened notification received - com.ibm.mq.explorer.view.content
 
BETrace THROW   2011/08/23 04:34:47 main            Error creating runtime wizard for broker MB.impl.BrokerImpl@1e781e78 (Name: BRKVT1, FADLevel: 5, AdminAgentPID: 6096, NewComponent: true, IsRunning: false, Autoreconnect: true) (BrokerUUID: a7f76134-456b-4482-b3d1-a00eab8778e1, ConfigurationDelayTimeout: 0, ConfigurationTimeout: 0, DataSourceName: null, DataSourceUserId: null, MigrationNeeded: false, MQTrustedQueueManager: false, PubSubAccessControl: false, StatisticsMajorInterval: 0, SVRCONNChannel: SYSTEM.BKR.CONFIG, CCDT: null, AccountingStatsSetup: false, StatsSVRCONNChannel: SYSTEM.DEF.SVRCONN, LocalRuntimeLocation: null)
 
java.lang.NullPointerException
 
	at com.ibm.etools.wmadmin.broker.runtime.operations.MqsiVersionFinder.<init>(MqsiVersionFinder.java:62)
 
	at com.ibm.etools.wmadmin.broker.runtime.wizards.FacelessRuntimeWizard.getInstalledLocation(FacelessRuntimeWizard.java:277)
 
	at com.ibm.etools.wmadmin.broker.explorer.BrokerTreeNode.actions.StartBrokerAction.<init>(StartBrokerAction.java:83)
 
	at com.ibm.etools.wmadmin.broker.explorer.BrokerTreeNode.LocalBrokerTreeNode.appendToContextMenu(LocalBrokerTreeNode.java:273)
 
	at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView.fillContextMenu(MQNavigatorView.java:520)
 
	at com.ibm.mq.explorer.ui.internal.views.MQNavigatorView$2.menuAboutToShow(MQNavigatorView.java:477)
 
	at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:290)
 
	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:395)
 
	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:391)
 
	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:417)
 
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
 
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
 
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
 
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
 
	at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3981)
 
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3698)
 
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
 
	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1554)
 
	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1753)
 
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
 
	at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
 
	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:228)
 
	at org.eclipse.swt.widgets.Display.runPopups(Display.java:3708)
 
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3287)
 
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
 
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
 
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
 
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
 
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
 
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
 
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 
	at com.ibm.mq.explorer.ui.rcp.internal.base.RcpApplication.run(RcpApplication.java:145)
 
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
	at java.lang.reflect.Method.invoke(Method.java:615)
 
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:572)
 
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:171)
 
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
 
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
 
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
 
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
	at java.lang.reflect.Method.invoke(Method.java:615)
 
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
 
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
 
	at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
 
	at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
 
 
moreover, when I tried to start the broker from command line, it says that the system path cannot be find. I am running the command after setting the path. Please advise. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | MQIBM | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 1:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 04 Aug 2011 Posts: 9
  
  | 
		  
		    
			  
				| go Control Panel->Services-> Look for MQ. is it disabled or manual stop. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vininx | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 1:14 am    Post subject: Unable to start broker in windows | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 13 Oct 2009 Posts: 69
  
  | 
		  
		    
			  
				| IBM MQSeries service is in "Running" state | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 4:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
			  
				What runtime version and runtime platform are you starting? 
 
 
   
	| Code: | 
   
  
	| "Fixpack capability level = '7.0.0.2' (effective level '7.0.0.2')" | 
   
 
 
 
mqsireportbroker <brokername> _________________ http://leanpub.com/IIB_Tips_and_Tricks
 
Save $20: Coupon Code: MQSERIES_READER | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dstorey | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 4:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Novice
 
 Joined: 25 Mar 2002 Posts: 15 Location: UK 
  | 
		  
		    
			  
				This sounds like your mqsiprofile may not have been run and you broker environment is not set up correctly.
 
 
Are you running the Command Console from Start Menu->IBM WebSphere Message Broker-> CommandConsole? 
 
 
What version of broker are you using? Can you add your SET environment here? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 4:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 5:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Even without code tags, there's a fair amount of responses here that didn't actually read the original message.
 
 
Vinix - did you restart the machine after installing Broker and MQ?  Did you restart MQ Explorer after installing the MBAdmin perspective? 
 
 
Does the broker start up if you do actually use the command prompt and apply the mqsiprofile and use mqsistart?
 
 
Does the broker show up as a proper and correct windows service? 
 
 
Are there additional errors in the Event Viewer that indicate that the broker attempted to start up and failed? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Aug 23, 2011 6:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Last but not least, if everything else fails, did you try starting the broker as administrator?
 
(right click on broker command window shortcut and choose run as Administrator then run your mqsi commands.)
 
 
Have fun   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |