[
https://issues.apache.org/jira/browse/RANGER-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869127#comment-17869127
]
Madhan Neethiraj commented on RANGER-4874:
------------------------------------------
[~abhi_2110] - here is the failure seen in [^ranger_error.log]:
{noformat}
2024-07-27 02:39:13,754 [localhost-startStop-1] ERROR
[EmbeddedServiceDefsUtil.java:178] EmbeddedServiceDefsUtil.init(): failed
java.lang.AbstractMethodError:
javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;
at
javax.ws.rs.WebApplicationException.computeExceptionMessage(WebApplicationException.java:188)
at
javax.ws.rs.WebApplicationException.<init>(WebApplicationException.java:162)
{noformat}
Looking in docker container built from ranger-2.5 branch
{{javax.ws.rs.core.Response}} class is present in multiple libraries under
/opt/ranger/admin:
{noformat}
cd /opt/ranger/admin
$ find /opt/ranger/admin/ -name "*.jar" -exec fgrep -l
javax/ws/rs/core/Response {} \;
/opt/ranger/admin/ews/webapp/WEB-INF/lib/jersey-bundle-1.19.3.jar
/opt/ranger/admin/ews/webapp/WEB-INF/lib/javax.ws.rs-api-2.1.1.jar
/opt/ranger/admin/ews/webapp/WEB-INF/lib/jsr311-api-1.1.1.jar {noformat}
[jsr311-api-1.1.1.jar|https://mvnrepository.com/artifact/javax.ws.rs/jsr311-api]
is from 2009, which was replaced by
[javax.ws.rs-api|https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api].
Ranger pom files need to be reviewed to remove/exclude jsr311-api-1.1.1
dependency.
[~pradeep] and [~mugdha.varadkar] - I remember you reporting this issue few
days back. Can you please confirm if your environment has multiple libraries
having class {{javax.ws.rs.core.Response}}.
> Ranger UI inaccessible after login
> -----------------------------------
>
> Key: RANGER-4874
> URL: https://issues.apache.org/jira/browse/RANGER-4874
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.5.0
> Reporter: Abhishek Kumar
> Priority: Critical
> Attachments: Screenshot 2024-07-26 at 7.52.48 PM.png, Screenshot
> 2024-07-26 at 9.22.44 PM.png, catalina_error.out, ranger_error.log
>
>
> Ranger UI is not accessible after login although login is successful. Errors
> seen in catalina.out and ranger.log.
> This is observed in docker env for ranger.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)