UberFire User System Management Jetty Integration
by Ambarish Pande
Hello,
I am trying to deploy a webapp that uses uberfire workbench on Jetty
embedded. The webapp is Kie-workbench. I can see the login screen but when
i enter the credentials it shows error.
HTTP ERROR 500
Problem accessing /kie/kie-drools-wb.jsp. Reason:
Server Error
Caused by:
java.lang.NullPointerException
at java.util.HashSet.<init>(HashSet.java:116)
at org.jboss.errai.security.shared.api.identity.UserImpl.<init>(UserImpl.java:79)
at org.jboss.errai.security.shared.api.identity.UserImpl.<init>(UserImpl.java:68)
at org.uberfire.ext.security.server.ServletSecurityAuthenticationService.getUser(ServletSecurityAuthenticationService.java:115)
at org.uberfire.ext.security.server.ServletSecurityAuthenticationService$Proxy$_$$_WeldClientProxy.getUser(Unknown
Source)
at org.jboss.errai.security.server.servlet.UserHostPageFilter.doFilter(UserHostPageFilter.java:70)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at org.uberfire.ext.security.server.CacheHeadersFilter.doFilter(CacheHeadersFilter.java:67)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:57)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:522)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:368)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
I can see there is already an integration of User System Management with
Tomcat. Is there anything I can do ?. Maybe modify existing integrations to
suit jetty or anything?
Thanks in Advance.
--
*Thanks & Regards,*
*____________________________________________________________________*
*Ambarish Pande*
Associate Software Engineer
E: ambarish(a)datatorrent.com <devendra(a)datatorrent.com> | M:+91-9028293982
www.datatorrent.com | apex.apache.org
7 years, 3 months