What is the equilanat of tcnative-1.dll (in windows) file in unix?

I am trying to implement the SSL functionality in unix, For that I updated protocol=“org.apache.coyote.http11.Http11AprProtocol” in server.xml. After making this change tomcat is complaining and failing to start. Error log is below.

SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:821)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
Caused by: org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is not available
at org.apache.catalina.connector.Connector.initInternal(Connector.java:972)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
… 12 more

Please help. May I need to place a file to reconige native APR for Unix. If so, what is the file and which folder it should go?

Regards –
Srini

I suggest you read the Apache documentation here:

http://tomcat.apache.org/native-doc/

Good luck…

regards
Seán

PS: If this reply answers your question, please mark a resolved.

PPS: let us know how you get on as this could be of interest to others as well.

As you are running Red Hat Enterprise Linux (RHEL) I would suggest to simply installed packaged recommended in Red Hat documentation.

Also this is likely to apply only to Tomcat installed using RHEL package. So either you deploy Bonita BPM in RHEL Tomcat setup or you duplicate / link native library from Bonita BPM Tomcat bundle (and also tweak configuration files accordingly).

I cannot really help much because I never did such setup my self.

Thank you for answering my question.
We are using RedHat Enterprise linux. Documentation says to use “yum install apr-devel openssl-devel”. Does it create the required “libtcnative-1.so” file? If so what is the location to be placed on server? Windows equivalent file “tcnative-1.dll” needs to be placed in bin folder. Does the same thing applied here also?

Sorry - you’ve lost me now…this is your piece of research. I’m a Windows guy just pointing you in the right direction.

regards
Seán