title: Running Jenkins on Tomcat Fail applicaton at context path /jenkins could not be started
body: <p>For a few days I am trying to set Jenkins on Tomcat7 without any result... I read many tutorials and I could not find any help...</p>
  
  <p>I set a virtual system on VirtualBox -> Ubuntu 12.04.04</p>
  
  <p>Using apt-get I installed tomcat7, and then Jenkins.
  While using them separately by usingcommad <code>sudo service tomcat7 start</code> or <code>sudo service jenkins start</code> both services starts and are visable on my localhost.</p>
  
  <p>However, when I copied jenkins.war to /var/lib/tomcat7/webapps I cannot run it via tomcat.
  I have set JENKINS_HOME as /var/lib/jenkins.
  In the folder /usr/share/tomcat7 i run these commands: <code>sudo mkdir .jenkins | sudo chown tomcat7:nogroup .jenkins</code>
  And from localhost:8080/manager jenkins is viable:
   <a href="https://i.stack.imgur.com/8vB0I.png" rel="nofollow"><img src="https://i.stack.imgur.com/8vB0I.png" alt="enter image description here"></a></p>
  
  <p>When I try <code>localhost:8080/jenkins</code> as tutorials says I get en error message: <a href="https://i.stack.imgur.com/Qy7da.png" rel="nofollow"><img src="https://i.stack.imgur.com/Qy7da.png" alt="enter image description here"></a></p>
  
  <p>I really have no idea what am I doing wrong...
  What else may I try to make it work?</p>