Bug 2064684
| Summary: | WARNING: An illegal reflective access operation has occurred | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ben <ben.argyle> |
| Component: | tomcat | Assignee: | Coty Sutherland <csutherl> |
| Status: | CLOSED WONTFIX | QA Contact: | tomcat-qe |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | aogburn |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-16 13:49:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ben
2022-03-16 10:45:17 UTC
The warning messages do not have any functional impact and can be safely ignored. You can reduce the warnings by using the --illegal-access=permit parameter (this will not be an option in Java 17+), permit the actions with no warning by adding the block from https://github.com/apache/tomcat/blob/7.0.x/bin/catalina.sh#L322 to your tomcat.conf, or avoid them completely by using Java version 6-8 instead with preference being the latter option because there were several enhancements made to Tomcat 7 regarding Java 9+ support that are not included in the RHEL version (https://tomcat.apache.org/tomcat-7.0-doc/changelog.html has more information). |