Hi All,
I have written a class which starts jetty during which it deploys a web application on the jetty.
The jetty is getting started but there is some problem while deploying my web application.
if i place the web application's war on jetty explicitly , it works fine.
but when i try to do it from my
java program , its giving me following exception :
not able to understand where i am going wrong.
----------------------------------------------------------------------------------------------------------------------------------------------------------
java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@f73c1
at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:33)
at org.eclipse.jetty.security.authentication.DelegateAuthenticator.setConfiguration(DelegateAuthenticator.java:29)
at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:331)
at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:200)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:82)
at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:117)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:82)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:581)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:552)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:350)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:82)
at org.eclipse.jetty.server.Server.doStart(Server.java:221)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55
------------------------------------------------------------------------------------------------------------------------------------
can somebody tell me what am i missing here ???