brew install tomcat-native
Also known as: libtcnative
Lets Tomcat use some native resources for performance
https://tomcat.apache.org/native-doc/
License: Apache-2.0
Formula JSON API: /api/formula/tomcat-native.json
Bottle JSON API: /api/bottle/tomcat-native.json
Formula code: tomcat-native.rb
on GitHub
Bottle (binary package) installation support provided for:
Intel | monterey | ✅ |
---|---|---|
big sur | ✅ | |
catalina | ✅ | |
64-bit linux | ✅ | |
Apple Silicon | monterey | ✅ |
big sur | ✅ |
Current versions:
stable | ✅ | 1.2.33 |
Depends on:
apr | 1.7.0 | Apache Portable Runtime library |
openjdk | 18.0.1 | Development kit for the Java programming language |
openssl@1.1 | 1.1.1o | Cryptography and SSL/TLS Toolkit |
Depends on when building from source:
libtool | 2.4.7 | Generic library support script |
In order for tomcat's APR lifecycle listener to find this library, you'll need to add it to java.library.path. This can be done by adding this line to $CATALINA_HOME/bin/setenv.sh CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=$(brew --prefix)/opt/tomcat-native/lib" If $CATALINA_HOME/bin/setenv.sh doesn't exist, create it and make it executable. |
Analytics (macOS):
Installs (30 days) | |
---|---|
tomcat-native |
294 |
Installs on Request (30 days) | |
tomcat-native |
292 |
Build Errors (30 days) | |
tomcat-native |
0 |
Installs (90 days) | |
tomcat-native |
892 |
Installs on Request (90 days) | |
tomcat-native |
890 |
Installs (365 days) | |
tomcat-native |
2,794 |
Installs on Request (365 days) | |
tomcat-native |
2,786 |
Analytics (Linux):
Installs (30 days) | |
---|---|
tomcat-native |
0 |
Installs on Request (30 days) | |
tomcat-native |
0 |
Build Errors (30 days) | |
tomcat-native |
0 |
Installs (90 days) | |
tomcat-native |
1 |
Installs on Request (90 days) | |
tomcat-native |
1 |
Installs (365 days) | |
tomcat-native |
3 |
Installs on Request (365 days) | |
tomcat-native |
3 |