Install Novell Portal Services 1.5 on Windows 2000 with Apache and Tomcat
(Last modified: 07Feb2003)
This document (10070493) is provided subject to the disclaimer at the end of this document.
goal
Install Novell Portal Services 1.5 on Windows 2000 with Apache and Tomcat
fact
Novell Portal Services 1.5
Windows 2000 server with SP2
Sun JVM 1.3.1.02
Apache 1.3.22
Tomcat 3.3a
fix
**Note** The following information should be used for guidance and reference material when installing and configuring NPS 1.5 with the above listed products and is not intended to replace the on-line documentation for any of these products.
1- Install and configure a Windows 2000 server and apply the latest support pack (e.g. SP2) using the Windows update.
2- Set the static IP Address on the Windows 2000 server. [e.g. 192.168.1.15]
3- Set up a secondary IP address through the Network control panel | TCP/IP Properties | Advanced. [e.g. 192.168.1.115] This IP address will be used for installing NPS on Apache and Tomcat.
4- Download and install eDirectory 8.6.1 from http://www.novell.com/download
5- Download and install JDK 1.3.1.02 (j2sdk-1_3_1_02-win.exe) from http://java.sun.com/j2se/1.3/download-windows.html.
6- Create the following JAVA_HOME Environment Variable through My Computer | Properties | Advanced | Environment Variables
JAVA_HOME=c:\jdk1.3.1_02
7- Add the JDK bin to the PATH Variable through My Computer | Properties | Advanced | Environment Variables | System Variables.
PATH=;%JAVA_HOME%\bin
8- Download Apache apache_1.3.22-win32-x86.msi from http://www.apache.org/dist/httpd/binaries/win32/ and execute the installation.
9- Download Tomcat jakarta-tomcat-3.3a.zip from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/ and install Tomcat.
10- Create a TOMCAT_HOME Environment Variable through My Computer | Properties | Advanced | Environment Variables. (Use a forward slash.)
TOMCAT_HOME=c:/jakarta-tomcat-3.3a
11- Download mod_jk.dll from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/ and copy it to C:\Apache Group\Apache\Modules
12- Add the following line to C:\Apache Group\Apache\Conf\httpd.conf:
include c:/jakarta-tomcat-3.3a/conf/jk/mod_jk.conf
-OR- if using a version of Tomcat prior to 3.3, use the following path:
include c:/jakarta-tomcat-3.2/conf/auto/mod_jk.conf
13- Open a command line box (Start Menu | Run.. | Cmd ) and run the following Tomcat program ONCE to create the mod_jk.conf file.
From <tomcat directory>\bin\ , type:
tomcat run jkconf <cr>
This will then run the configurator to create the mod_jk.conf file and then stops Tomcat again.
14- Create a batch file, tcstart.bat, to start Tomcat. The rem lines can be used if 7 and 10 are skipped:
rem set JAVA_HOME=c:/jdk1.3.1_02
rem set PATH=%JAVA_HOME%\bin;%PATH%
rem set TOMCAT_HOME=c:/jakarta-tomcat-3.3a
c:/jakarta-tomcat-3.3a/bin/tomcat start
15- Change the IP Address 127.0.0.1 in c:\jakarta-tomcat-3.3a\conf\jserv\tomcat.conf to match 192.168.1.115.
16- Execute tcstart.bat. You should see a new DOS box containing the following three Interceptor lines:
Http10Interceptor: Starting on 8080
Ajp12Interceptor: Starting on 8008
Ajp13Interceptor: Starting on 8009
**Note** Ensure you can see the 3 lines "...Interceptor: Starting on 80xx" before proceeding.
17- Go to Start Menu | Programs | Apache HTTP Server | Control Apache Server | Start. (You will see a new DOS box for a short moment while Apache is starting.)
18- Open Internet Explorer and go to the following URL:
http://192.168.1.115/examples/
You should see a web page that looks like this:
__________________________________________________________
Directory Listing for:/examples/
Subdirectories:
images/ Mon, 04 Feb 2002 17:03 EST
jsp/ Mon, 04 Feb 2002 17:03 EST
servlets/ Mon, 04 Feb 2002 17:03 EST
Tomcat Web Server v3.3a Final
_________________________________________________________
**Note** At this point, you have successfully setup Apache and Tomcat on your Server.
***Installing Novell Portal Services 1.5***
19- Download j2re-1_3_1_01-win.exe from http://java.sun.com/j2se/1.3/jre/download-windows.html and install it on the workstation from which the NPS setup will be executed. **Note** Optionally, the NPS installation can be run on the Windows 2000 server itself.
20- Start Console One, edit the LDAP Group object [e.g. W2KSvr-NDS object], and select Allow Clear Text Passwords.
21- While you are still in Console One, it is a good NPS installation practice to create a Context/OU where the Portal object, PublicUser Object, and gadgets objects will be created. [e.g. Create an NPS container under your main organizational container.] Once completed, close ConsoleOne.
22- Double-click on NPSSetup.jar and complete NPS installation.
Replace servername with 192.168.1.115, and for now, do not enable SSL during the installation. Make sure that you replace the path for the conf files with the correct paths. For example:
c:/jakarta-tomcat-3.3a/conf/auto/mod_jk.conf
c:/jakarta-tomcat-3.3a/conf/jserv/tomcat.conf
23- After the installation completes, reboot the server, execute tcstart.bat and start Apache.
24- Open a browser from a workstation and try accessing the following URL:
http://192.168.1.115/nps
**Note** If you get the Novell Portal Services Login page, you successfully setup and configured JVM, Apache, Tomcat and Novell Portal Services on a Windows 2000 server..
document
Document Title: | Install Novell Portal Services 1.5 on Windows 2000 with Apache and Tomcat |
Document ID: | 10070493 |
Solution ID: | NOVL78204 |
Creation Date: | 29Apr2002 |
Modified Date: | 07Feb2003 |
Novell Product Class: | Connectivity Products NetWare Web Services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.