Skip to content

Instantly share code, notes, and snippets.

@bbyk
Created April 22, 2014 03:53
Show Gist options
  • Save bbyk/11164853 to your computer and use it in GitHub Desktop.
Save bbyk/11164853 to your computer and use it in GitHub Desktop.
tomcat-native
$ brew install tomcat-native
==> Downloading http://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.1.30/source/tomcat-native-1.1.30-src.tar.gz
Already downloaded: /Library/Caches/Homebrew/tomcat-native-1.1.30.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tomcat-native/1.1.30 --with-apr=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
==> make LIBTOOL=glibtool --tag=CC CC=clang
==> make install
==> Caveats
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=/usr/local/Cellar/tomcat-native/1.1.30/lib"
If $CATALINA_HOME/bin/setenv.sh doesn't exist, create it and make it executable.
==> Summary
🍺 /usr/local/Cellar/tomcat-native/1.1.30: 9 files, 360K, built in 4 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment