title: HTTP ERROR: 503 ... accessing /jenkins. Reason: Service Unavailable
body: <p>I'm trying to deploy <strong>Jenkins</strong> in <strong>Jetty</strong>'s /webapps. I've copied jenkins.war to this directory, restarted Jetty, but when I point to <a href="http://localhost:8080/jenkins" rel="noreferrer">http://localhost:8080/jenkins</a>, the system warn:</p>
  
  <p><strong>HTTP ERROR: 503 Problem accessing /jenkins. Reason: Service Unavailable</strong></p>
  
  <p>Here is my console log</p>
  
  <pre><code>2012-02-02 09:13:39.912:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@1985384 in org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7
  java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@1985384 in org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7
      at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:44)
      at org.eclipse.jetty.security.authentication.FormAuthenticator.setConfiguration(FormAuthenticator.java:103)
      at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:341)
      at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:228)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:122)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:745)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
      at org.eclipse.jetty.server.Server.doStart(Server.java:263)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
      at org.eclipse.jetty.start.Main.start(Main.java:600)
      at org.eclipse.jetty.start.Main.main(Main.java:82)
  2012-02-02 09:13:39.913:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.session.SessionHandler@16ef3b1: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@1985384 in org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7
  java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@1985384 in org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7
      at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:44)
      at org.eclipse.jetty.security.authentication.FormAuthenticator.setConfiguration(FormAuthenticator.java:103)
      at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:341)
      at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:228)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:122)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:745)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
      at org.eclipse.jetty.server.Server.doStart(Server.java:263)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
      at org.eclipse.jetty.start.Main.start(Main.java:600)
      at org.eclipse.jetty.start.Main.main(Main.java:82)
  2012-02-02 09:13:39.914:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/jenkins,file:/tmp/jetty-0.0.0.0-8080-jenkins.war-_jenkins-any-/webapp/},/home/ic/jetty/webapps/jenkins.war
  java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@1985384 in org.eclipse.jetty.security.ConstraintSecurityHandler@22bbe7
      at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:44)
      at org.eclipse.jetty.security.authentication.FormAuthenticator.setConfiguration(FormAuthenticator.java:103)
      at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:341)
      at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:228)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:122)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:745)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
      at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
      at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
      at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
      at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
      at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
      at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
      at org.eclipse.jetty.server.Server.doStart(Server.java:263)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
      at org.eclipse.jetty.start.Main.start(Main.java:600)
      at org.eclipse.jetty.start.Main.main(Main.java:82)
  ...
  
  2012-02-02 09:13:41.235:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
  </code></pre>
  
  <p>How can I fix this? </p>
  
  <p>Thanks in advance.</p>