Starting the Service Manager shows Warning Messages. WARNING: An illegal reflective access operation has occurred
search cancel

Starting the Service Manager shows Warning Messages. WARNING: An illegal reflective access operation has occurred

book

Article ID: 142942

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When starting the Service Manager the warning messages below is displayed. The Service Manager works properly. 

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.apache.lucene.store.MMapDirectory (file:/opt/automic/ae/12.3/server/bin/configuration/1/org.eclipse.osgi/18/0/.cp/lib/lucene-core.jar) to method java.nio.DirectByteBuffer.cleaner()

WARNING: Please consider reporting this to the maintainers of org.apache.lucene.store.MMapDirectory

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


The used Java version is 11

Environment

Release : 12.3

Component : Service Manager

Java v11

Cause

This related to an older version of MMapDirectory

Resolution

These warning messages can be ignored and do not impact the Service Manager or the Automation Engine.

Since the error is related to a third-party component, Broadcom cannot fix the warning.

 

Additional Information

Note: this error does not show on Oracle Java 1.8 but does in OpenJDK11.