Tomcat doesn't use natives even though they are installed

Solution Verified - Updated -

Issue

  • When we start the Tomcat instance we see an error. We see that the symlink to the file under /usr/lib64 is broken and the file does not exist there.
java.lang.UnsatisfiedLinkError: /opt/jboss-ews-2.0/tomcat7/lib/libtcnative-1.so: libapr-1.so.0: cannot open shared object file: No such file or directory.

Environment

  • Red Hat JBoss Web Server (EWS) Tomcat
  • Red Hat Enterprise Linux Server (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.