Illegal Reflective Access Operation
search cancel

Illegal Reflective Access Operation


Article ID: 255431


Updated On:


CA API Gateway


Attempting to obtain the gateway status with the ConfigWizard.jar file generates 'illegal reflective access operation' warning messages.

 /opt/SecureSpan/JDK/bin/java -jar ConfigWizard.jar show status
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/opt/SecureSpan/Gateway/runtime/lib/jaxb-impl-2.1.13.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

Layer7 API Gateway Status

    Node Status = RUNNING


CA API Gateway 10.1, 11.0


This will be addressed in a future gateway release.  For the time being you can execute the following command which will suppress the illegal reflective access warning message from getting generated:

/opt/SecureSpan/JDK/bin/java -jar --add-opens=java.base/java.lang=ALL-UNNAMED ConfigWizard.jar show status