title: Trigger monitor does not work
body: <p>I have created a queue manager (<code>IBM WebSphere MQ-&gt;QueueManagers-&gt;new-&gt;QueueManager</code>)</p>
  
  <p>I have created a initiation Queue (<code>QueueManager-&gt;Queues-&gt;New-&gt;Local Queue</code>):</p>
  
  <ul>
  <li>Queue name: <code>INITQUEUE</code></li>
  <li>Put Message &amp; Get Message:<code>Allowed</code></li>
  <li>Scope:<code>Queue manager</code></li>
  </ul>
  
  <p>I have created a process (<code>Process Definitions-&gt;New-&gt;Process Definition</code>):</p>
  
  <ul>
  <li>Process name:<code>Paint</code></li>
  <li>Application Type:<code>DOS</code></li>
  <li>Application ID:<code>C:\Users\Desktop\paint.bat</code></li>
  </ul>
  
  <p>I have created an application queue (<code>QueueManager-&gt;Queues-&gt;New-&gt;Local Queue</code>):</p>
  
  <ul>
  <li>Trigger type: <code>First</code></li>
  <li>Trigger control: <code>On</code></li>
  <li>Initiation queue: <code>INITQUEUE</code></li>
  <li>Process name: <code>sample</code></li>
  </ul>
  
  <p>I have created a service to start the trigger monitor (<code>Services-&gt;New-&gt;Service</code>):</p>
  
  <ul>
  <li>service type: <code>server</code></li>
  <li>service control : <code>Queue Manager</code></li>
  <li>Start command: <code>C:\Program Files (x86)\IBM\WebSphere MQ\bin\runmqtrm</code></li>
  <li>Start args: <code>-q INITQUEUE</code></li>
  </ul>
  
  <p>When a messages put to the application Queue, no trigger message is inserted into the initiation Queue.</p>
  
  <p>When I start the trigger monitor, it automatically stops after few seconds.  </p>
  
  <p>How do I correct these issues.    </p>
  
  <p>This is the output got when I start the runmqtrm:</p>
  
  <pre><code>C:\Program Files (x86)\IBM\WebSphere MQ\bin&gt;runmqtrm -m QMGR -q INITQUEUE 
  
  5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.  
  11/3/2017  01:54:43: WebSphere MQ trigger monitor started.  
  
  __________________________________________________
  11/3/2017  01:55:04: Waiting for a trigger message
  </code></pre>
  
  <p>There is no error in <code>AMQERR01.LOG</code>. But the process is not working.
  Also when a data is inserted into Application queue, it is does not enable the initiation queue.
  And in CMD it says as WebSphere MQ trigger monitor started,initiation queue's open input count increases to 1 but in my UI it still remains as stopped.  </p>
  
  <p><strong>Version of MQ server:</strong>    </p>
  
  <pre><code>Name:        WebSphere MQ  
  Version:     7.5.0.2  
  Level:       p750-002-130627  
  BuildType:   IKAP - (Production)  
  Platform:    WebSphere MQ for Windows  
  Mode:        32-bit  
  O/S:         Windows 7 Professional x64 Edition, Build 7601: SP1  
  InstName:    Installation1  
  InstDesc:  
  Primary:     Yes  
  InstPath:    C:\Program Files (x86)\IBM\WebSphere MQ  
  DataPath:    C:\Program Files (x86)\IBM\WebSphere MQ  
  MaxCmdLevel: 750  
  AMQ8351: WebSphere MQ Java environment has not been configured correctly.  
  AMQ8351: WebSphere MQ Java environment has not been configured correctly.  
  
  Name:        IBM WebSphere MQ custom channel for Windows Communication Foundatio
  n  
  Version:     7.5.0.2  
  Level:       wn750-002-130611_P  
  Build Type:  Production  
  
  Name:        IBM Message Service Client for .NET (XMS .NET)  
  Version:     2.5.0.2  
  Level:       nn250-002-130627  
  Build Type:  Production  
  
  Name:        IBM Global Security Kit for WebSphere MQ  
  Version:     8.0.14.28  
  Build Type:  Production  
  Mode:        32-bit  
  
  Name:        IBM Global Security Kit for WebSphere MQ  
  Version:     8.0.14.28  
  Build Type:  Production  
  Mode:        64-bit  
  </code></pre>