423392 - GzipFilter without wrapping or blocking

ensure that servlets are enabled for demo
This commit is contained in:
Greg Wilkins 2013-12-13 12:19:38 +11:00
parent 0104374adb
commit 1731e0c69a
3 changed files with 2 additions and 3 deletions

View File

@ -502,7 +502,7 @@
<arguments> <arguments>
<argument>jetty.home=${assembly-directory}</argument> <argument>jetty.home=${assembly-directory}</argument>
<argument>jetty.base=${assembly-directory}/demo-base</argument> <argument>jetty.base=${assembly-directory}/demo-base</argument>
<argument>--add-to-start=server,continuation,deploy,jsp,ext,resources,client,annotations,jndi</argument> <argument>--add-to-start=server,continuation,deploy,jsp,ext,resources,client,annotations,jndi,servlets</argument>
<argument>--add-to-startd-ini=http,https</argument> <argument>--add-to-startd-ini=http,https</argument>
</arguments> </arguments>
</configuration> </configuration>

View File

@ -94,7 +94,7 @@ public abstract class BaseHolder<T> extends AbstractLifeCycle implements Dumpabl
{ {
_class=Loader.loadClass(Holder.class, _className); _class=Loader.loadClass(Holder.class, _className);
if(LOG.isDebugEnabled()) if(LOG.isDebugEnabled())
LOG.debug("Holding {}",_class); LOG.debug("Holding {} from {}",_class,_class.getClassLoader());
} }
catch (Exception e) catch (Exception e)
{ {

View File

@ -130,7 +130,6 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
"-org.eclipse.jetty.jaas.", // don't hide jaas classes "-org.eclipse.jetty.jaas.", // don't hide jaas classes
"-org.eclipse.jetty.servlets.", // don't hide jetty servlets "-org.eclipse.jetty.servlets.", // don't hide jetty servlets
"-org.eclipse.jetty.servlet.DefaultServlet", // don't hide default servlet "-org.eclipse.jetty.servlet.DefaultServlet", // don't hide default servlet
"-org.eclipse.jetty.servlets.AsyncGzipFilter", // special case for AsyncGzipFilter
"-org.eclipse.jetty.servlet.listener.", // don't hide useful listeners "-org.eclipse.jetty.servlet.listener.", // don't hide useful listeners
"-org.eclipse.jetty.websocket.", // don't hide websocket classes from webapps (allow webapp to use ones from system classloader) "-org.eclipse.jetty.websocket.", // don't hide websocket classes from webapps (allow webapp to use ones from system classloader)
"org.eclipse.jetty." // hide other jetty classes "org.eclipse.jetty." // hide other jetty classes