You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ji...@apache.org on 2007/02/02 19:16:15 UTC

svn commit: r502679 - /tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml

Author: jim
Date: Fri Feb  2 10:16:14 2007
New Revision: 502679

URL: http://svn.apache.org/viewvc?view=rev&rev=502679
Log:
Add Solaris build instructions to online doccos

Modified:
    tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml

Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml?view=diff&rev=502679&r1=502678&r2=502679
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml Fri Feb  2 10:16:14 2007
@@ -24,6 +24,7 @@
 <properties>
 <title>SunOne -- Netscape/iPlanet HowTo</title>
 <author email="hgomez@apache.org">Henri Gomez</author>
+<author email="jim@apache.org">Jim Jagielski</author>
 <author email="shachor@il.ibm.com">Gal Shachor</author>
 <author email="mturk@apache.org">Mladen Turk</author>
 <date>$Date$</date>
@@ -159,7 +160,7 @@
 The Tomcat redirector requires two entities:
 <ul>
 <li>
-nsapi_redirect.dll - The NSAPI server plugin, either obtain a pre-built DLL or build it yourself 
+nsapi_redirect.dll (Windows) -or- nsapi_redirector.so (Unix) - The NSAPI server plugin, either obtain a pre-built DLL/so or build it yourself 
 (see the build section).
 </li>
 <li>
@@ -383,7 +384,7 @@
 
 <p>
 The above examples defined two workers, now we can use these workers to serve two different 
-contexts each with itÂ’s own worker. 
+contexts each with it's own worker. 
 Submitting requests to different workers is accomplished by using multiple Service directives 
 in the servlet configuration Object, each with a different path pattern parameter. 
 </p>
@@ -411,7 +412,7 @@
 
 </section>
 
-<section name="Building NSAPI redirector">
+<section name="Building NSAPI DLL redirector for Windows">
 <p>
 The redirector was developed using Visual C++ Ver.6.0, so having this environment is a prereq if you want 
 to perform a custom build. You should also have NES developer SDK
@@ -441,6 +442,45 @@
 This will build both release and debug versions of the redirector plugin.
 An alternative will be to open the nsapi workspace file (nsapi.dsw) in msdev and 
 build it using the build menu.
+</p>
+</section>
+<section name="Building NSAPI so plugin redirector for Unix">
+<p>
+The redirector requires either gcc or the native Solaris cc compiler.
+
+The steps that you need to take are:
+<ul>
+<li>
+Change directory to the nsapi plugins source directory (src/native).
+</li>
+<li>
+configure for Netscape/iPlanet/SunONE webserver.
+</li>
+<li>
+Change directory to the nsapi netscape directory (./netstape).
+</li>
+<li>
+Edit <b>Makefile.solaris</b> and update the SUITSPOT_HOME and JAVE_HOME path to reflect your own Netscape server installation.
+</li>
+<li>
+Make the source with gmake.
+</li>
+</ul>
+<screendos>
+<notedos>Change directory to the nsapi plugins source directory</notedos>
+<typedos>cd /usr/local/src/tomcat-connectors-xxx-src/native</typedos>
+<notedos>configure for Netscape/iPlanet/SunONE webserver</notedos>
+<typedos>./configure --enable-netscape</typedos>
+<notedos>Change directory to the nsapi netscape directory</notedos>
+<typedos>cd netscape</typedos>
+<notedos>Edit Makefile.solaris</notedos>
+<typedos>vi Makefile.solaris</typedos>
+<notedos>Make the source with gmake</notedos>
+<typedos>gmake -f Makefile.solaris</typedos>
+</screendos>
+</p>
+<p>
+After the build, you will have the required nsapi_redirector.so plugin.
 </p>
 </section>
 </body>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org