-
Bug
-
Resolution: Incomplete
-
P3
-
7
-
x86
-
windows_7
FULL PRODUCT VERSION :
Java 7 only
ADDITIONAL OS VERSION INFORMATION :
Windows 7
A DESCRIPTION OF THE PROBLEM :
Note: JWS = Java Web Start
Situation: A java application about 2MB that uses JWS / JNLP. It is only 1 JAR file. Update policy is: <update check="timeout" policy="always" />
Problem: In Java 7, when the JAR file is updated, and the JNLP is run again, when the new JAR is being downloaded through JWS it freezes part way through. There is no way to start the application again; even if you clean out the cache. The only way to solve this problem is to uninstall Java 7.
This problem does NOT occur in any version of Java 6.
:
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
STEP 1)
Create a standard Java application about 2MB, it must be only 1 JAR file with a main method and copy it to your server
Use something like the following :
<?xml version="1.0"?>
<jnlp spec="1.0+" codebase="http://login.chartingstation.com/deploy/"
href="run_silly.jnlp">
<information>
<title>aa</title>
<vendor>aa</vendor>
<homepage href="http://www.test.com" />
<description>Software</description>
<description kind="short">aaa
</description>
</information>
<security>
<all-permissions />
</security>
<update check="timeout" policy="always" />
<resources>
<java version="1.6+" initial-heap-size="64m" max-heap-size="700m" />
<jar href="http://yourserver/testApp.jar"
main="true" />
</resources>
<application-desc main-class="testapp.Main">
</application-desc>
</jnlp>
STEP 2) Run it normally
STEP 3) Rebuild+sign your JAR file so it will have a different checksum and copy it to your server
STEP 4) Run the JNLP file again, the new JAR file will attempted to be downloaded. But will FREEZE/FAIL part way through
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Works normally like JRE 6
ACTUAL -
, the new JAR file will attempted to be downloaded. But will FREEZE/FAIL part way through
ERROR MESSAGES/STACK TRACES THAT OCCUR :
none - just freezes
REPRODUCIBILITY :
This bug can be reproduced often.
CUSTOMER SUBMITTED WORKAROUND :
cant find any so far - keep with JRE 6
Java 7 only
ADDITIONAL OS VERSION INFORMATION :
Windows 7
A DESCRIPTION OF THE PROBLEM :
Note: JWS = Java Web Start
Situation: A java application about 2MB that uses JWS / JNLP. It is only 1 JAR file. Update policy is: <update check="timeout" policy="always" />
Problem: In Java 7, when the JAR file is updated, and the JNLP is run again, when the new JAR is being downloaded through JWS it freezes part way through. There is no way to start the application again; even if you clean out the cache. The only way to solve this problem is to uninstall Java 7.
This problem does NOT occur in any version of Java 6.
:
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
STEP 1)
Create a standard Java application about 2MB, it must be only 1 JAR file with a main method and copy it to your server
Use something like the following :
<?xml version="1.0"?>
<jnlp spec="1.0+" codebase="http://login.chartingstation.com/deploy/"
href="run_silly.jnlp">
<information>
<title>aa</title>
<vendor>aa</vendor>
<homepage href="http://www.test.com" />
<description>Software</description>
<description kind="short">aaa
</description>
</information>
<security>
<all-permissions />
</security>
<update check="timeout" policy="always" />
<resources>
<java version="1.6+" initial-heap-size="64m" max-heap-size="700m" />
<jar href="http://yourserver/testApp.jar"
main="true" />
</resources>
<application-desc main-class="testapp.Main">
</application-desc>
</jnlp>
STEP 2) Run it normally
STEP 3) Rebuild+sign your JAR file so it will have a different checksum and copy it to your server
STEP 4) Run the JNLP file again, the new JAR file will attempted to be downloaded. But will FREEZE/FAIL part way through
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Works normally like JRE 6
ACTUAL -
, the new JAR file will attempted to be downloaded. But will FREEZE/FAIL part way through
ERROR MESSAGES/STACK TRACES THAT OCCUR :
none - just freezes
REPRODUCIBILITY :
This bug can be reproduced often.
CUSTOMER SUBMITTED WORKAROUND :
cant find any so far - keep with JRE 6