|
|
|
|
Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 16, 2009 4:33 AM
|
|
|
With the above combination it is taking about 4 times as long to download an applet than it does on Windows using the same browser and version of Java and I am guessing this is because the pack200 version of the applet JAR is not the one being downloaded (both the packed version and the full version are available on the server to support all environments) as the full JAR is about 4 times as large as the packed JAR.
Is there a reason why the pack200 version of the JAR would not be used in this particular environment?
-- And loving it,
-Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 16, 2009 6:25 AM
in response to: qu0ll
|
|
|
If you are using the JnlpDownloadServlet, you can look at the logs to see what resource was actually returned.
Erik
|
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 16, 2009 9:08 AM
in response to: evickroy
|
|
|
I removed the full size JAR and now I get class not found exceptions so this combination of browser/OS/JRE definitely does not support the loading of applets compressed with pack200. Why would that be so? Is it a bug?
-Qu0ll
|
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 17, 2009 7:25 PM
in response to: qu0ll
|
|
|
The best way to find out what's going on is enable the Java Console. With tracing turned on (either use the control panel or hit 5 in the console) it gives you very detailed HTTP connection information.
|
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 18, 2009 3:36 AM
in response to: andrewherron
|
|
|
With tracing turned on and with only the compressed applet JAR present on the server I get a FileNotFoundException trying to download the full size JAR. Clearly then it is unable to know how to download the compressed JAR instead which is what should be happening and happens on Windows using the exact same browser, applet and JRE version.
Am I missing something? Is this a bug peculiar to either the JRE or Firefox on Solaris?
-Qu0ll
Fixed spelling mistake.
Message was edited by: qu0ll
|
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 18, 2009 6:36 PM
in response to: qu0ll
|
|
|
Yeah sounds like a bug worth reporting.
Silly question, but you are setting the java_arguments param to "-Djnlp.packEnabled=true" right?
|
|
|
|
|
|
|
|
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted:
Mar 18, 2009 7:28 PM
in response to: andrewherron
|
|
|
Yes, I am setting that parameter.
-Qu0ll
|
|
|
|
|