Sometimes you might get the following error message in your logs for your Tomcat instance under Ubuntu.
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found
To fix this issue, simply run the following command to install the appropriate library.
apt-get install libtcnative-1
The error should go away!