title: Apache tomcat7 as windows service
body: <p>I am trying to create a windows service for Apache tomcat 7.0.45. 
  ( in windows version 7)</p>
  
  <p>I executed this :</p>
  
  <pre><code>C:/tomcat7/bin&gt; service install Mytomcat7
  </code></pre>
  
  <p>Windows service has been created. but it wont start and throws "specific server error code 4".</p>
  
  <p>Can you please help with the steps to create windows service.</p>