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

JavaWebStart doesn't find the app in the cache when invoked by a file extension

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10 32 or 64bit - Java 1.8.0_171 or Java 1.8.0_172
      JRE 1.8.0_171-b11 Java HotSpot(TM) Client VM
      JRE 1.8.0_161-b12 Java HotSpot(TM) Client VM
      Java Web Start 11.171.2.11 x86
      Java Web Start 11.161.2.12 x86

       

      A DESCRIPTION OF THE PROBLEM :
      We have a JNLP file that associates a file extension.
      If a file associated to our application has been invoked directly by a browser (ie. firefox or chrome) several times, after 5~6 times or more, JWS fails to invoke the application.
      After this time, the application simply disapears of Java Cache.

      CouldNotLoadArgumentException[ Não foi possível carregar o arquivo/URL especificado: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700]

      java.io.FileNotFoundException: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700 (O sistema não pode encontrar o arquivo especificado)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install application -> http://www.tpix.com.br/assinador/ArispSigner.jnlp
      2. Allow *.p7s association
      3. Application runs perfetly
      4. Close application
      5. Open several times a *.p7s diretly from a browser -> https://www.registradores.org.br/Downloads/DownloadAnexosPedidos.aspx?c=CuFkMqPlEM
      6. After some times -> CouldNotLoadArgumentException[ Não foi possível carregar o arquivo/URL especificado: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700]

      Caused by: java.io.FileNotFoundException: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700 (O sistema não pode encontrar o arquivo especificado)

      7. Open Control Panel > Java > General tab > View > Java Cache Viewer > Where are the application?

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Java Web Start always open the application in the cache when invoked by file extension.
      ACTUAL -
      CouldNotLoadArgumentException[ Não foi possível carregar o arquivo/URL especificado: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700]

                      at com.sun.javaws.Main.launchApp(Unknown Source)

                      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

                      at com.sun.javaws.Main.access$000(Unknown Source)

                      at com.sun.javaws.Main$1.run(Unknown Source)

                      at java.lang.Thread.run(Unknown Source)

      Caused by: java.io.FileNotFoundException: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700 (O sistema não pode encontrar o arquivo especificado)

                      at java.io.FileInputStream.open0(Native Method)

                      at java.io.FileInputStream.open(Unknown Source)

                      at java.io.FileInputStream.<init>(Unknown Source)

                      at java.io.FileInputStream.<init>(Unknown Source)

                      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

                      ... 5 more


      ########################################################

      Java Web Start 11.171.2.11 x86

      Usando a versão do JRE 1.8.0_171-b11 Java HotSpot(TM) Client VM

      Diretório home do usuário = C:\Users\walter.ARISP

      ----------------------------------------------------

      c: limpar janela da console

      f: concluir objetos da fila de finalização

      g: coleta de lixo

      h: exibir esta mensagem de ajuda

      m: imprimir uso de memória

      o: log do trigger

      p: recarregar configuração do proxy

      q: ocultar console

      r: recarregar configuração da política

      s: descartar propriedades do sistema e de implantação

      t: descartar lista de threads

      v: descartar pilha de threads

      0-5: definir nível de rastreamento como <n>

      ----------------------------------------------------

      #### Java Web Start Error:

      #### Não foi possível carregar o arquivo/URL especificado: C:\Users\walter.ARISP\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\54b91433-74b8e700

      ---------- BEGIN SOURCE ----------
      Install application -> http://www.tpix.com.br/assinador/ArispSigner.jnlp
      Open several times a *.p7s diretly from a browser -> https://www.registradores.org.br/Downloads/DownloadAnexosPedidos.aspx?c=CuFkMqPlEM
      ---------- END SOURCE ----------

      FREQUENCY : always


            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: