C H A P T E R 3 |
Installing Java Studio Enterprise (Microsoft Windows) |
This chapter describes how to install Java Studio Enterprise software from physical media (CD-ROM or DVD) or from files downloaded from the web.
This chapter covers the following topics:
Note - Verify that the disk or download file that you are using contains the products that you want to install. See Selecting What to Install for more details. |
|
1. Log in to your system with administrator privileges.
If the installer does not start, follow these additional steps:
a. From the Start Menu, choose Run, and browse to the product directory on the media.
b. Double-click the file media-drive\installer.bat.
The installer starts and the Welcome page appears.
Tip - On the DVD, the installer for Tools Components is found in the directory, ToolsComponents_Windows. The installer for Optional Servers is found in the directory, OptionalServers_Windows. |
a. Download and unzip the appropriate download file.
Do not use a download directory containing spaces or other special characters in the path name.
Be sure you have the correct download file for your platform and for the component products that you want to install. See Selecting What to Install for a complete description of the download files and their contents.
b. After unzipping the download file, change to the directory containing the installer and double-click the file installer.bat to start the Java Studio Enterprise installer.
The System Readiness Check (SRC) examines your system to ensure that installation can proceed successfully. When the SRC is complete, either the installer starts or you see an option to open the Initial System Check Report.
3. (If necessary) Click the View Report button for further instructions.
The Initial System Check Report is displayed. If your system is not ready for installation, follow the recommendations of this report and then click Restart Check. You may also Exit and restart the installer after completing the recommended steps. When your system successfully passes the readiness check, the Welcome page appears.
Tip - If the System Check reveals that you have incomplete uninstallations or stale entries in the Windows Registry or productregistry file, see the section To Fix a Failed Uninstall (Microsoft Windows Platform) for detailed information on cleaning up your system. If you have tried to uninstall a component product by just deleting the product files, you will likely have a corrupt Windows registry and you need to clean up the stale registry entries. |
4. On the Welcome page, click Next and follow the installer instructions.
The installer asks a series of questions and installs the products you selected. When installation is complete, the Installation Complete page appears. If you have questions about the installer pages, refer to Installer Reference for more information.
5. Review the Installation Complete page.
a. Click on the View Summary button to view the installation summary information.
A new window opens and displays the Installation Summary Report. You see two buttons at the top: Install Summary and Configuration Data.
b. (Optional) Click the Configuration Data or Install Summary buttons to view the information.
c. To view the installer logging messages, click View Log on the Installation Complete page.
A window opens and displays the Installation Log.
The log files can be found at the location specified by the user environment variable %TEMP%. For example, C:\Documents and Settings\Administrator\Local Settings\Temp.
The log file names are of the following format:
6. Click Close to exit the installer.
7. (Optional) Validate the installation using the appropriate chapters:
This section provides additional details for the installer wizard pages. The installer pages (panels) that you see and the order in which they appear depend on several things:
The System Readiness Check is done to check for an incomplete installation of Java Studio Enterprise software or any of the component product runtimes. It checks for mismatches in installed products, registry key entries, product registry entries and Windows services. When problems are detected, you see a report that lists discrepancies and corrective actions. View FIGURE 2-1 and FIGURE 3-1 for samples of this report.
Enter your product license serial number on this page. If you are installing Java Studio Enterprise software for evaluation purposes, generate a trial license by checking the box next to the text, " Generate 90-day trial license serial number". This text is seen on the installer's Product Serial Number page.
If you have purchased the software, enter the license serial number that was provided to you at the time of purchase. You can upgrade to a permanent license after installation by using the license manager tool. See Chapter 12 for more information on this tool.
If you are installing the Optional Servers after installing the Tools Components, you may already have a license serial number on your machine. In this situation, click Next to continue using the existing trial license. To upgrade to a permanent license, input a new (non-trial) Product Serial Number (as found on the physical media or on the web page when you purchased the software for download).
Select the component products to install from this page.
The list of available products that you see depends on whether you are installing the Tools Components or the Optional Servers. These two bundles of component products are found in two different download files, CDs, or DVD folders, depending on the media that you are using. For more details, see Selecting What to Install.
Some component products have dependencies on other products. The installer selects the dependent products for you. Review Component Product Dependencies for more information about the product dependencies. Because of these dependencies, some combinations are not supported. For example, you can not install Access Manager or Portal Server without also installing Directory Server and a web container. The web container for Access Manager and Portal Server can be either Application Server or Web Server.
The installer disables the selection of component products that are already installed on your machine.
If you are installing Access Manager or Portal Server, you may select Web Server as the container instead of the default web container, which is Application Server. To do this, use the following procedure..
|
1. Start the installer using the Optional Servers CD or download file.
2. On the Product Selection page, select the servers to install, being sure to select Web Server for installation.
You have not yet selected the web container. You do this on the next panel.
The Container Selection page is displayed. This is where you indicate that you want to use the alternate web container.
4. Click the radio button to indicate your choice of Web Server, click Next and continue with installation.
The installer creates the necessary Web Server instance and configures Access Manager and Portal Server, if both are selected, to run in this instance.
This page is used to provide information to the installer when you have Application Server installed on another machine and plan to deploy your applications to that remote server. If you are installing and using Application Server on the local machine, accept the default and click next.
Tip - You can also link to a remote Application Server from within the IDE. |
Enter your installation directory on this page. The default installation root directory is %SystemDrive%\Sun\jstudio_04Q4. Follow these guidelines if you specify a non-default installation directory:
Each component product is installed in its own folder beneath the root directory. See Appendix B for more information on the directory structure.
The values entered on this page are used to configure the various servers that you install. The list of required fields that you see is dependent on the products that you are installing.
Host Name is the name of the machine on which you are installing the software.
DNS Domain Name is used for configuring various servers. This value must be correct for successful installation and configuration of the servers. See Verifying the DNS Suffix for details on verifying this value on your machine. Contact your system administrator if you have problems determining the correct value for this parameter.
Administrator User ID and Administrator Password are used to configure the Java Studio Enterprise server products that you are installing. Use this ID and password to access the server administrative interfaces after installation. Remember to note your password and keep it secure. You can not access the password after installation.
You can review the configuration data after installation in the following ways:
For example C:\Documents and Settings\Administrator\Local Settings\Temp. The file name is of the format: Summary_Report.timestamp.
This section contains information about installing the Java Studio Enterprise servers on a system that does not have a static IP address. Use the procedure To Install Using Localhost IP Address, if you are installing on a non-network machine or a machine without a static IP adddress, for example:
Basically, you should disconnect from the network and reboot before installing. This enables the Java Studio Enterprise installer to automatically pick up 127.0.0.1 as your IP address and localhost as your host name.
If your machine has been connected to a network and already has a dynamic IP address assigned (via DHCP), the installer configures using the dynamic address and this may cause the servers to stop functioning as expected when the machine is rebooted.
Note - You can not connect from remote systems to Application Server installed on a machine using 127.0.0.1 and localhost as described in this section. |
|
1. Disconnect your machine from the network.
Machine is now using the IP address for localhost, 127.0.0.1.
3. Verify that the Primary DNS suffix is set correctly.
Note - For a laptop, it is not important what the value of the DSN suffix is. You can use a domain name such as laptop.com. |
4. Disable firewall software that you may have running.
5. Install Java Studio Enterprise using the standard install procedure.
See Using the GUI Installer for Microsoft Windows systems.
6. When installation is complete, proceed to validate the installation using the appropriate chapters:
Silent installation is useful for installing Java Studio Enterprise on multiple hosts that require similar installation configurations. Silent installation requires that you run the installer once to capture your input values in a state file. Using appropriate command line options, the product is not installed during this dry run of the installer. The state file contains your responses as a list of parameters, each representing a single prompt or field. You can then run the installer on many hosts, using an edited version of this state file as input. It is necessary to edit the state file parameters that are machine or platform specific. This process propagates one installation configuration across multiple hosts in your enterprise.
Please refer to Chapter 7 for details on preparing and executing a silent installation.
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.