JKernel
Installing IIS Plug-in Binaries
If you don't want to install the J-Server IIS plug-in, you can skip ahead to the next
topic.
If you'd like to run the J-Server as a plug-in to Microsoft's IIS, do the following:
- Either obtain the source distribution and compile it (as described above), or obtain the
binary distribution.
- Install Microsoft's IIS 2.0, 3.0, or 4.0 on your machine (NT Server required).
- In a command shell, cd to the top-level directory (e.g. jk-0.91) and run nmake
install to copy DLLs from jk-0.91/bin/win32 to your system root
(%SystemRoot%\system32 which usually is c:\winnt\system32) and register a proxy stub DLL
with DCOM's registry.
- If you later want to uninstall the DLLs and registry entries, run nmake clean.
This will remove all the binaries (class files and DLLs) from bin/win32, the copied DLLs
from your %SystemRoot%, and it will unregister the proxy stub DLL from DCOM's registry.
- Copy the J-Server binaries sub-tree (bin) into the IIS local root directory and
rename that jserver. Alternatively, create a virtual directory that maps /jserver
to the bin directory with read and execute access rights. For example, suppose
C:\InetPub\wwwroot is the local IIS directory. Copy bin into C:\Inetpub\wwwroot\mydir and create a virtual
directory called /jserver that maps onto C:\Inetpub\wwwroot\mydir\bin.
- You are ready to move on to HelloWorld!