Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Portal Server 6 2004Q2 Migration Guide 

Chapter 14
Upgrading Sun™ ONE Portal Server Software from Version 6.0 to Version 6.2

This chapter provides an overview and discussion on how to upgrade your Sun™ ONE Portal Server system from the 6.0 software release to the 6.2 software release.

This chapter contains the following sections:


The Upgrade Process

The Sun ONE Portal Server 6.0 to 6.2 upgrade process involves the following high-level steps:

  1. Installing Sun ONE Portal Server 6.2 software.
  2. Restoring the Sun ONE Portal Server 6.0 customized files.
  3. Upgrading Sun ONE Portal Server: Secure Remote Access Pack 6.0 software.

    Note

    The steps in the process must be performed in the order they are listed here.



Installing Sun ONE Portal Server 6.2 Software

Install the Sun ONE Portal Server 6.2 software using the Sun Java™ Enterprise System installer program located on the Sun Java™ Enterprise System media. For example, the Solaris SPARC version of the installer is located in /orion/s9orion/orion1of2_sparc.s9_orion/latest/Solaris_sparc directory.

  1. If you have not already done so, log in to the machine and become superuser.
  2. You will need root access to install the Sun ONE Portal Server.

  3. Change directories to where the installer is located. For example,
  4. cd /orion/s9orion/orion1of2_sparc.s9_orion/latest/Solaris_sparc

  5. If you used the su command to become root on your system, use the xhost command to grant access to your display. For example, use the following command to grant access to all users:
  6. xhost +

  7. Type the following command to launch the installer:
  8. ./installer

  9. At the Welcome screen, click Next.
  10. Review the Software License Agreement and click Yes, Accept License to accept.
  11. Specify the appropriate language support for the system and click Next.
  12. On the Select Components tab, uncheck any previously checked boxes and check only the Sun ONE Portal Server 6.2 checkbox.
  13. A warning message displays indicating that the Sun ONE Portal Server requires the Sun ONE Application Server or Sun ONE Web Server be installed or that Sun ONE Portal Server be configured to an existing Web Container. Click Continue.
  14. On the Shared Component Upgrades Required panel, review the list of shared components that must be upgraded and click Next.
  15. Verify the target installation directories and click Next.
  16. If the Checking System Requirements panel indicates that any patches are needed, cancel the install and add any required patches. Otherwise, click Next to continue.
  17. On the Configuration Type Panel, select Minimal Configuration and click Next.

  18. Note

    You must install using the Minimal Configuration option to be able to restore the previous Portal Server configuration.


  19. On the Ready to Install panel, click Next.
  20. On the Installation Complete panel, select the appropriate button to view the Summary or the Install Log and click Close.


Restoring the Customized Files

The Sun ONE Portal Server 6.2 software includes a script (postupgrade) that restores user modified templates from the Sun ONE Portal Server 6.0 installation. This script is located on the Sun Java™ Enterprise System media. For example, the Solaris SPARC version of this script is located in /orion/pointproducts/Solaris_sparc/Product/portal_svr/Tools directory. In addition to the running the postupgrade script, you must also verify some deployment information, deploy the Portal WAR file, and configure some security, login, and authentication information.

