ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (Jira)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-2687) NoClassDefFoundError when Ranger Knox plugin is enabled
Date Wed, 08 Jan 2020 05:06:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pradeep Agrawal updated RANGER-2687:
------------------------------------
    Attachment: 0001-RANGER-2687-NoClassDefFoundError-when-Ranger-Knox-pl.patch

> NoClassDefFoundError when Ranger Knox plugin is enabled
> -------------------------------------------------------
>
>                 Key: RANGER-2687
>                 URL: https://issues.apache.org/jira/browse/RANGER-2687
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.1.0
>            Reporter: Pradeep Agrawal
>            Assignee: Pradeep Agrawal
>            Priority: Major
>             Fix For: 2.1.0
>
>         Attachments: 0001-RANGER-2687-NoClassDefFoundError-when-Ranger-Knox-pl.patch
>
>
> {code:java}
> 2019-10-02 04:01:36,593 ERROR knox.gateway (GatewayServlet.java:service(137)) - Gateway
processing failed: javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException:
java.security.PrivilegedActionException: javax.servlet.ServletException: java.lang.NoClassDefFoundError:
com/sun/jersey/api/client/config/ClientConfig
> javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: java.security.PrivilegedActionException:
javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/sun/jersey/api/client/config/ClientConfig
>         at org.apache.shiro.web.servlet.AdviceFilter.cleanup(AdviceFilter.java:196)
>         at org.apache.shiro.web.filter.authc.AuthenticatingFilter.cleanup(AuthenticatingFilter.java:155)
>         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:148)
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
>         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
>         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
>         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
>         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
>         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
>         at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:349)
>         at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:263)
>         at org.apache.knox.gateway.filter.ResponseCookieFilter.doFilter(ResponseCookieFilter.java:49)
>         at org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:58)
>         at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:349)
>         at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:263)
>         at org.apache.knox.gateway.filter.XForwardedHeaderFilter.doFilter(XForwardedHeaderFilter.java:50)
>         at org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:58)
>         at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:349)
>         at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:263)
>         at org.apache.knox.gateway.GatewayFilter.doFilter(GatewayFilter.java:167)
>         at org.apache.knox.gateway.GatewayFilter.doFilter(GatewayFilter.java:92)
> at org.apache.knox.gateway.GatewayServlet.service(GatewayServlet.java:135)
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
>         at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701)
>         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
>         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
>         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
>         at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.apache.knox.gateway.trace.TraceHandler.handle(TraceHandler.java:51)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.apache.knox.gateway.filter.CorrelationHandler.handle(CorrelationHandler.java:41)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.apache.knox.gateway.filter.PortMappingHelperHandler.handle(PortMappingHelperHandler.java:143)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.eclipse.jetty.websocket.server.WebSocketHandler.handle(WebSocketHandler.java:116)
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>         at org.eclipse.jetty.server.Server.handle(Server.java:502)
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
>         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
>         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>         at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427)
>         at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321)
>         at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
>         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>         at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
>         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
>         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
>         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
>         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
>         at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message