logo_michael-thomas.jpg (3143 bytes)

WebSphere v3.5 Install Notes

This web page contains notes from an install I did to get familiar with the WebSphere family of products.  This is just my notes of which maybe you will find some helpful information.  I decided to share this knowledge after many installs, uninstalls, reading,  and frantic searching for information.  This load process will take a full 8 hours (more or less depending on how much you read and have problems).

Requirements

I created these notes while installing on a Win NT 4.0 Server.  At that time you needed Service Pack 5 or higher.  As I load on other platforms I'll try to update the site.

Software

bulletFor non-IBMers try the evaluation/trial copies:
(NOTE:  I would choose software versions around support for the WebSphere version you plan on installing!)
bulletWebSphere (WAS) - http://www.ibm.com/software/webservers - Then choose "WebSphere".  6 month developer trial version available.
bulletIBM HTTP Server (IHS) - http://www.ibm.com/software/webservers - Then choose "IBM HTTP Server". (Warning: must support the WebSphere version!)
bulletIBM WebSphere Studio - http://www.ibm.com/software/webservers
bulletIBM WebSphere Studio (Entry Edition) - Dynamic web page development: JSP's etc...
bulletAlso, ??? IBM WebSphere Studio HomePage Builder for Windows v6. (162 Meg installed to 300Meg) - Static web page development.
bulletAlso, ??? IBM WebSphere Studio Page Detailer
bulletIBM Java JDK - http://www.ibm.com/java/jdk (Warning: must support the WebSphere version!)
bullet VisualAge for Java - http://www.ibm.com/software/ad/vajava - Go to the link for "VisualAge Developer Domain".  (also: http://www.ibm.com/vadd )
bulletDB2 UDB - http://www.ibm.com/software/data/  
bulletNeed other software try searching at: www.ibm.com/software
bulletInstall Platforms I've Installed & Tested:
Beware!!! Some of this software is very very version and Platform specific!!!  You may need to carefully read the look at the download sites notes and readme files.
bulletWin NT 4.0 w/ Service Pack 6
I loaded all of the software from the "Windows PC DEMOpkg" available to IBM employees only (12 CD's from Edition 39 3Q00).
bulletJDK v1.2.2 Release 7 (CD#4)
bulletIBM HTTP Server for WinNT v1.3.63  (CD#3)
bulletVisual Age for Java (VAJ) Professional Ed v3.5
bulletIBM WebSphere Application Server Adv Ed V3.5
bulletIBM WebSphere Studio Adv Ed v3.5
bulletDB2 UDB Enterprise Edition v7.1 FixPack 1
bulletWin 2000 Service pack 2 (Under Construction, then aborted efforts.)
Downloaded all the software from IBM's standard internet sites.
It looks like all you need to do is install WAS 4.0.  It will install the JDK, Websever and all other components.  I got WAS 4.0 installed but I aborted my attempts because I did not have the knowledge to integrate the Struts framework that my project called for.)
bulletIBM HTTP Server V1.3.19 (works with WAS 4.0) 31Meg
bulletIBM WAS Advanced Edition 4.0
bulletIBM WAS Studio v____
bulletIBM VAJ v4.0 Enterprise Entry Edition & 
IBM Enterprise JDK 1.2.2 for IBM VAJ v4.0
bulletIBM Java JDK 1.3.0 for WAS 4.0
bulletDB2 Universal Database Enterprise Edition v7.2
bulletBooks
bulletI used the following IBM Redbook:  Servlet & JSP Programming w/ Studio & VAJ SG245755.   Chapter 3 "Product Install" physical pdf pgs 45-68 or book pgs 17-40 (Internet: www.redbooks.com, IBM Employees: w3.education.ibm.com, the choose "redbooks".)
bulletTerminology
bulletWAS - Websphere Application Server
bulletJDK - Java Development Kit (compile Java source code)
bulletJRE - Java Runtime Environment

Install Steps for Websphere 3.5 Products

These install steps are my abbreviated notes.  For your information I installed all of the software below on the D: drive, not the default C: drive.

Log on as Administrator

bulletI've been advised to login as Administrator for Win 2000.  On Win NT 4.0, I have loaded all of the following software logged in a user (not Administrator) that had administrator rights.
bulletIf you have VPN software (like Aventail) make sure that it is not running.
bulletMight be good to disable anti-virus software also.

Add MS Loopback Adapter (if running on Standalone-no network)

bulletNote:  I'm not sure what symptoms occur if you don't do these steps.  I was have massive problems and then completed the procedures and it seems like things worked better.  Sorry - don't have a real good techy answer - just hocus-pocus!
bulletIf using Win NT w/ TCP/IP installed then add MS Loopback Adapter.
bulletWin NT Steps.
bulletHave Win NT install CD available.
bulletStart, Settings, Control Panel, Network
bulletClick on "Adapters" Tab.
bulletClick on "Add" and find "MS Loopback Adapter"
bulletFrame Type = 802.3
bulletSpecify an IP Address
bulletIP Address = 1.2.3.4
bulletSubnet Mask = 255.255.255.0
bulletDefault Gateway = <leave blank>
bulletNext, ReBoot.
bulletNote: If you need to modify the information then Start, Settings, Control Panel, Network
bulletClick on the "Protocols" tab
bulletClick TCP/IP, then click Properties
bulletThen select the Adapter in the pull down list.
bulletNote:  I use a Token Ring Adapter, a Ethernet Adapter, and the MS Loopback Adapter without any conflicts.

Virtual Memory (300mb-initial, 400mb max)

bulletStart, Settings, Control Panel, System
bulletClick on the "Performance" tab.
bulletMake settings at least:  Virtual Memory = Initial size = 300mb, Max size = 400mb
bulletIf you had to make changes, then reboot.

Create a User(s) w/admin rights for: IBM HTTP Server, Websphere, & DB2

bulletAccess the User Manager.
Win NT: Start, Programs, Administrative Tools, User Manager for Domains.
Win 2000: Start, Settings, Control Panel, Users and Passwords
You need to create an admin user for:  IBM HTTP Server, IBM Websphere, and DB2.  I've suggested some user names.  I have IBM HTTP Server & Websphere sharing user names.
bulletAdmin user for IBM HTTP Server: webadmin
bulletAdmin user for IBM Websphere:  webadmin
bulletAdmin user for DB2:  db2admin
bulletUser Options
bulletUser options I selected: "User cannot change password" and "Password never expires".
bulletThen I clicked on Groups and made them a member of "Administrators".
bulletIf Win 2000 - Give User ID "Logon as a service right.  Start, Settings, Control Panel, Administrative Tools, Local Security Policies, Local Policies, User Rights Assignments, Log on as a service.  Now add the 2 users.
bulletWhen installing the IBM HTTP Server, you are prompted for a login ID and password. The ID you select must have the capability to log on as a service. If you get an error when you try to start the Administration Server, indicating a failure to start as a service, try the following:

On Windows NT:

  1. Select Start>Programs>Admin Tools>User Manager.
  2. Select the user from the User Manager list.
  3. Click Policies>User Rights.
  4. Check the Show Advanced User Rights box.
  5. Choose Log on as a Service, from the right drop-down menu.

On Windows 2000:

  1. Select Start>Settings>Control Panel.
  2. Open Administrative Tools.
  3. Open Services. The local user you select is created in Local Users and Groups, under Computer Management.
  4. Select Service>Actions>Properties.
  5. Choose the Log on tab.
  6. Select this account option and click Browse to select the user to associate with the service.

Java Development Kit (JDK/SDK)

bulletInstall a JDK that is approved for Websphere.
bulletRead the version notes at the download sites.  Make sure you match the correct versions or your open for problems.
bulletIf you install the IBM JDK, you will see it in the pick-and-choose list when installing WebSphere Application Server.
bulletGenerally, you can install multiple versions of the JDK without problems because each application (IDE, Application Server) will register the path to the JDK.   I always suggest reinstalling the JRE after you install a JDK/SDK but that is a preference.
bulletTest:  From the DOS prompt:  c:\> <fullpath to JDK>\bin\java -fullversion
Now verify the version.
bulletAdditional Resources 
bullethttp://www.ibm.com/java/jdk - Download site for JDK from IBM.

IBM HTTP Server

bulletInstall directory note: "c:\Program Files\IBM HTTP Server"
bulletChoose "Typical" install.
bulletWhen asked for the user/pswd, use the one created above (ex: webadmin)
bulletNow Re-boot.
bulletFrom a DOS prompt set the admin username/password:
D:
CD "\Program Files\IBM HTTP Server"
htpasswd -c conf/admin.passwd webadmin
bulletTest Install:
bulletFrom a browser:  http://localhost - you should see the IBM HTTP Server screen.
bulletCGI Test (Warning: looks like some versions don't include this test cgi file.)
bulletClick here to download a CGI test program if you don't have one in your "cgi-bin\" directory.
bullethttp://localhost/cgi-bin/test-cgi - shows command line arguments and other info.
Runs: D:\Program Files\IBM HTTP Server\cgi-bin\test-cgi.exe
bullethttp://localhost/cgi-bin/test-cgi.exe?hello
bulletTest the IBM HTTP Administration module.
You may need to start the "IBM HTTP Admin" service first.  Try "Programs, IBM HTTP Server" or "Control Panel, Services".
From a browser:  http://localhost:8008 - Log in with the user/pswd from the step above where you set the username & password.  You can also access from http://localhost then click on "Configure Server".
Warning:
I had to uninstall Aventail 4.0 (a Virtual Private Network) to get the Admin Services running on Win 2000.  Win NT 4.0 & Aventail works OK.
bulletAdmin Server Problems:
Log files are keep in the "log" directory (see: admin_error.log).
Also use WinNT's "Event Viewer".
bulletFYI Services Installed: (WinNT: Start, Settings, Control Panel, Services; Win 2000: Start, Settings, Adminstration, Services).
bulletIBM HTTP Server (defaults to Automatic) and should start on boot.
bulletIBM HTTP Administration (defaults to Automatic) and should start on boot unless you have problems.
bulletResourses:
bullethttp://www.ibm.com/software/webservers/httpservers/library.html - Install instructions from IBM.

DB2 w/ Fix packs

I've installed this several types but did not take good notes so here is what I have.

bulletI installed from CD #2: DB2 UDB Enterprise Edition v7.1 FixPack 1
bulletChoose "Typical" install.
bulletEnter the user/pswd created in the steps above (ex:  db2admin)
bulletReboot.
bulletAfter reboot, DB2's First Step window will appear.
bulletClick on "Create the Sample Database"
bulletTest Install:
bulletClick on "View the Sample Database"

VisualAge for Java

bulletI installed from 
bulletNote:  If you installed the IBM JDK 1.2.2 above it is release 7.  If you are running JDK 1.2.2 and under release 6b then upgrade to 6b or higher.  On the IBM CD#4 there is a link to "Install JDK v1.2.2 6b."  Then you can install VAJ.
bulletInstall VAJ Products.
bulletVisualAge for Java 
bulletInstall VAJ
bulletIf you downloaded multiple files from IBM's internet site you will need to extract all files first, then run the setup.exe in the directory you extracted to..  Click on the first file you need to extract and read the directions carefully.
bulletChoose "Complete" install.
bulletOnce the VAJ install is finished, then Install Distributed Debugger.
bulletChoose "Full" install.
bulletReboot.
bulletLoad VAJ: Start, Programs, VAJ etc...
bulletChoose "Go to the Workbench"
bulletAdd Features to VisualAge for Java: WebSphere Test Environment.  This is not neccessary but you'll probably what to do this down the road if you want to be able to test WebSphere applications without leaving VAJ.
bulletFile->Quick Start.
bulletFeatures, Add Feature
bulletSelect "IBM Websphere Test Environment"
bulletTest Install of New Feature:
bulletWorkspace, Tools - look for WebSphere Test Environment.  If you load the "WebSphere Test Environment" be patient - it may take awhile to load.
 

WebSphere Application Server

bulletI installed from CD #12: IBM WebSphere Application Server Adv Ed v3.5
bulletChoose "Custom" Install.
bulletSelect all components.
bulletIf you are using another JDK that the install does not recognize, then click on the "Other JDK" button and point to the JDK's "bin" directory (I think?).
bulletNext screen, select IBM HTTP Server v1.3.6
bulletWAS User name/pswd - enter the user name that will be used to load WAS (ie: webadmin)
bulletChoose the database type that the repository information will be stored in
bulletDB Type: DB2
bulletDB Name: was
bulletDB User ID/Pswd:  Note: Make sure you use the one you used when you installed DB2: (ie db2admin)
bulletNext the install will look for the file: "httpd.conf".  You will need to point to the following directory:  d:\program files\ibm http server\conf (remember, the default install is C: not D:)
bulletNext, Reboot
bulletNOTE:  the WAS database will be created after you reboot, if not you will need to run a batch file to create it.  You can find the batch file @ d:\WebSphere\AppServer\bin\createdb2.bat
bulletStart the "IBM WS AdminServer"
bulletStart, Settings, Control Panel, Services
bulletSelect: "IBM WS AdminServer"
bulletClick on Start.  (Warning: You can also start the AdminServer from the Start, Programs's menu "Start Admin Server", but you can't see errors if they occur!)
bulletIf you want this service to load on startup, click "Startup", then choose "Automatic".
bulletIf you have problems starting the WS Admin Server your problem is probably in the config file:  d:\WebSphere\AppServer\bin\admin.config . Check the User ID's and passwords.
bulletAlso click on "Startup" and check the "Log On As" account user name (ie: webadmin).
bulletNow, launch the Admin Console:  Start, Programs, IBM WebSphere, Application Server v 3.5, Administrator's Console.
bulletIn "Administrator's Console" start the Default Server.
bulletClick on View, the Topology (you probably are in this veiw already).
bulletOpen up the "WebSphere Administrative Domain" in the browser.
bulletClick on your computer's name.
bulletNow select the "Default Server".  If the server is not running (look at Current state), then click on the "Run" icon in the upper left.
bulletTest Install:
bulletJava Servlet Test
bullethttp://localhost/servlet/snoop (or SnoopServlet or snoop2) - you should see around 2-3 pages of Request/Client information.
Note: On your server the file maybe stored in:  "D:\WebSphere\AppServer\hosts\default_host\default_app\servlets\SnoopServlet.class" directory.
bullethttp://localhost/servlet/hello (or HelloWorldServlet)- you should see the words "Hello World" on you browser.
Note: On your server the file maybe stored in:  "D:\WebSphere\AppServer\servlets" directory.
bullethttp://localhost/servlet/SimpleServlet

WebSphere Studio

bulletI installed from CD #12: IBM WebSphere Studio Adv Ed v3.5
bulletThere is 4 applications in the Studio.
bulletIBM WebSphere Studio 3.5
bulletIBM WebSphere Applet Designer
bulletIBM WebSphere Page Detailer
bulletIBM Distributed Debugger
bulletWARNING: - "Page Detailer" will cause a process (msdtc.exe) to take over 99% of your CPU.  You can uninstall just this item if you do load it for testing.  It may work fine for you.

Enjoy and have fun!