From 3e91339db514c172e4417b3873c990c4ab92f6ed Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 7 Dec 2009 20:39:49 +0000 Subject: [PATCH] Adding Jetty DeploymentManager to jetty.xml as default deployer with standard configuration to mimic the legacy deployer behavior. git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1131 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../jetty/deploy/DeploymentManager.java | 6 +- jetty-server/src/main/config/etc/jetty.xml | 60 +++++++++++++++++-- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java index 6a7941c0614..24b40514b5a 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java @@ -322,7 +322,7 @@ public class DeploymentManager extends AbstractLifeCycle * @param name * @return */ - public Object getAttribute(String name) + public Object getContextAttribute(String name) { return contextAttributes.getAttribute(name); } @@ -399,7 +399,7 @@ public class DeploymentManager extends AbstractLifeCycle * * @param name */ - public void removeAttribute(String name) + public void removeContextAttribute(String name) { contextAttributes.removeAttribute(name); } @@ -500,7 +500,7 @@ public class DeploymentManager extends AbstractLifeCycle * @param name * @param value */ - public void setAttribute(String name, Object value) + public void setContextAttribute(String name, Object value) { contextAttributes.setAttribute(name,value); } diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml index 56d5d4856b4..e690afac76b 100644 --- a/jetty-server/src/main/config/etc/jetty.xml +++ b/jetty-server/src/main/config/etc/jetty.xml @@ -93,7 +93,55 @@ - + + + + + + + + + + + + + + + + org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern + .*/jsp-api-[^/]*\.jar$|.*/jsp-[^/]*\.jar$ + + + + + + /contexts + true + false + 5 + false + + + + + + + + /webapps + false + true + /etc/webdefault.xml + 5 + false + + + + + + + @@ -105,6 +153,7 @@ + @@ -132,14 +182,15 @@ +