How to disable APR in Tomcat when GridServer (GS) does not start on RHEL
book
Article ID: KB0081407
calendar_today
Updated On:
Products
Versions
TIBCO DataSynapse GridServer
5.2.0
Description
GS 5.2 does not start on some versions of OS (for example, RHEL 6.9, etc) because the Tomcat APR library depends on GLIBC 2.14 and the latest supported version of GLIBC in RHEL 6.9 is 2.12. This can be resolved by disabling APR in Tomcat.
Issue/Introduction
This article highlights how to disable APR in Tomcat used as a webserver with GS
Resolution
Below are the steps for disabling APR in Tomcat webserver used with GS:-
Open server.xml file located under /datasynapse/manager/conf directory
Comment out the APR listener: <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"/>
Restart the GS manager
Upon restart, the catalina log should show the following which indicates that the NIO listener is being used: INFO: Initializing ProtocolHandler ["http-nio-8080"] INFO: Initializing ProtocolHandler ["http-nio-8000"]