This chapter provides suggestions for how to resolve Sun Java Enterprise System (Java ES) installation and uninstallation problems.
This chapter includes the following sections:
This section provides general guidelines for finding the source of a problem. The following topics are addressed:
Java ESinstallation is not supported on a stand-alone machine. You must have a machine connected to a network to install Java ES.
If you are installing a component that relies on Directory Server, problems can be caused by one of these situations:
You specified an incorrect user ID and password for Directory Server.
You specified an incorrect LDAP port.
Directory Server is unreachable.
In Configure Manually After Installation mode, you need to ensure that the Directory Server is running before configuring the products that depend on Directory Server.
If you are having problems starting components, verify that the procedures outlined in Chapter 5, Completing Postinstallation Configuration were performed correctly.
The following host-level issues can cause installation problems:
Updates. Have you installed the recommended service packs?
Disk space. How is the disk partitioned, and to what partitions do installation directories point?
Network ports. During configuration, you supply port numbers for Java ES components. Verify that the port information is correct as follows:
Examine the standard port numbers in the file.
Look at the summary log file to compare your settings with the standards. Did you mistype a port number or set one server to the port that is typically used for another port?
Use the command netstat -a to view current port use on the system. Did you assign a port number that was already in use?
Check whether you typed the correct Host name and the Domain name during configuration.
Refer to System Requirements to check if all the requirements have been met before proceeding to installation.
If you are installing from a DVD, examine the media for dirt or damage. Dirty discs can result in installation problems.
If a problem occurs when starting a component, examine its log files. Many component log files are listed under Component Troubleshooting Information.
If a problem occurs during installation or uninstallation, check the appropriate log file in the %TEMP%/SunJavaES.log directory.
%TEMP% is the user-defined TEMP folder on that system.
Examining the uninstaller and installer log files (along with the Java ES configuration log) can help locate the source of problems.
Review the installation summary file, which provides a high-level description of what was installed and configured. This file is located at JavaEs-install-dir\Summary.txt. If a problem occurred, check which component caused the problem. If multiple problems occurred, isolate the first one.
Review the detailed log files.
Look for the first error or warning that occurred and attempt to resolve the error. Sometimes resolving one error resolves a number of seemingly unrelated errors that follow.
Find the name of the component that caused the problem.
Review the configuration logs. The configuration logs are in component installation directories. Refer to Summary.txt to find the exact location of component log files.
Review the installer log file for installation or uninstallation issues. Refer to configuration logs for configuration-related issues.
To prevent the overwriting of customized files, such as edited configuration files, Java ES 5 components cannot be installed in their respective installation directories that contain files.
If you are reinstalling Java ES 5, check the installation directories to ensure that they are empty. If these directories are not empty, archive the files elsewhere and try the installation again.
The installer requires that you enter a number of passwords for components. If you are installing different components on different hosts, make sure that you supply matching passwords on each host.
To resolve password problems, you might need to uninstall and then reinstall. If the uninstallation fails, refer to Installation Fails Due to Remaining Files During Uninstallation.
A number of components have installation-time interdependencies. Problems that affect one component can affect other components. To check for interdependencies not met, familiarize yourself with the information in Dependency Check. Then, do the following:
Review the summary file and log files to see whether related components have failed. These failures might provide a clue as to what to fix first.
Check that you have specified correct connection information. For example:
Does the information that you provided when configuring Directory Server match the directory information you provided for components that use Directory Server?
Does the Access Manager information that you provided for Portal Server or Portal Server SRA match the information you provided for Access Manager?
This section addresses the following problems you might encounter during installation:
Installation Fails Due to Remaining Files During Uninstallation
Silent Installation Fails: “Response File Is Incompatible or Corrupted”
If uninstallation fails, components that should have been removed might remain on your host system. In such a case, you must manually remove the components before you reinstall Java ES.
The following cleanup steps are required before reinstalling the Java ESafter a failed installation or a failed unconfiguration.
Ensure that all the Java ES services are stopped and removed from the Control Panel > Administrative Tools > Services menu.
Delete any previously installed Sun folder. If you are not able to delete the folder, restart the system and then delete the folder.
Check for any remaining service entries. If any service entry is remaining in Services, you need to clean up the registry by removing the entries. Possible entries are listed in the following table.
Component Name |
Service Entry |
---|---|
Common Agent Container |
Common Agent Container 2 (#CRC:default) |
HADB |
HADB4.4MgmtAgent |
Message Queue |
MQ3.7UR1_Broker |
Portal Server |
sra.gateway.srainstance sra.netletproxy.srainstance sra.rewriterproxy.srainstance |
WebAdminServer |
https-admserv70 |
Web Console |
Web Console 3.0.2 console |
Web Proxy Server |
Sun Java System Socks Server 4.0.4 (server1) Sun Java System Web Proxy Server 4.0.4 (proxy-server1) Sun Java System Web Proxy Server 4.0.4 Administration Server |
Web Server |
Sun Java System Web Server 7.0 (https-hostname.domainname) Sun Java System Web Server 7.0 Administration Server |
Clean up the registry.
Delete HKEY_LOCAL_MACHINE\Software\Sun Microsystems\Entsys5\Installer.
If you perform any of the previous steps, restart the system before you start the installation.
Installation can fail due to the following Windows installer error.
Error 1603 - Fatal error during installation: The error occurs if the target host is Windows 2003 Enterprise Server with SP1. The possible causes of this error are mentioned at http://support.microsoft.com/default.aspx?scid=kb;en-us;834484.
In such case, you need to install the Update for Windows 2003 Enterprise Server SP1 from :http://support.microsoft.com/kb/898715.
If you edited the response file, you might have introduced errors. For example, check the following:
Are all local host parameters set and are they set to consistent values?
Are parameter values in the correct case?
Did you delete a required parameter without typing a replacement?
Are all port numbers valid and unassigned?
Resolve the problem and regenerate the response file as described in Creating a Response File.
If you are using a response file that was created on the same platform on which you are using the response file, the problem might be due to an unknown file corruption error. Try to generate a new response file and reinstall.
For more information, refer to Creating a Response File.
Possible causes for external errors are the following:
Power failure or system failure
Pressing Control-C or killing the installer from the task manager to stop the installer process
If the failure occurred during the installation or configuration process, you probably have a partial installation. Run the uninstallation program. If the uninstallation program fails, follow the instructions under Installation Fails Due to Remaining Files During Uninstallation.
This section provides various quick tips on component troubleshooting, with references to useful documentation:
Topic |
Details |
---|---|
Configuration File |
AccessManager-base\Config\AMConfig.properties |
Log and Debug Files |
Log file directory: AccessManager-base\Logs Debug file directory: AccessManager-base\Debug |
Debug Mode |
Refer to the Sun Java System Access Manager Developer’s Guide. |
Topic |
Details |
---|---|
Log Files |
Log file directory: ApplicationServer-base\Setup\ Application Server instance log directory (default location for the initially created instance): JaveES-install-dir\appserver\ Message log file name: server.log, for each server instance. |
Configuration Files |
Configuration file directory: ApplicationServer-base\Config. |
Troubleshooting |
Refer to the Sun Java System Application Server Enterprise Edition Troubleshooting Guide. |
Topic |
Details |
---|---|
Log Files |
|
Executable Location |
JavaES-install-dir\Hadb\4.4.1-7\lib |
Troubleshooting |
Refer to the High Availability Session Store Administrator’s Guide. |
Topic |
Details |
---|---|
Log Files |
Installation Log file: MessageQueue-base\var\instances\instance-name\log Refer to the Sun Java System Message Queue 3.7 UR1 Administration Guide. |
Troubleshooting |
For performance problems, refer to Chapter 11, Analyzing and Tuning a Message Service, in Sun Java System Message Queue 3.7 UR1 Administration Guide. Message Queue troubleshooting is discussed in Chapter 12, Troubleshooting Problems, in Sun Java System Message Queue 3.7 UR1 Administration Guide. and the Message Queue Forum, at: http://swforum.sun.com/jive/forum.jspa?forumID=24. Additional articles are available in Knowledge Base, at http://developers.sun.com/prodtech/msgqueue/reference/techart/index.html. |
Topic |
Details |
---|---|
Configuration Files |
For Monitoring Console:
For Monitoring Framework:
|
Log Files |
For Monitoring Console:
For Monitoring Framework:
|
Troubleshooting |
If you cannot access Monitoring Console, refer to Troubleshooting the Monitoring Console in Sun Java Enterprise System 5 Monitoring Guide. For troubleshooting Monitoring Console, refer Troubleshooting the Monitoring Framework in Sun Java Enterprise System 5 Monitoring Guide. |
Topic |
Details |
---|---|
Debug Logs |
Portal gateway debug logs are located in the PortalServer-base\debug directory. Note – Logs for Portal Server services (such as NetFile) are in AccessManager-base\debug directory when logging is turned on from Access Manager Administration Console. |
Topic |
Details |
---|---|
Log Files |
Default log file:ServiceRegistry-base\domains\registry\logs\server.log For more information, refer to the Service Registry 3.1 Administration Guide. |
Troubleshooting |
Refer to the Service Registry 3.1 Administration Guide. |
Topic |
Details |
---|---|
Log Files |
The errors log file and the access log file are located in the WebServer-base\WebServer_Install.log directory. The errors log file lists all the errors that the server has encountered. The access log records information about requests to the server and the responses from the server. For more information, refer to the Sun Java System Web Server 7.0 Administrator’s Guide. |
Troubleshooting |
Refer to the Sun Java System Web Server 7.0 Troubleshooting Guide. |
Configuration File Directory |
WebServer-base\https-instance-name\config |
The following additional information in this guide is useful for troubleshooting:
Chapter 5, Completing Postinstallation Configuration contains instruction for performing postinstallation configuration.
Chapter 6, Verifying Installed Java ES Components contains instructions to verify installed Java ES components.
Chapter 7, Uninstalling Java ES Componentscontains information about problems that might occur while uninstalling the Java ES software.