https://bz.apache.org/bugzilla/show_bug.cgi?id=65645
Bug ID: 65645 Summary: illegal reflective access warning when deploying app using Tomcat manager Product: Tomcat 9 Version: 9.0.54 Hardware: Other OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: abhish...@formsite.com Target Milestone: ----- We recently upgraded to Java 11 and seeing the following warning when using Tomcat manager to deploy an app. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/opt/apache-tomcat-9.0.54/lib/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase 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 Command to deploy the app is: wget --connect-timeout=60 --http-user=$TC_MGR_USERNAME --http-password=$TC_MGR_PASSWORD --no-check-certificate --header='Host: $hostname' 'https://$ip_address/mgr/text/deploy?war=file:$WAR&path=/app1&update=true' -O - Environment: Tomcat 9.0.54 Cent OS 7 # java -version openjdk version "11.0.12" 2021-07-20 LTS OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing) I see that it was fixed in https://bz.apache.org/bugzilla/show_bug.cgi?id=62901 but I am able to see the problem. Thank you in for looking into this. Please let me know if you need any additional information. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org