Perform the following steps to complete the upgrade process.

  1. Open the /etc/opt/SUNWps/PSConfig.properties file with a text editor and verify that it contains correct values for the following variables:
  2. DEPLOY_DIR=
    DEPLOY_DOCROOT=
    DEPLOY_DOMAIN=

    For example, on systems deployed in the default directory of a Sun ONE Web Server installation, the settings for DEPLOY_DIR, and DEPLOY_DOCROOT would be

    DEPLOY_DIR=/opt/SUNWwbsrvr
    DEPLOY_DOCROOT=/opt/SUNWwbsrvr/docs

  3. Type the following command to deploy the Portal WAR file
  1. Change directories to where the postupgrade script is located. For example,
  2. cd /orion/pointproducts/Solaris_sparc/Product/portal_svr/Tools

  3. Type:
  4. ./postupgrade

  5. Update the Web Container’s classpath in web-container-install-root/instance-name/config/server.xml to include the portlet jar files: "/opt/SUNWps/lib/jdom.jar:/opt/SUNWps/lib/portlettl.jar:/opt/SUNWps/lib/portlet.jar:/opt/SUNWps/lib/portletcontainercommon.jar:/opt/SUNWps/lib/portletcommon.jar"
  6. By updating the web container’s classpath to include the portlet jar files, you can avoid the following exception when restarting the web container.

    failure: WebModule[/portal]: WEB2671: Error configuring application listener of class com.sun.portal.common.logging.impl.LoggerServletContextListenerImpl java.lang.ClassNotFoundException: com.sun.portal.common.logging.impl.LoggerServletContextListenerImpl

      at org.apache.catalina.loader.WebappClassLoader.loadClass
      (WebappClassLoader.java:1463)

      at org.apache.catalina.loader.WebappClassLoader.loadClass
      (WebappClassLoader.java:1299)

      at org.apache.catalina.core.StandardContext.listenerStart
      (StandardContext.java:3326)

      at org.apache.catalina.core.StandardContext.start
      (StandardContext.java:3720)

      at com.iplanet.ias.web.WebModule.start(WebModule.java:238)

      at org.apache.catalina.core.ContainerBase.start
      (ContainerBase.java:1133)

      at org.apache.catalina.core.StandardHost.start
      (StandardHost.java:652)

      at org.apache.catalina.core.ContainerBase.start
      (ContainerBase.java:1133)

      at org.apache.catalina.core.StandardEngine.start
      (StandardEngine.java:355)

      at org.apache.catalina.startup.Embedded.start
      (Embedded.java:995)

      at com.iplanet.ias.web.WebContainer.start
      (WebContainer.java:411)

      at com.iplanet.ias.web.WebContainer.startInstance
      (WebContainer.java:506)

      at com.iplanet.ias.server.J2EERunner.confPostInit
      (J2EERunner.java:161)

  7. Run the restoremodfiles script to restore the 6.0 customized files that were backed up. For example, from the /orion/pointproducts/Solaris_sparc/Product/portal_svr/Tools directory, type:
  8. ./restoremodfiles

  9. When prompted, enter the Sun ONE Identity Server administration password.
  10. When prompted, enter the LDAP User password.
  11. Restart the web container.
  1. Log in to the Sun ONE Identity Server Administration console.
  2. Select the Service Configuration tab.
  3. Select Core and then Organization Authentication Modules.
  4. Click Add Membership and then Save.
  5. From the Service Configuration tab, select Membership and specify amldapuser in the Password for Root User Bind.
  6. From the Service Configuration tab, select Authentication Configuration and specify the Default Success URL.
  7. Restart the web container.
  8. You have now completed the upgrade process. Your Sun ONE Portal Server 6.2 system should be up and running with all of the previous existing data and customizations. You should access your Portal Desktop to verify that all the files have been upgraded successfully.

Localizing Online Help

After a successful upgrade, the channel help URLs will not have the locale in the URL. For example, the URLs will be similar to:

http://host/portal/docs/online_help/...

To localize the online help, update the display profile documents and provide the correct <ConditionalProperties> definition. For example, for the locale en_US use the <ConditionalProperties> definition to define the helpURL as:

<ConditionalProperties condition="locale" value="en">

  <ConditionalProperties condition="locale" value="US">

    <String name="helpURL"
      value="online_help/user_help/desktop/desktopTOC.html"
      advanced="true"/>

  </ConditionalProperties>

</ConditionalProperties>

After defining the helpURL, the Desktop Channel Help URL will be similar to:

http://host/portal/docs/en_US/online_help/...


Upgrading Sun ONE Portal Server: Secure Remote Access Pack

To complete the upgrade process for Sun ONE Portal Server: Secure Remote Access Pack installations, you need to do the following:

You have now completed the upgrade process. Your Sun ONE Portal Server: Secure Remote Access Pack 6.2 system should be up and running with all of the previous existing data and customizations.



Previous      Contents      Index      Next     


Copyright 2004 Sun Microsystems, Inc. All rights reserved.