home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / binaries / Windows / jsdk / README.iis < prev    next >
Encoding:
Text File  |  1997-07-23  |  2.5 KB  |  67 lines

  1. This is a 1.0.1 release of JSDK for Microsoft IIS.  It has been tested with
  2. NT Server 4.0 (x86) with IIS 2.0 and 3.0.
  3.  
  4. Installation
  5. ------------
  6.  
  7. NOTE: %SCRIPT% refers to c:\InetPub\scripts directory or other directories
  8. with ISAPI extension dll enabled.  It is used as shorthand to the actual
  9. directory location.  In the registry, the actual directory name has to be
  10. typed in.
  11.  
  12.  
  13. 1). The JRE runtime (bin and lib directories, and classes.zip) is to be
  14.     installed in %SCRIPT%\jre directory.
  15.  
  16. 2). The supplied dll (servlet.dll) is to be installed in %SCRIPT%
  17.     directory. 
  18.  
  19. 3). When using Installshield to install JSDK, skip to 7).
  20.     If installing and configuring manually, please read on.
  21.  
  22. 4). There are four registry variables to be added.  
  23.     In key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JSDK,
  24.     ClassPath [1] variable refers to the location of the bundled JRE
  25.     (%SCRIPT%\jre\lib\rt.jar;%SCRIPT%\jre\classes.zip;%SCRIPT%\servlets).
  26.     Path [2] variable refers to the location of the dll and JRE runtime
  27.     (%SCRIPT%\jre\bin;%SCRIPT%).
  28.     MainClass [3] variable refers to the name of the main class
  29.     (sun/servlet/isapi/ServletServer).
  30.     PropFile [4] variable refers to the location of servlets.properties
  31.     file which lists servlet name and initArgs.
  32.  
  33. 5). Goto Control Panel / System / Environment tab.
  34.     Insert %SCRIPT%\jre\bin to the beginning of the path.
  35.  
  36. 6). The servlet.dll file has to be known to IIS.  It's done through
  37.     modifying a value in registry.
  38.     In key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Svc\Parameters,
  39.     locate 'Filter DLLs' variable.  Then add %SCRIPT%\servlet.dll to the
  40.     very front of the values.
  41.  
  42. 7). Reboot the machine
  43.  
  44. 8). After the machine comes up, est with URL http://localhost/servlet/SnoopServlet
  45.  
  46. 9). If it returns Object Not Found error, please repeat 1 through 7 carefully.
  47.  
  48.  
  49. NOTE: If you would like to have other directories to load the servlets
  50. from, you need to add it to the registry ClassPath variable.  The default
  51. directory is %SCRIPT%\servlets.
  52. NOTE: The default Path is set to %SCRIPT%\jre\bin;%SCRIPT%. So if your servlet
  53. uses native code, put your DLL in either %SCRIPT% or you can modify the registry
  54. (HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/JSDK/Path) to include the directory where
  55. your DLL lives.
  56.  
  57.  
  58. Knownbugs
  59. ---------
  60.  
  61. - no user level setting for number of threads serving servlets
  62. - no support for keep-alive connection
  63.  
  64.  
  65.  
  66. Please send feedbacks to java-server-feedback@java.sun.com
  67.