title: Deploying jenkins war file using java command
body: <p>I am trying to deploy a jenkins war file. I executed the following command </p>
  
  <pre><code>java -jar jenkins.war
  </code></pre>
  
  <p>Below is the log file.</p>
  
  <blockquote>
    <p>PS C:\Sites> java -jar jenkins.war Running from: C:\Sites\jenkins.war
    webroot: $user.home/.jenkins Sep 03, 2014 6:09:15 PM winstone.Logger
    logInternal INFO: Beginning extraction from war file Sep 03, 2014
    6:09:28 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO:
    jetty-8.y.z-SNAPSHOT Sep 03, 2014 6:09:35 PM
    org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for ,
    did not find org.apache.jasper.servlet.JspServlet Jenkins home
    directory: C:\Users\Mathew.jenkins found at: $user.home/.jenkins
    Sep 03, 2014 6:09:46 PM org.eclipse.jetty.util.log.JavaUtilLog info
    INFO: Started SelectChannelConnector@0.0.0.0:8080 Sep 03, 2014 6:09:46
    PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0
    running: controlPort=disabled Sep 03, 2014 6:09:46 PM
    jenkins.InitReactorRunner$1 onAttained INFO: Started initialization
    Sep 03, 2014 6:10:26 PM jenkins.InitReactorRunner$1 onAttained INFO:
    Listed all plugins Sep 03, 2014 6:10:26 PM jenkins.InitReactorRunner$1
    onAttained INFO: Prepared all plugins Sep 03, 2014 6:10:26 PM
    jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Sep
    03, 2014 6:10:26 PM jenkins.InitReactorRunner$1 onAttained INFO:
    Augmented all extensions Sep 03, 2014 6:10:26 PM
    jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Sep 03,
    2014 6:10:42 PM org.jenkinsci.main.modules.sshd.SSHD start INFO:
    Started SSHD at port 55062 Sep 03, 2014 6:10:45 PM
    jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization
    Sep 03, 2014 6:10:45 PM hudson.WebAppMain$3 run INFO: Jenkins is fully
    up and running Sep 03, 2014 6:11:48 PM
    hudson.model.DownloadService$Downloadable load INFO: Obtained the
    updated data file for hudson.tasks.Maven.MavenInstaller Sep 03, 2014
    6:11:51 PM hudson.model.DownloadService$Downloadable load INFO:
    Obtained the updated data file for hudson.tasks.Ant.AntInstaller Sep
    03, 2014 6:11:52 PM hudson.model.DownloadService$Downloadable load
    INFO: Obtained the updated data file for hudson.tools.JDKInstaller Sep
    03, 2014 6:12:11 PM hudson.model.UpdateSite updateData INFO: Obtained
    the latest update center data file for UpdateSource default</p>
  </blockquote>
  
  <ol>
  <li>Can anyone tell me what does the command <code>java-jar jenkins.war</code> do?</li>
  <li>WHere did it deploy my war file?</li>
  <li>Which web server does it use and how does localhost:8080 point to jenkins application?</li>
  </ol>