The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Plug-in

Thread: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Mar 18, 2009 7:28 PM by: qu0ll Threads: [ Previous | Next ]
qu0ll

Posts: 306
Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 16, 2009 4:33 AM
 
  Click to reply to this thread Reply

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]

evickroy

Posts: 674
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 16, 2009 6:25 AM   in response to: qu0ll
 
  Click to reply to this thread Reply

If you are using the JnlpDownloadServlet, you can look at the logs to see what resource was actually returned.

Erik

qu0ll

Posts: 306
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 16, 2009 9:08 AM   in response to: evickroy
 
  Click to reply to this thread Reply

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

andrewherron

Posts: 51
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 17, 2009 7:25 PM   in response to: qu0ll
 
  Click to reply to this thread Reply

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.

qu0ll

Posts: 306
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 18, 2009 3:36 AM   in response to: andrewherron
 
  Click to reply to this thread Reply

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

andrewherron

Posts: 51
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 18, 2009 6:36 PM   in response to: qu0ll
 
  Click to reply to this thread Reply

Yeah sounds like a bug worth reporting.

Silly question, but you are setting the java_arguments param to "-Djnlp.packEnabled=true" right? :)

qu0ll

Posts: 306
Re: Plugin2, pack200, Firefox 3.0.7 & Solaris 10?
Posted: Mar 18, 2009 7:28 PM   in response to: andrewherron
 
  Click to reply to this thread Reply

Yes, I am setting that parameter.

-Qu0ll




 XML java.net RSS