|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  mqsichangeflowmonitoring , BIP5009E: XML Parsing Errors | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | vickas | 
		  
		    
			  
				 Posted: Fri Apr 04, 2014 5:45 am    Post subject: mqsichangeflowmonitoring , BIP5009E: XML Parsing Errors | 
				     | 
			   
			 
		   | 
		 
		
		   Centurion
 
 Joined: 18 Aug 2013 Posts: 126
  
  | 
		  
		    
			  
				Hello All ,
 
I wanted to configure monitoring to the deployed flow but  it had given  following exception upon running 
 
 
 mqsichangeflowmonitoring IB9NODE -e default  -f  MSGFLOW -m
 
myMonitoringProfile
 
 
BIP8045E: The message flow is not available.
 
The message flow could not be found; it may have been deleted by the IntegrationToolkit or a CMP application.
 
Use the Integration Toolkit or a CMP application to see if the message flow exists.  
 
 
(BUt its deployed and exists in the toolkit ) 
 
 
and when i run the following command 
 
 
mqsichangeflowmonitoring IB9NODE -e default -k NOTMONITORED -f  MSGFLOW -m myMonitoringProfile
 
 
BIP2087E: Broker 'IB9NODE' was unable to process the internal configuration message.
 
 
BIP4041E: Execution group 'default' received an administration request that encountered an exception
 
 
BIP5009E: XML Parsing Errors have occurred.
 
Errors have occurred during parsing of XML.
 
 
BIP8036E: Negative response received.
 
 
which command should i use ? 
 
 the first command or the latter  one ?
 
 
 
I have the monitoringprofile.xsd along with my flow , this is what my monitoringprofile.xml looks like  (copied from sample)
 
 
   
	| Code: | 
   
  
	<?xml version="1.0" encoding="UTF-8"?>
 
<p:monitoringProfile p:version="2.0" xmlns:p="http://www.ibm.com/xmlns/prod/websphere/messagebroker/6.1.0.3/monitoring/profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="MonitoringProfile.xsd ">
 
  <p:eventSource p:enabled="true" p:eventSourceAddress="">
 
    <p:eventPointDataQuery>
 
      <p:eventIdentity>
 
        <p:eventName p:literal="" p:queryText="">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:eventName>
 
      </p:eventIdentity>
 
      <p:eventCorrelation>
 
        <p:localTransactionId p:queryText="" p:sourceOfId="automatic">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:localTransactionId>
 
        <p:parentTransactionId p:queryText="" p:sourceOfId="automatic">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:parentTransactionId>
 
        <p:globalTransactionId p:queryText="" p:sourceOfId="automatic">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:globalTransactionId>
 
      </p:eventCorrelation>
 
      <p:eventSequence p:name="creationTime"/>
 
    </p:eventPointDataQuery>
 
    <p:applicationDataQuery>
 
      <p:simpleContent p:dataType="boolean" p:name="" p:targetNamespace="">
 
        <p:valueQuery p:queryText="" xsi:type="p:queryType">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:valueQuery>
 
      </p:simpleContent>
 
      <p:complexContent p:name="" p:targetNamespace="">
 
        <p:payloadQuery p:queryText="" xsi:type="p:queryType">
 
          <p:prefixMapping p:URI="" p:prefix=""/>
 
        </p:payloadQuery>
 
      </p:complexContent>
 
    </p:applicationDataQuery>
 
    <p:bitstreamDataQuery p:bitstreamContent="none" p:encoding="none"/>
 
  </p:eventSource>
 
</p:monitoringProfile> | 
   
 
 
 
I have also checked the validity of the  above xml with the monitoringprofile.xsd  and it says ok . Is there anything wrong with monitoringprofile.xml ? anything to add ? 
 
 
what is the problem ??
  Last edited by vickas on Fri Apr 04, 2014 6:02 am; edited 6 times in total | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Apr 04, 2014 5:50 am    Post subject: Re: mqsichangeflowmonitoring , BIP5009E: XML Parsing Errors | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| vickas wrote: | 
   
  
	| what is the problem ?? | 
   
 
 
 
Well.....
 
 
   
	| vickas wrote: | 
   
  
	
 
BIP8045E: The message flow is not available.
 
The message flow could not be found; it may have been deleted by the IntegrationToolkit or a CMP application.
 
Use the Integration Toolkit or a CMP application to see if the message flow exists.  
 
BUt its deployed and exists
 
 | 
   
 
 
 
... the software disagrees with you. Post the result of an mqsilist of the default EG.
 
 
The XML error is because you're trying to use a non-existent profile (non-existent because the first command failed. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | vickas | 
		  
		    
			  
				 Posted: Fri Apr 04, 2014 6:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Centurion
 
 Joined: 18 Aug 2013 Posts: 126
  
  | 
		  
		    
			  
				@vitor 
 
 
HIe vitor , 
 
 
Here is the result set of  mqsi IB9NODE -e default 
 
 
 
BIP1275I: Application 'NOTMONITORED' on execution group 'default' is running.
 
BIP1275I: Application 'SampleMultiRecords' on execution group 'default' is running. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Apr 04, 2014 7:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| vickas wrote: | 
   
  
	@vitor 
 
 
HIe vitor , 
 
 
Here is the result set of  mqsi IB9NODE -e default 
 
 
 
BIP1275I: Application 'NOTMONITORED' on execution group 'default' is running.
 
BIP1275I: Application 'SampleMultiRecords' on execution group 'default' is running. | 
   
 
 
 
Can you run that in a recursive mode? The application level is too high. We need the flow level here...
 
 
Thanks   _________________ MQ & Broker admin | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |