Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353817

Summary: Support for Pack200 compressed servlets
Product: [RT] Jetty Reporter: Michael Gorovoy <mgorovoy>
Component: serverAssignee: Project Inbox <jetty-inbox>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P5 CC: jesse.mcconnell, jetty-inbox, joakim.erdfelt, simone.bordet
Version: 7.4.0   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Gorovoy CLA 2011-08-03 15:25:45 EDT
Originally created as http://jira.codehaus.org/browse/JETTY-1384 by Nick Nygaard (jetty@nndata.net)

Classloader for applet cannot find main class, if any library is pack200 packed (pack.gz) and applet requests server for pack200 files:

<html>...<applet...>
<param name="java_arguments" value="-Djnlp.packEnabled=true" />
</applet></html>

Even if only a dependency library is packed with pack200, the main class cannot be found.

Is content encoding correct when client receives packed jars: content-encoding=pack200-gzip?

The code works in another Java container.
Comment 1 Joakim Erdfelt CLA 2011-09-20 13:43:04 EDT
Lowering priority
Comment 2 Jesse McConnell CLA 2016-02-16 18:45:31 EST
https://github.com/eclipse/jetty.project/issues/94