-
Bug
-
Resolution: Fixed
-
P2
-
6u18
<update check="background" policy="always" /> doesnt work as expected.
A value of "background" means to launch the application while checking for updates in the background.
So that means if the jar files is changed and launch for the first time it may run with cached jar but second launch should run with the newer jar file. But it is not working as expected.
here is the testcases:
Step 1: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple1.jnlp
expected Title FirstVersion ( or SecondVersion depends on what jartest.jar is pointing to)
Step 2: Change the jar file in the server using this servlet.
http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/JarUpdateServlet?source=second.jar&destination=jartest.jar
Step 2: Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple1.jnlp again.
Expcted to used the cached jar and title will be FirstVersion. But in the background it should download the newer version.
Step3: Launch the jnlp again. Now I am expecting the "Second version" title.
I have repeated the steps with extension jars too. Same behaviour is observed.
I am sorry for this wrong entry in the Bug list.
There are two 2 testcases here .
1) Background check with Extension Jar files - which is not working now.
2) Background check with Normal jnlp - which is working.
First Test - extension jar files -
Step1: Launch - http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar_extension_background.jnlp
Expected Title - FirstVersion .
Step2: Login to jdeploy01.india.sun.com - dtfadmin/dtf123
cd /net/sqindia/export/disk13/jcg/javafx/workspace/webservices/tomcat/webapps/JavawsMustangIntegTest/update/jar
manually - cp second_ext.jar extension.jar
Step3: Launch again -
Here is the log -
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : null
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
Step4: Launch Again now have to expect the title change as the cache entry is changed.
But It is showing the same FirstVersion title.
Here is the log .
security: Mark trusted: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
basic: LD - All JAR files signed: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
basic: passing security checks; secureArgs:true, allSigned:false
basic: trusted app: false, -secure=false
basic: DefaultMatchJRE:
JREDesc: JREDesc[version 1.5+, heap=-1--1, args=null, href=null, sel=true, null, null]
JREInfo: JREInfo for index 0:
platform is: 1.6
product is: 1.6.0_18
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre6\bin\javaw.exe
args is: null
native platform is: Windows, x86 [ x86, 32bit ]
enabled is: true
registered is: true
system is: true
Init Heap: -1
Max Heap: 67108864
Satisfying: true, true
SatisfyingVersion: true
SatisfyingJVMArgs: true, true
SatisfyingSecure: true
Selected JVMParam: [JVMParameters: isSecure: true, args: ]
Running JVMParam: [JVMParameters: isSecure: true, args: ]
basic: continuing launch in this VM
network: LDUpdater: started background update check
basic: Main-class: TestSimpleExtension
security: JAVAWS AppPolicy Permission requested for: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
security: Add sandbox permissions
security: JAVAWS AppPolicy Permission requested for: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
security: Istrusted: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp true
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : null
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
2nd Test - No extension.
Step1: Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/test_background.jnlp
Step 2: Change the jar file in the server using this servlet.
http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/JarUpdateServlet?source=second.jar&destination=jartest.jar
Manually verify it is changed - Log into jdeploy01.india.sun.com ( telnet - dtfadmin/dtf123)
directory - /net/sqindia/export/disk13/jcg/javafx/workspace/webservices/tomcat/webapps/JavawsMustangIntegTest/update/jar
Step3: Launch again -
Could not launch from cache. Will try online mode. [Given JNLP is newer than cached copy!]
Trace level set to 5: all ... completed.
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Sever response: (length: 808, lastModified: Fri Oct 30 09:40:18 IST 2009, downloadVersion: null, mimeType: application/java-archive)
network: CleanupThread used 13532 us
network: Downloading resource: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
Content-Length: 808
Content-Encoding:
network: Wrote URL http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar to File C:\Documents and Settings\Seetharam\Application Data\Sun\Java\Deployment\cache\6.0\31\2f68c65f-309c6121-temp
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: CleanupThread used 7 us
network: Downloaded http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar to file:/C:/Documents%20and%20Settings/Seetharam/Application%20Data/Sun/Java/Deployment/cache/6.0/31/2f68c65f-309c6121
Cache Entry disabled
network: Cache: Enable a new CacheEntry: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Remove cache entry: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Background Update Thread: update cache: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
From the log it is very clear that it is updating the cache entry .
Step4: Launch again . Now the title should change as it is updated.
I am getting expected behavior. Title is changed.- ( But here also Response code is 200 )
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
A value of "background" means to launch the application while checking for updates in the background.
So that means if the jar files is changed and launch for the first time it may run with cached jar but second launch should run with the newer jar file. But it is not working as expected.
here is the testcases:
Step 1: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple1.jnlp
expected Title FirstVersion ( or SecondVersion depends on what jartest.jar is pointing to)
Step 2: Change the jar file in the server using this servlet.
http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/JarUpdateServlet?source=second.jar&destination=jartest.jar
Step 2: Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple1.jnlp again.
Expcted to used the cached jar and title will be FirstVersion. But in the background it should download the newer version.
Step3: Launch the jnlp again. Now I am expecting the "Second version" title.
I have repeated the steps with extension jars too. Same behaviour is observed.
I am sorry for this wrong entry in the Bug list.
There are two 2 testcases here .
1) Background check with Extension Jar files - which is not working now.
2) Background check with Normal jnlp - which is working.
First Test - extension jar files -
Step1: Launch - http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar_extension_background.jnlp
Expected Title - FirstVersion .
Step2: Login to jdeploy01.india.sun.com - dtfadmin/dtf123
cd /net/sqindia/export/disk13/jcg/javafx/workspace/webservices/tomcat/webapps/JavawsMustangIntegTest/update/jar
manually - cp second_ext.jar extension.jar
Step3: Launch again -
Here is the log -
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : null
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
Step4: Launch Again now have to expect the title change as the cache entry is changed.
But It is showing the same FirstVersion title.
Here is the log .
security: Mark trusted: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
basic: LD - All JAR files signed: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
basic: passing security checks; secureArgs:true, allSigned:false
basic: trusted app: false, -secure=false
basic: DefaultMatchJRE:
JREDesc: JREDesc[version 1.5+, heap=-1--1, args=null, href=null, sel=true, null, null]
JREInfo: JREInfo for index 0:
platform is: 1.6
product is: 1.6.0_18
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre6\bin\javaw.exe
args is: null
native platform is: Windows, x86 [ x86, 32bit ]
enabled is: true
registered is: true
system is: true
Init Heap: -1
Max Heap: 67108864
Satisfying: true, true
SatisfyingVersion: true
SatisfyingJVMArgs: true, true
SatisfyingSecure: true
Selected JVMParam: [JVMParameters: isSecure: true, args: ]
Running JVMParam: [JVMParameters: isSecure: true, args: ]
basic: continuing launch in this VM
network: LDUpdater: started background update check
basic: Main-class: TestSimpleExtension
security: JAVAWS AppPolicy Permission requested for: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
security: Add sandbox permissions
security: JAVAWS AppPolicy Permission requested for: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
security: Istrusted: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp true
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/simple.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp : null
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/simple_ext.jnlp
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with proxy=HTTP @ webcache.india.sun.com/129.158.71.31:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/extension.jar
2nd Test - No extension.
Step1: Launch http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/test_background.jnlp
Step 2: Change the jar file in the server using this servlet.
http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/JarUpdateServlet?source=second.jar&destination=jartest.jar
Manually verify it is changed - Log into jdeploy01.india.sun.com ( telnet - dtfadmin/dtf123)
directory - /net/sqindia/export/disk13/jcg/javafx/workspace/webservices/tomcat/webapps/JavawsMustangIntegTest/update/jar
Step3: Launch again -
Could not launch from cache. Will try online mode. [Given JNLP is newer than cached copy!]
Trace level set to 5: all ... completed.
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Sever response: (length: 808, lastModified: Fri Oct 30 09:40:18 IST 2009, downloadVersion: null, mimeType: application/java-archive)
network: CleanupThread used 13532 us
network: Downloading resource: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
Content-Length: 808
Content-Encoding:
network: Wrote URL http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar to File C:\Documents and Settings\Seetharam\Application Data\Sun\Java\Deployment\cache\6.0\31\2f68c65f-309c6121-temp
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: CleanupThread used 7 us
network: Downloaded http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar to file:/C:/Documents%20and%20Settings/Seetharam/Application%20Data/Sun/Java/Deployment/cache/6.0/31/2f68c65f-309c6121
Cache Entry disabled
network: Cache: Enable a new CacheEntry: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Remove cache entry: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Background Update Thread: update cache: http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
From the log it is very clear that it is updating the cache entry .
Step4: Launch again . Now the title should change as it is updated.
I am getting expected behavior. Title is changed.- ( But here also Response code is 200 )
network: JARUpdater: update check for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with proxy=HTTP @ webcache.india.sun.com/129.158.96.35:8080
network: Connecting http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar with cookie "s_vi=[CS]v1|49E6DF6800003782-A02080900000044[CE]; nfSettings=112101110%7C%7Cen_US%7C%7C0%7C60%7C-1%7C%7Cweek%7C-1%7C; nfTimeStamps=19700101000000%7C19700101000000%7C19700101000000%7C19700101000000%7C19700101000000; SUN_ID=129.147.37.51:151701244432585"
network: ResponseCode for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar : 200
network: Encoding for http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar :
network: Disconnect connection to http://jdeploy01.india.sun.com:8080/JavawsMustangIntegTest/update/jar/jartest.jar
- duplicates
-
JDK-6899102 suite_javaws_ssv failing with Error: getenv no longer supported, use properties and -D instead
- Closed
-
JDK-6901421 REGRESSIN: Unable to launch appliation with previous JRE
- Closed
- relates to
-
JDK-6930692 jar update with downloading extension in background not working.
- Closed