tomcat-native (java/tomcat-native) Updated: 1 year, 9 months ago Add to my watchlist

Tomcat 7+ HTTP Server native library support.

This port provides access to native apr and other functions utilized by tomcat.

Version: 1.2.35 License: Apache-2 GitHub
Maintainers mattbishop
Categories java www
Homepage https://tomcat.apache.org/
Platforms darwin
Variants
  • universal (Build for multiple architectures)

"tomcat-native" depends on

lib (3)
build (1)

Ports that depend on "tomcat-native"

No ports


Port notes

To integrate this into tomcat, add -Djava.library.path=${prefix} to the tomcat options or to CATALINA_OPTS.

You then need to configure a Connector in server.xml with the appropriate apr protocol class for your use, for instance:
protocol="org.apache.coyote.http11.Http11AprProtocol",
protocol="org.apache.coyote.ajp.AjpAprProtocol"

As in:
<!-- Define a non-SSL HTTP/1.1 Connector on port 8081 using apr -->
<Connector port="8081" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
protocol="org.apache.coyote.http11.Http11AprProtocol" />

For further information please see https://tomcat.apache.org/native-doc/index.html


Port Health:

Loading Port Health

Installations (30 days)

1

Requested Installations (30 days)

1

Livecheck results

tomcat-native seems to have been updated (port version: 1.2.35, new version: 2.0.7)

livecheck ran: 1 day, 20 hours ago