Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6618779

servicetag not created for PACKAGE installation on Solaris (x86 and sparc)

    Details

    • Subcomponent:
    • Introduced In Build:
      b04
    • Introduced In Version:
      6u4
    • Resolved In Build:
      b06
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      This can be reproduced on Solaris 10 (x86 and sparc). This is a regression from b03.

      Basically, service tag file (/usr/jdk/instances/jdk1.6.0/jre/lib/servicetag) is not created
      when installing jdk using the packages.
      Pre-requisite package stclient was installed prior to jdk packages installation.

      Quick look at the postinstall and preremove scripts in SUNWj6rt package reveal that the
      code relating to servicetag is missing. This code existed in b03.
      See missing code in b05 below:

      if [ "${PKG_INSTALL_ROOT}" = "" ]; then
          ${INSTALL_NAME}/bin/java com.sun.servicetag.Installer -source "${PKGINST}"
          if [ -f ${INSTALL_NAME}/jre/lib/servicetag ]; then
              $INSTALLF -c none $PKGINST ${INSTALL_NAME}/jre/lib/servicetag
          fi
      fi


      While installing JDK using jdk.sh bundle, servicetag file is created and
      the registry populated accordingly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                katleman David Katleman
                Reporter:
                rlingaiaorcl Ranjit Lingaiah (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: