Download and Install tomcat-native version 1.1.7 on Mac OS X
Thursday the 24th of July, 2008

    tomcat-native  most recent diff


      View the most recent changes for the tomcat-native port at: tomcat-native.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tomcat-native.
      The raw portfile for tomcat-native 1.1.7 is located here:
      http://tomcat-native.darwinports.com/dports/java/tomcat-native/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/tomcat-native
      Google
      Web Darwinports.com



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: tomcat-native
      Version: 1.1.7

      Category: java www
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Tomcat 5 HTTP Server native library support.
      Long Description: This port provides access to native apr and other functions utilized by tomcat.
      Homepage: http://tomcat.apache.org/

      master_sites apache:tomcat/tomcat-connectors/native/
      checksums md5 5e5ea5292f28f8afa7c070f0d02d7834

      distname ${name}-${version}-src
      worksrcdir ${distname}/jni/native

      depends_lib port:apr port:openssl

      if { [llength [array get env "JAVA_HOME"]] > 0 } {
      set javahome $env(JAVA_HOME)
      } else {
      set javahome "/System/Library/Frameworks/JavaVM.framework/Home"
      }

      configure.args --with-apr=${prefix} --with-ssl=${prefix} --with-java-home=${javahome} --with-java-platform=2

      build.args EXTRA_LDFLAGS="-shrext .jnilib"


      #
      # INTERNAL Notes, for now.
      #
      # To integrate this into tomcat, add something like
      # -Djava.library.path=${prefix} to the tomcat options.
      #
      # 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:
      #
      # # maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
      # enableLookups="false" redirectPort="8443" acceptCount="100"
      # connectionTimeout="20000" disableUploadTimeout="true" protocol="org.apache.coyote.http11.Http11AprProtocol" />
      #

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/tomcat-native
      % sudo port install tomcat-native
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching tomcat-native
      ---> Verifying checksum for tomcat-native
      ---> Extracting tomcat-native
      ---> Configuring tomcat-native
      ---> Building tomcat-native with target all
      ---> Staging tomcat-native into destroot
      ---> Installing tomcat-native
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using tomcat-native with these commands:
      %  man tomcat-native
      % apropos tomcat-native
      % which tomcat-native
      % locate tomcat-native

     Where to find more information:

    Darwin Ports



    image test