Hi,

I am unable to configure tomcat 9.0.0.M17 for http/2 support. My connector for 
port 8443 has been uncommented and the necessary certificates were added to it. 
I am receiving this error when I start my tomcat: Jan 25, 2017 4:28:21 PM 
org.apache.catalina.util.LifecycleBase handleSubClassException

SEVERE: Failed to initialize component 
[Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]

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:924)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:530)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.startup.Catalina.load(Catalina.java:606)

at org.apache.catalina.startup.Catalina.load(Catalina.java:629)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

I am using eclipse to run my tomcat server. I have the APR library installed on 
my computer (Mac OS). I have added a VM argument in the run configurations of 
the server: -Djava.library.path="Path/to/lib" and the environmental variable 
LD_LIBRARY_PATH set to /usr/local/apr/lib. I am not sure what else to do here.


Reply via email to