Sun ONE logo     Previous      Contents      Index      Next     
Sun ONE Web Services Platform Developer Edition Installation Guide



Uninstalling From Solaris

Occasionally, previous installations of servers are not cleanly uninstalled, or are partially uninstalled from the Solaris 8 or 9 environment.

This section describes the sequence of steps required to remove the Sun™ ONE Web Services Platform Developer Edition or leftover component parts (from previous installations) that are obstructing a successful installation on your Solaris environment.

Procedures

When there are previous installations of servers that were not cleanly uninstalled, or that were partially uninstalled, use the following steps to uninstall and completely remove from your Solaris system all traces of the Sun ONE Web Services Platform Developer Edition software and the bundled products.



Note

If necessary, set the DISPLAY environment variable as follows:

  • To set the DISPLAY environment variable in the C Shell (csh) and T Shell (tcsh):
  • # setenv DISPLAY <hostname>:0 (or 0.0)

  • To set the DISPLAY environment variable in the Bourne Shell (sh) or the Korn Shell (ksh):
  • $ DISPLAY=<hostname>:0 (or 0.0); export DISPLAY

The host name is the computer on which you want your application to display its output.

  • To make sure that your computer accepts the display input, run the command
  • x host +

    on which you want to receive and view the display.

  • To verify that your DISPLAY is set up properly, type admintool at the command prompt.
  • The Admintool UI appears.

  • Return to the command prompt to continue.


  1. Stop all of the servers:
  2. <install_dir>/utils/stopservers.sh

  3. Make certain that none of the servers are running.
  4. Save the files:
  5. <install_dir>/utils/removePackage.sh

    In a local directory:

    <install_dir>/utils/requiredPackages

  6. Run the uninstaller for the Sun ONE Web Services Platform Developer Edition software.
  7. <install_dir>/uninstall.sh

    The uninstaller uninstalls all of the products previously installed by the Sun ONE Web Services Platform Developer Edition installer.



    Note

    If you have deployed any applications on the Sun ONE Application Server, or on any other server, you will lose this data. You should make backups, as necessary.



    The Welcome page appears


    This screen capture shows the Welcome page with a welcome message and the copyright information.

  8. Read the Welcome message.
  9. Click Next to continue.


  10. Note

    If you click Cancel, the uninstallation program aborts without uninstalling the Sun ONE Web Services Platform Developer Edition software.



    The Ready to Uninstall page appears.


    This screen capture shows the Ready to Uninstall page that lists the directory location, reclaimed disk space, and the components that will be uninstalled.

    This page lists the directory location, the disk space that will be reclaimed after uninstalling, and the components and software that are to be uninstalled.

  11. Click Uninstall to complete the uninstallation.
  12. The Uninstalling Page appears.


    This screen capture shows the Uninstalling page that displays the progress of the uninstallation.

    The uninstall process starts automatically.

    After the uninstallation is complete, the Uninstallation Summary page appears.


    This screen capture shows the Uninstallation Summary page where you can View Uninstall Log.

    Click View Uninstall Log to view the uninstallation details.

    The path to the log file is displayed at the end of the log.

  13. Click Close to continue.


  14. Note

    See the Troubleshooting section of this guide for instructions on how to check for packages that might not have been removed during uninstallation. A list of these installed packages appears with these instructions.



  15. Clean up the remaining product related files in <install_dir>/
  16. (for example, /opt/WebServicesPlatform)

  17. If found, remove the following file:
  18. /var/sadm/install/sodpregistry

    /var/sadm/install/productregistry

  19. Optionally, remove the /var/tmp/WebServicesPlatform directory.
  20. Optionally, you might want to clean up the Log files listed below:
  21. /var/sadm/install/logs/

    Sun_ONE_Application_Server_install*

    Sun_ONE_Application_Server_uninstall*

    Sun_ONE_Connector_Builder_install*

    Sun_ONE_Connector_Builder_uninstall*

    Sun_ONE_Web_Services_Platform_Developer_Edition_install*

    Sun_ONE_Web_Services_Platform_Developer_Edition_uninstall*

    Sun_TM_ONE_Identity_Server_Policy_Agent_install*

    Sun_TM_ONE_Identity_Server_Policy_Agent_uninstall*

    pssetup*

    developerplatform/install.*



    Note



Previous      Contents      Index      Next     
Copyright 2003 Sun Microsystems, Inc. All rights reserved.