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

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

XMLWordPrintable

    • b04
    • 6u4
    • b06
    • sparc
    • solaris_10

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: