-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
7
-
x86
-
windows_7
FULL PRODUCT VERSION :
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 (works perfectly on macosx)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Java 7 platform
A DESCRIPTION OF THE PROBLEM :
We are facing a problem with a java webstart application we have in our company. What happens is that the java webstart simply wont start, it doesnt even launch the java console or any "pop-up" error, what happens is:
1. we click on a internal link in our website to generate the jnlp (its generated because some params change depending on the user session).
2. the "open with" dialog for the current browser appears, and we click on "open"
3. the "Java 7" logo appears and then nothing else happens.
This problem its consistently reproduced on machines with java7 and win7, we have tested this also on different win7 boxes and still crashes when its java7.
The application works flawleslly (for the same session and user) on any machine with java6 (winxp, win7 or mac).
The application also works with java7 on winxp and macosx boxes! So we thing could be a java webstart engine bug... (not an application bug, since we dont see the java console or any java exception).
The java cansole its shown properlly on macosx (java6,java7), winxp(java6,java7) and even win7(java6) attempts.
Here is a sample jnlp that does work on all specified platforms+jre versions, except win7 java7.
======================================================
<jnlp spec="6.0+" codebase="http://test-01.userlytics.com/sitetester/webstudio">
<information>
<title>Userlytics Recorder</title>
<vendor>Userlytics</vendor>
<homepage href="http://www.userlytics.com"/>
<description>Screen Recorder</description>
<description kind="short">Screen Recorder</description>
<offline-allowed />
<icon href="icon.png"/>
<icon kind="splash" href="splash.png"/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.userlytics.webstudio.WebStudio">
<argument>-id=06vkc2o</argument>
<argument>-httpUrl=https://freemium-wms-qa.userlytics.com:443</argument>
<argument>-rtmpUrl=rtmpe://freemium-wms-qa.userlytics.com:80/userlytics-wms</argument>
<argument>-captureSize=1280</argument>
<argument>-testUrl=http://goo.gl/6iW8b</argument>
<argument>-restBaseUrl=http://test-01.userlytics.com/sitetester/actions/</argument>
<argument>-taskDescription=hello test</argument>
<argument>-encoders=h264,svc1,svc2</argument>
<argument>-testDuration=10</argument>
<argument>-companyLogo=http://test-01.userlytics.com/sitetester/webstudio/studio_logo.png</argument>
<argument>-vidScaling=1</argument>
<argument>-redirectAfter=</argument>
<argument>-postQuestions=0</argument>
</application-desc>
<resources os="Mac OS X">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" java-vm-args="-d32 -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false" />
<jar href="webstudio.jar" main="true"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<resources os="Windows">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" />
<jar href="webstudio.jar" main="true"/>
<jar href="lib/x264-jna-win.jar"/>
<nativelib href="lib/x264-win.jar"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<component-desc />
</jnlp>
======================================================
again, this jnlp works perfectly (at least the app is launched) on any java6 box OR winxp/mac java7 box, but not win7 java7 box.
As I explained before, we are unable to start the application and we are a bit lost we have tried lots of different things and params on the jnlp to make it work on win7java7 without success.
We have parsed the jnlp with some validators like janela, with no major problems found (remember the jnlp works on the rest on platforms described anyway...).
The only "log" we manage to find its a temp file on the win7 box located on the c:\Users\user\AppData\Local\Temp\REG6218.tmp (the name change some times), with the following content:
======================================================
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
check JRE registry to see if it's an corrupted webstart key
failed to recover webstart key when attempt to open ws key FAIL, error code[5]
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.0
ParsingVersion to 10.0.0
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.0
ParsingVersion to 10.0.0
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 10.0.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 10.0.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
Latest deploy version: 10.5.1
======================================================
If we try to launch this jnlp from the CMD console, something like:
c:\Program Files (x86)\Java\jre7\bin\javaws.exe file.jnlp
the same behaviour occurs, and the engine crashes.
If we make a double install of both java7 and java6 on the same machine, the app still crashes when launched from the browser (we notice the big red java7 webstart logo.. no java console, no java exception is thrown..) but with this double jre install if we select from the browser "Open with" and the explore to c:\Program Files (x86)\Java\jre6\bin\javaws.exe or if we execute the command in the windows console c:\Program Files (x86)\Java\jre6\bin\javaws.exe file.jnlp, it works!!!
I also forgot to mention, that all jars involved on our application are signed with a VeriSign certificate, which the browsers and computers detect correctly when running the "working" scenarios.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
simply try to launch any jnlp containing the CDATA element, in our example in a <argument> jnlp element.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The application should start
ACTUAL -
No java console, java exception or error message is launched.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error message or anything is launched
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<jnlp spec="6.0+" codebase="http://test-01.userlytics.com/sitetester/webstudio">
<information>
<title>Userlytics Recorder</title>
<vendor>Userlytics</vendor>
<homepage href="http://www.userlytics.com"/>
<description>Screen Recorder</description>
<description kind="short">Screen Recorder</description>
<offline-allowed />
<icon href="icon.png"/>
<icon kind="splash" href="splash.png"/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.userlytics.webstudio.WebStudio">
<argument>-id=06vkc2o</argument>
<argument>-httpUrl=https://freemium-wms-qa.userlytics.com:443</argument>
<argument>-rtmpUrl=rtmpe://freemium-wms-qa.userlytics.com:80/userlytics-wms</argument>
<argument>-captureSize=1280</argument>
<argument>-testUrl=http://goo.gl/6iW8b</argument>
<argument>-restBaseUrl=http://test-01.userlytics.com/sitetester/actions/</argument>
<argument>-taskDescription=hello test</argument>
<argument>-encoders=h264,svc1,svc2</argument>
<argument>-testDuration=10</argument>
<argument>-companyLogo=http://test-01.userlytics.com/sitetester/webstudio/studio_logo.png</argument>
<argument>-vidScaling=1</argument>
<argument>-redirectAfter=</argument>
<argument>-postQuestions=0</argument>
</application-desc>
<resources os="Mac OS X">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" java-vm-args="-d32 -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false" />
<jar href="webstudio.jar" main="true"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<resources os="Windows">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" />
<jar href="webstudio.jar" main="true"/>
<jar href="lib/x264-jna-win.jar"/>
<nativelib href="lib/x264-win.jar"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<component-desc />
</jnlp>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
removing the cdata elements
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 (works perfectly on macosx)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Java 7 platform
A DESCRIPTION OF THE PROBLEM :
We are facing a problem with a java webstart application we have in our company. What happens is that the java webstart simply wont start, it doesnt even launch the java console or any "pop-up" error, what happens is:
1. we click on a internal link in our website to generate the jnlp (its generated because some params change depending on the user session).
2. the "open with" dialog for the current browser appears, and we click on "open"
3. the "Java 7" logo appears and then nothing else happens.
This problem its consistently reproduced on machines with java7 and win7, we have tested this also on different win7 boxes and still crashes when its java7.
The application works flawleslly (for the same session and user) on any machine with java6 (winxp, win7 or mac).
The application also works with java7 on winxp and macosx boxes! So we thing could be a java webstart engine bug... (not an application bug, since we dont see the java console or any java exception).
The java cansole its shown properlly on macosx (java6,java7), winxp(java6,java7) and even win7(java6) attempts.
Here is a sample jnlp that does work on all specified platforms+jre versions, except win7 java7.
======================================================
<jnlp spec="6.0+" codebase="http://test-01.userlytics.com/sitetester/webstudio">
<information>
<title>Userlytics Recorder</title>
<vendor>Userlytics</vendor>
<homepage href="http://www.userlytics.com"/>
<description>Screen Recorder</description>
<description kind="short">Screen Recorder</description>
<offline-allowed />
<icon href="icon.png"/>
<icon kind="splash" href="splash.png"/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.userlytics.webstudio.WebStudio">
<argument>-id=06vkc2o</argument>
<argument>-httpUrl=https://freemium-wms-qa.userlytics.com:443</argument>
<argument>-rtmpUrl=rtmpe://freemium-wms-qa.userlytics.com:80/userlytics-wms</argument>
<argument>-captureSize=1280</argument>
<argument>-testUrl=http://goo.gl/6iW8b</argument>
<argument>-restBaseUrl=http://test-01.userlytics.com/sitetester/actions/</argument>
<argument>-taskDescription=hello test</argument>
<argument>-encoders=h264,svc1,svc2</argument>
<argument>-testDuration=10</argument>
<argument>-companyLogo=http://test-01.userlytics.com/sitetester/webstudio/studio_logo.png</argument>
<argument>-vidScaling=1</argument>
<argument>-redirectAfter=</argument>
<argument>-postQuestions=0</argument>
</application-desc>
<resources os="Mac OS X">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" java-vm-args="-d32 -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false" />
<jar href="webstudio.jar" main="true"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<resources os="Windows">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" />
<jar href="webstudio.jar" main="true"/>
<jar href="lib/x264-jna-win.jar"/>
<nativelib href="lib/x264-win.jar"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<component-desc />
</jnlp>
======================================================
again, this jnlp works perfectly (at least the app is launched) on any java6 box OR winxp/mac java7 box, but not win7 java7 box.
As I explained before, we are unable to start the application and we are a bit lost we have tried lots of different things and params on the jnlp to make it work on win7java7 without success.
We have parsed the jnlp with some validators like janela, with no major problems found (remember the jnlp works on the rest on platforms described anyway...).
The only "log" we manage to find its a temp file on the win7 box located on the c:\Users\user\AppData\Local\Temp\REG6218.tmp (the name change some times), with the following content:
======================================================
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
ParsingVersion to 1.6.4729
ParsingVersion to 1.7.0
check JRE registry to see if it's an corrupted webstart key
failed to recover webstart key when attempt to open ws key FAIL, error code[5]
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.0
ParsingVersion to 10.0.0
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.0
ParsingVersion to 10.0.0
ParsingVersion to 10.5.0
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 10.0.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
ParsingVersion to 10.5.1
ParsingVersion to 10.0.0
ParsingVersion to 10.5.1
ParsingVersion to 1.7.0
Latest deploy version: 10.5.1
======================================================
If we try to launch this jnlp from the CMD console, something like:
c:\Program Files (x86)\Java\jre7\bin\javaws.exe file.jnlp
the same behaviour occurs, and the engine crashes.
If we make a double install of both java7 and java6 on the same machine, the app still crashes when launched from the browser (we notice the big red java7 webstart logo.. no java console, no java exception is thrown..) but with this double jre install if we select from the browser "Open with" and the explore to c:\Program Files (x86)\Java\jre6\bin\javaws.exe or if we execute the command in the windows console c:\Program Files (x86)\Java\jre6\bin\javaws.exe file.jnlp, it works!!!
I also forgot to mention, that all jars involved on our application are signed with a VeriSign certificate, which the browsers and computers detect correctly when running the "working" scenarios.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
simply try to launch any jnlp containing the CDATA element, in our example in a <argument> jnlp element.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The application should start
ACTUAL -
No java console, java exception or error message is launched.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error message or anything is launched
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<jnlp spec="6.0+" codebase="http://test-01.userlytics.com/sitetester/webstudio">
<information>
<title>Userlytics Recorder</title>
<vendor>Userlytics</vendor>
<homepage href="http://www.userlytics.com"/>
<description>Screen Recorder</description>
<description kind="short">Screen Recorder</description>
<offline-allowed />
<icon href="icon.png"/>
<icon kind="splash" href="splash.png"/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.userlytics.webstudio.WebStudio">
<argument>-id=06vkc2o</argument>
<argument>-httpUrl=https://freemium-wms-qa.userlytics.com:443</argument>
<argument>-rtmpUrl=rtmpe://freemium-wms-qa.userlytics.com:80/userlytics-wms</argument>
<argument>-captureSize=1280</argument>
<argument>-testUrl=http://goo.gl/6iW8b</argument>
<argument>-restBaseUrl=http://test-01.userlytics.com/sitetester/actions/</argument>
<argument>-taskDescription=hello test</argument>
<argument>-encoders=h264,svc1,svc2</argument>
<argument>-testDuration=10</argument>
<argument>-companyLogo=http://test-01.userlytics.com/sitetester/webstudio/studio_logo.png</argument>
<argument>-vidScaling=1</argument>
<argument>-redirectAfter=</argument>
<argument>-postQuestions=0</argument>
</application-desc>
<resources os="Mac OS X">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" java-vm-args="-d32 -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false" />
<jar href="webstudio.jar" main="true"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<resources os="Windows">
<j2se version="1.6+" initial-heap-size="64m" max-heap-size="512m" />
<jar href="webstudio.jar" main="true"/>
<jar href="lib/x264-jna-win.jar"/>
<nativelib href="lib/x264-win.jar"/>
<extension name="jxbrowser" href="jxbrowser.jnlp"/>
</resources>
<component-desc />
</jnlp>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
removing the cdata elements