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

Decora-D3D.dll pipeline can no be found error when loading applets with production runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • fx1.0.1
    • fx1.0.1
    • deploy
    • None
    • WinXP, IE7, FF3

        I noticed a serious issue in 1.0 runtime deployment while
        trying out the demos from javafx.com.

        The problem is that the D3D-accelerated Decora dll
        isn't being found, so software rendering is used for
        applets.

        For example, launching this:
          http://www.javafx.com/samples/InterestingPhotos/index.html
        gives the following in the java console:
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.findLibrary: Looking up native library: Decora-D3D.dll
      basic: Native library Decora-D3D.dll not found
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.findLibrary: Looking up native library: Decora-SSE.dll
      basic: JNLP2ClassLoader.findLibrary: native library found: C:\DOCUME~1\tdv\LOCALS~1\Temp\.java_jnlp_applet_nativelib_cache.tdv\tmp42697\Decora-SSE.dll
      Calling synthesizeWindowActivation(true) for applet 1
        Called PluginEmbeddedFrame.requestFocus()
      Calling synthesizeWindowActivation(true) for applet 1
        Called PluginEmbeddedFrame.requestFocus()

        This happens on all demos.

        Same thing with hudson build demos using production servers
        for the runtime:
           http://getjfx.sfbay.sun.com/hudson/view/JavaFX%20Apps/job/jfx-apps/lastSuccessfulBuild/artifact/build/dist/webstart/mediaplayer/JavaFXVideoPlayer_playlist_bottom.html

        Running JVMParam: [JVMParameters: isSecure: true, args: -Xbootclasspath/a:C:\PROGRA~1\Java\jre6\lib\deploy.jar;C:\PROGRA~1\Java\jre6\lib\javaws.jar;C:\PROGRA~1\Java\jre6\lib\plugin.jar -Djava.class.path=C:\PROGRA~1\Java\jre6\classes]
      network: Created version ID: 1.0+
      network: Created version ID: 6.0
      basic: LD - All JAR files signed: http://jfx.sfbay.sun.com/hudson//job/jfx-apps/723/artifact/build/dist/webstart/mediaplayer/mediaplayer_browser.jnlp
      basic: LD - All JAR files signed: http://dl.javafx.com/javafx-rt.jnlp
      basic: LD - All JAR files signed: http://dl.javafx.com/Decora__V1.0.0.jnlp
      basic: LD - All JAR files signed: http://dl.javafx.com/jogl__V1.1.1.jnlp
      basic: LD - All JAR files signed: http://dl.javafx.com/gluegen-rt__V1.0b06.jnlp
      basic: LD - All JAR files signed: http://dl.javafx.com/jmc__V1.0.0.jnlp
      basic: passing security checks; secureArgs:true, allSigned:false
      basic: continuing launch in this VM
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: Applet loaded.
      basic: Applet resized and added to parent container
      PluginMain.StartAppletListener: appletLoaded for applet ID 1
      basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 784057 us, pluginInit dt 3215928 us, TotalTime: 3999985 us
      basic: Applet initialized
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      network: Cache entry not found [url: http://dl.javafx.com/gluegen-rt-natives-windows-i586.jar?version-id=1.0b06, version: null]
      network: Cache entry not found [url: http://dl.javafx.com/jogl-natives-windows-i586.jar?version-id=1.1.1, version: null]
      network: Cache entry not found [url: http://dl.javafx.com/jogl.jar?version-id=1.1.1, version: null]
      network: Cache entry not found [url: http://dl.javafx.com/gluegen-rt.jar?version-id=1.0b06, version: null]
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      .....

      MTS OR : Vin Diesel stars as a mercenary hired to deliver a package from the ravages of post-apoca..
      MTS OR : Vin Diesel stars as a mercenary hired to deliver a package from the ravages of post-apoca.. 1:57
      MTS OR : Vin Diesel stars as a mercenary hired to deliver a package from the ravages of post-apoca.. 1:57
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.findLibrary: Looking up native library: Decora-D3D.dll
      basic: Native library Decora-D3D.dll not found
      basic: JNLP2ClassLoader.getPermissions() ..
      Applet2ClassLoader: Policy.getPolicy() took 0 ms
      basic: JNLP2ClassLoader.getPermissions() X
      basic: JNLP2ClassLoader.findLibrary: Looking up native library: Decora-SSE.dll
      basic: JNLP2ClassLoader.findLibrary: native library found: C:\DOCUME~1\tdv\LOCALS~1\Temp\.java_jnlp_applet_nativelib_cache.tdv\tmp20014\Decora-SSE.dll

      This used to work fine with hudson-based builds.

            newell Craig Newell (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: