Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No LoginService"-Error on running "jszip:run" if you have defined form authentification in web.xml #4

Open
kreyssel opened this issue Mar 4, 2013 · 1 comment

Comments

@kreyssel
Copy link

kreyssel commented Mar 4, 2013

If i start my test project via jszip:run i got a "No LoginService"-Error.

I use normally to test my app the tomcat maven plugin. How can I define this for jszip-maven-plugin?

[INFO] --- jszip-maven-plugin:0.1-alpha-9:run (default-cli) @ gamification302-webapp ---
[INFO] Starting JSZip run: module de.interforum.gamification302:gamification302-webapp
04.03.2013 10:15:09 org.eclipse.jetty.server.Server doStart
INFO: jetty-8.1.8.v20121106
04.03.2013 10:15:09 org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started SelectChannelConnector@0.0.0.0:8080
[INFO] Adding org.jszip.redist:angularjs:1.1.3 to virtual filesystem
[INFO] Adding org.jszip.redist:jquery:1.9.1 to virtual filesystem
[INFO] Adding org.jszip.redist:bootstrap:2.3.1 to virtual filesystem
04.03.2013 10:15:13 org.eclipse.jetty.plus.webapp.PlusConfiguration bindUserTransaction
INFO: No Transaction manager found - if your webapp requires one, please configure one.
Null identity service, trying login service: null
Finding identity service: null
04.03.2013 10:15:13 org.eclipse.jetty.util.component.AbstractLifeCycle setFailed
WARNUNG: FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@5beb18de: java.lang.IllegalStateException: No Login
Service for org.eclipse.jetty.security.authentication.FormAuthenticator@31c480e8 in org.eclipse.jetty.security.Constrain
tSecurityHandler@5beb18de
java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@31c480e
8 in org.eclipse.jetty.security.ConstraintSecurityHandler@5beb18de
at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:61)
at org.eclipse.jetty.security.authentication.FormAuthenticator.setConfiguration(FormAuthenticator.java:130)
at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:380)
at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:452)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:124)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:752)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.jszip.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:188)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.jszip.maven.RunMojo.execute(RunMojo.java:428)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

@stephenc
Copy link
Member

I think this one will be waiting for the refactor I need to do for -alpha to -beta as I don't want to complicate the code further pulling in the jetty plugin features

  • Just setting your expectations on this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants