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

"offline-allowed" tag is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • deploy
    • 1.0.1
    • b20
    • x86
    • windows_2000

      FULL PRODUCT VERSION :
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
      Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows 2000 [Version 5.00.2195]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      German Windows 2000

      A DESCRIPTION OF THE PROBLEM :
      I could reproduce with the following JNLP file:

      <?xml version="1.0" encoding="utf-8"?>
      <!-- JNLP File Enterprise Access Software-->
      <jnlp
        spec="1.0+"
        codebase="http://hobrd.hob.de/EA/lib"
        href="jwsError.jnlp">
        <information>
          <title>HOBLink J-Term</title>
          <vendor>HOB</vendor>
          <homepage href="http://www.hobsoft.com/"/>
          <description>HOB Enterprise Access Software</description>
          <description kind="short">HOBLink Enterprise Access Software</description>
          <description kind="tooltip">HOBLink J-Term</description>
          <description kind="on-line">HOBLink J-Term</description>
          <icon href="images/Logo.gif"/>
          <icon kind="splash" href="../images/JTermHeader.jpg"/>
          <offline-allowed/>
        </information>
        <information locale="de">
          <homepage href="http://www.hob.de/"/>
          <description>HOB Enterprise Access Software</description>
          <description kind="short">HOB Enterprise Access Software</description>
          <description kind="tooltip">HOBLink J-Term</description>
          <description kind="on-line">HOBLink J-Term</description>
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
          <j2se version="1.3+"/>
          <jar href="JLaunch-J2.jar" main="true"/>
          <jar href="JTerm-J2.jar" download="lazy"/>
          <jar href="JTermjws-J2.jar" download="lazy"/>
          <jar href="JWT-J2.jar" download="lazy"/>
          <jar href="JTermconf-J2.jar" download="lazy"/>
          <jar href="JWTconf-J2.jar" download="lazy"/>
          <jar href="dyn-J2.jar" download="lazy"/>
          <jar href="comma-J2.jar" download="lazy"/>
          <jar href="commb-J2.jar" download="lazy"/>
          <jar href="FTPB-J2.jar" download="lazy"/>
          <jar href="FTPBconf-J2.jar" download="lazy"/>
          <jar href="symantec-J2.jar" download="lazy"/>
          <jar href="HOBssl-J2.jar" download="lazy"/>
          <jar href="HOBssh-J2.jar" download="lazy"/>
          <jar href="activation.jar" download="lazy"/>
          <jar href="mail.jar" download="lazy"/>
        </resources>
        <applet-desc
            name="HOBLink J-Term"
            main-class="hob.lau.JLaunch"
            documentbase="../."
            width="600"
            height="320">

          <param name="startup" value="startup.hxml">
          <param name="xxwebprofile" value="Y">
          <param name="xxuserhome" value="C:\Program Files\myHomeDir">
          <param name="xxmultihome" value="Y">
          <param name="xxhidebtn" value="Y">
        </applet-desc>

      </jnlp>


      If I run this JNLP file with an English 1.5.0 version of JWS, it works Ok. It even works with a German version of 1.4.2, but not with a German version of 1.5.0. The "offline-allowed" tag seems to be ignored.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run this JNLP file with a German version of JavaWebStart

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The "Launch Offline" (de: "Offline starten") button in the "Java Application Cache Viewer" (de: "Cache Anzeigeprogramm für Java-Anwendungen") should be enabled.
      ACTUAL -
      In the German JavaWebStart, "Offline" is disabled. In the English, it is enabled.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      I have to integrate an "offline-allowed" tag in the "information locale="de"" element.
      ###@###.### 2004-12-14 22:00:32 GMT

            duke J. Duke
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: