Has anyone successfully built JK2 on OS X, or better yet, nsjk2 for AOLserver on OS X? ;-) The binaries for the OS X version of JK2 are conspicuously missing from the Apache site...
- n Elizabeth Thomas wrote on 7/30/04, 10:16 AM: > Greg Wolff wrote on 7/30/04, 9:22 AM: > > > We've been trying to build nsjk2 and having a few troubles with it. > > > > > What's with the APR and MOD_JK2? It seems evident that we need to > build > > Apache to get nsjk2 running in AOLserver. What's up with that? > > To clarify, its not Apache itself that is needed, but a couple of the > utilities that made it possible to run Tomcat with the Apache server. We > use these same utilities to make it possible to run Tomcat with > AOLserver. These are the Apache Portable Runtime library (APR) and the > Jakarta Tomcat connector (aka JK2). > > Tomcat itself doesn't need to be built, you can just download a binary > distribution from http://jakarta.apache.org/builds/jakarta-tomcat/release > > The apr (and apr-util source if your using Tomcat 5) source can be > downloaded from apr.apache.org. Here are the configuration options we > are currently using: > > APR > configure --prefix=<ourinstalldir> --enable-shared --enable-threads > --enable-symbols > APR-UTIL > configure --prefix=<ourinstalldir> --enable-shared --enable-threads > --with-apr=<ourinstalldir> > > then: "make all install" on each. > > You will want to add a softlink from libapr-0.so to libapr.so and > libaprutil-0.so to libaprutil.so > > The good news is that once you build APR, you don't have to rebuild it > with new nsjk2 distributions. > > JK2. > Check out the source from jakarta's CVS. > cvs :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r <tag> > jakarta-tomcat-connectors > > for Tomcat 4, we build with tag=TOMCAT_4_1_27 > for Tomcat 5, we build with tag=jk2_2_0_4 > > Jk2 is built via the 'jkjni' target in the nsjk2 build.xml You then just > need to update the nsjk2 build.properties file with your directory > locations and: > > "ant jkjni" > > Then follow the instructions in the documentation to build nsjk2 and > install from the resulting distribution tarball. > > "ant all packager" builds everything else and creates the tarball. > > If you can, I recommend using Tomcat 5 and the latest tag of nsjk2 > (nsjk2_v2_beta3) as that is where our effort is concentrated and new > enhancements are being added. > > I agree that the documentation would benefit by including the > information above. We'll scrub it accordingly :) > > > -Elizabeth > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <[EMAIL PROTECTED]> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the > Subject: field of your email blank. > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
