Unable to load tomcat native library when JWS5 runs as a Windows Service

Solution Unverified - Updated -

Issue

  • Unable to load tomcat native library when JBoss Web Server 5 runs as a Windows Service with the below message:
01-Jul-2020 11:01:33.115 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\jws-5.3.0-application-server\jws-5.3\tomcat\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\jws-5.3.0-application-server\jws-5.3\tomcat\bin;C:\Program Files\RedHat\java-11-openjdk-11.0.7-1\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;.]

Environment

  • Red Hat JBoss Web Server
    • 5
  • Windows Server 2016

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