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

solaris jre/plugin 1.3.0_01 auto-installation not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.0_01
    • deploy
    • None
    • beta
    • sparc
    • solaris_2.5
    • Not verified

        Java extension libraries auto-installation by plugin not working for
        Solaris yet (almost there!)

        JAI (Java Advanced Imaging) is one of the standard java extensions
        (JAI, Java 3D, JMF, ...). If JAI is installed manually, applets
        and plugin 1.3.0_01 are able to use the package, while 1.3.0 fails.

        The auto-installation works for Windows now (with JRE/Plugin 1.3.0),

        To reproduce the solaris error, try one of the following links:
        (if you have JAI installed, first uninstall it by:
        cd ~/j2re1_3_0_01;
        sh UNINSTALL-jai )

        http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto1.html

        http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto2.html

        http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto3.html

        http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto4.html

        http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto5.html

        Each html file contains an applet that uses a signed JAI jar file
        packaged in a slightly way. Their difference lies in whether the
        installation excutatble file
        jai1_1-beta-lib-jre-solsparc.bin
        is in a subdirectory "release/", and if there is a "Name" entry in
        the manifest file before signature.

        With JRE/Plugin 1.3.0_01 installed and NPX_PLUGIN_PATH set as, e.g,
             ~/j2re1_3_0_01/plugin/sparc/ns4,

        1. http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto1.html:
        it uses signed_jaisol1.jar, which has
        jai1_1-beta-lib-jre-solsparc.bin, no directory release/
        No Name entry before signature.

        netscape version 4.x and the plugin
        downloaded signed_jaisol1.jar in the process
        created two tmp files (to see it, try:
        ls ~/java_plugin_AppletStore/1.3.0_01/ext/.nfs* )
        and probably tried to execute it... but because
        it is not in a proper JRE directory, installation failed,
        even though it said successful.

        possible problem: need first to excute this tmp file from the top JRE directory
        specified by NPX_PLUGIN_PATH, e.g. first,
        cd ~/j2re1_3_0_01
        then excute the tmp excutable:
        ~/java_plugin_AppletStore/1.3.0_01/ext/.nfs*

        2. http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto2.html:
        it uses signed_jaisol1.jar, which has
        jai1_1-beta-lib-jre-solsparc.bin, no directory release/
        Name entry in manifest file was
        jai1_1-beta-lib-jre-solsparc.bin
        before signature.
        Same results as in the above 1.

        3. http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto3.html:
        it uses signed_jaisol3.jar, which has
        release/jai1_1-beta-lib-jre-solsparc.bin
        Name entry was
        jai1_1-beta-lib-jre-solsparc.bin
        before signature.
            netscape/plugin 1.3.0_01 -
        downloaded signed_jaisol3.jar
                placed this jar and created two .nfs* tmp files in
        ~/java_plugin_AppletStore/1.3.0_01/ext.
        use
        ls -al ~/java_plugin_AppletStore/1.3.0_01/ext
        to see it. It complains that there is no file
            ~/java_plugin_AppletStore/1.3.0_01/ext/release/jai...bin.
        But if in ~/java_plugin_AppletStore/1.3.0_01/ext, it used
        jar -xvf in

        Again if excute one of the tmp file in ~/j2re1_3_0_01, it would also work.


        4. http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto4.html:
        it uses signed_jaisol4.jar, which has
        release/jai1_1-beta-lib-jre-solsparc.bin
        Name entry in manifest file was
        release/jai1_1-beta-lib-jre-solsparc.bin
        before signature.
             netscape/plugin 1.3.0_01 -
        downloaded signed_jaisol4.jar and placed it in
        ~/java_plugin_AppletStore/1.3.0_01/ext.
        use
        ls -al ~/java_plugin_AppletStore/1.3.0_01/ext
        to see it. It complains that there is no file
            ~/java_plugin_AppletStore/1.3.0_01/ext/release/jai...bin.
        But if in ~/java_plugin_AppletStore/1.3.0_01/ext, it used
        jar -xvf in

        No tmp files .nfs*.

        5. http://istserver.eng/jai/autoinstall/JAIAppletDemo_auto5.html:
        it uses signed_jaisol5.jar, which has
        release/jai1_1-beta-lib-jre-solsparc.bin
        No Name entry in manifest file before signature.
             netscape/plugin 1.3.0_01 -
        downloaded signed_jaisol5.jar and placed it in
        ~/java_plugin_AppletStore/1.3.0_01/ext.
        use
        ls -al ~/java_plugin_AppletStore/1.3.0_01/ext
        to see it. It complains that there is no file
            ~/java_plugin_AppletStore/1.3.0_01/ext/release/jai...bin.
        But if in ~/java_plugin_AppletStore/1.3.0_01/ext, it used
        jar -xvf in

        No tmp files .nfs*.


        John Zhang, jxz@eng, 8-7450

              mafishersunw Margarita Fisher (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: