In the default tomcat deployment, you may see this error in regard to missing tomcat native library.
INFO | jvm 1 | 2020/12/04 10:01:09 | INFO: Command line argument: -Djava.library.path=/opt/tomcat8/lib
INFO | jvm 1 | 2020/12/04 10:01:09 | INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/opt/tomcat8/lib]
INFO | jvm 1 | 2020/12/04 10:02:45 | INFO: Command line argument: -Djava.library.path=/opt/tomcat8/lib
INFO | jvm 1 | 2020/12/04 10:02:45 | INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/opt/tomcat8/lib]
This is not a critical component so in most cases the alert/warning can be ignored. However if you are annoyed by it, and you want it fixed, you may install it using yum in centos or apt-get install in ubuntu
yum install tomcat native
Package Arch Version Repository Size
==============================================================================================================================================
Installing:
tomcat-native x86_64 1.2.23-1.el7 epel 76 k
Transaction Summary
==============================================================================================================================================
After the installation of the missing package, make sure to restart tomcat.