Assuming you already downloaded TC6 source This comes straight from the native connector build docs
Building from the cvs tree: sh buildconf --with-apr=apr_source_location. configure --with-apr=apr_install_location --with-ssl=openssl_install_locatio n make Testing the build: The make should produce a .so file named libtcnative-1.so. Build the jar containing the example by cd .. ant jar Run the example: ant example-basic Using it in Tomcat: 1 - In <Connector> use of conf/server.xml: protocol="org.apache.coyote.http11.Http11AprProtocol" 2 - In bin/setenv.sh add the following: CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=tclib_location" In my machine I am using: /home/jfclere/tomcat-connectors/jni/native/.libs for tclib_location NOTES: - configure --without-ssl : Configure without ssl support. - To use it in Tomcat you may have to add in bin/setenv.sh: LD_LIBRARY_PATH=openssl_install_location/lib; export LD_LIBRARY_PATH (use ldd ./.libs/libtcnative-1.so to check it). - quick testing: openssl s_client -connect localhost:8443 - For MAC OS X you must manually add a link cd ${tcnative installdir} ln -d libtcnative-1.dylib libtcnative-1.jnilib Martin-- ----- Original Message ----- From: "Stacy Johnson (stacjohn)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Tomcat Users List" <users@tomcat.apache.org> Sent: Friday, January 18, 2008 8:13 AM Subject: tcnative dll I am working on a soon to be released product that is currently in a bind as it requires a fix that has been implemented in tcnative-1.dll (ver 1.1.12). Does anyone one know when this version will be released? I have tried compiling the tomcat native source code, but the dll that is produced has to be bundled with separate apr and openssl dlls. If this release isn't in the next day or so, how do I statically compile the source to get one .dll which includes OpenSSL and APR? Stacy --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]