Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Win32 :
Installing on WinNT using IBM JDK and Gnu-JSP
----------
From: "Bibhas Bhattacharya" bibhas@interlog.com
To: "Java Apache Users" java-apache-users@list.working-dogs.com
Subject: Re: Very interesting coincidence (Was: Re: "ajp11: connection  fail"Error?)
Date: Sat, Jul 31, 1999, 8:50 AM

If you are having problems with installation, this will help. The following
notes are written for Windows NT, where IMHO you should start if you don't
have a lot of time and energy to track down problems.

This assumes using IBM JDK. You should be able to use any other supported
JDK instead.

How to install apache servlet in a fresh machine with not even apache
installed?

0. Install packages in this order.
        - Apache 1.3.6
        - IBM JDK 1.1.7
        - JSDK2.0

1. Add java bin dir to PATH
        for example, C:\jdk1.1.7\bin
2. Add jsdk jar file to CLASSPATH env var.
        for example, c:\JSDK2.0\lib\jsdk.jar

3. Install Apache JServ. During installation provide location of various
files 
from packages installed in step 0. 

By default the installation creates a servlet zone called "root". Servlets
in this zone are located in "C:\Program Files\Apache Group\Apache
JServ\servlets".
To load these servlets use the following URL:
        http://localhost/servlets/MyServlet



How to install Gnu-JSP after JServ is working?

1. Add gnujsp.jar to the CLASSPATH. To do this:
        - open zone.properties file in JServ's conf dir and add location of
gnujsp.jar to repositories property. For example:
        repositories=C:\Program Files\Apache Group\Apache
JServ\servlets,c:\gnujsp-0.9.10\lib\gnujsp.jar

2. Create a directory for jsp to store generated files. Make sure web
server user has permission to use that directory. For example:
        c:\temp\_jsp

3. Open the zone.properties file in JServ's conf directory and add these
lines.

servlet.gnujsp.code=org.gjt.jsp.JSPServlet
servlet.gnujsp.initArgs=repository=c:\temp\_jsp

5. Associate the extension ".jsp" with the GNUJSP servlet.
Open the mod_jserv.conf file in JServ's conf dir and add this line:

ApJServAction .jsp /servlets/gnujsp
[Append to This Answer]
Previous: (Answer) Apache JServ problems on Win95
Next: (Answer) JDK 1.2.2 on Win NT
This document is: http://java.apache.org/faq/?file=267
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.