You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mahesh Hanumant Bandal (Jira)" <ji...@apache.org> on 2021/03/08 14:02:00 UTC

[jira] [Created] (RANGER-3199) illegal reflective access operation warning in KMS catalina.out logs

Mahesh Hanumant Bandal created RANGER-3199:
----------------------------------------------

             Summary: illegal reflective access operation warning in KMS catalina.out logs
                 Key: RANGER-3199
                 URL: https://issues.apache.org/jira/browse/RANGER-3199
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 3.0.0
            Reporter: Mahesh Hanumant Bandal
            Assignee: Mahesh Hanumant Bandal


following logs are observed in catalina.out file of ranger-kms while using JDK-11:
{code:java}
INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 PM'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 jaxb-impl-2.2.3-1.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
{code}
Need to fix this warning logs.

*This fix should be provided from the maintainers of "com.sun.xml.bind" i.e. Oracle Corporation. Affected jar is "jaxb-impl-2.2.3-1.jar". This jar is inherited from "jersey-json-1.19.3.jar".*

 

Workaround for this issue :
 * +To avoid this warning logs we can add dependency for jaxb-impl-2.3.3.jar+



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