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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content