469860 - Add module metadata versioning to support backwards compat
+ Added [version] section support to start.jar + Updated start testing to use as-is distro configuration for test cases
This commit is contained in:
parent
2ff20414fa
commit
8bbbb2ff54
|
@ -237,7 +237,7 @@ public class Main
|
||||||
args.dumpActiveXmls(baseHome);
|
args.dumpActiveXmls(baseHome);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void listModules(StartArgs args)
|
public void listModules(StartArgs args)
|
||||||
{
|
{
|
||||||
StartLog.endStartLog();
|
StartLog.endStartLog();
|
||||||
System.out.println();
|
System.out.println();
|
||||||
|
@ -309,6 +309,17 @@ public class Main
|
||||||
args.setAllModules(modules);
|
args.setAllModules(modules);
|
||||||
List<Module> activeModules = modules.getSelected();
|
List<Module> activeModules = modules.getSelected();
|
||||||
|
|
||||||
|
final Version START_VERSION = new Version(StartArgs.VERSION);
|
||||||
|
|
||||||
|
for(Module enabled: activeModules)
|
||||||
|
{
|
||||||
|
if(enabled.getVersion().isNewerThan(START_VERSION))
|
||||||
|
{
|
||||||
|
throw new UsageException(UsageException.ERR_BAD_GRAPH, "Module [" + enabled.getName() + "] specifies jetty version [" + enabled.getVersion()
|
||||||
|
+ "] which is newer than this version of jetty [" + START_VERSION + "]");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for(String name: args.getSkipFileValidationModules())
|
for(String name: args.getSkipFileValidationModules())
|
||||||
{
|
{
|
||||||
Module module = modules.get(name);
|
Module module = modules.get(name);
|
||||||
|
|
|
@ -40,6 +40,8 @@ import org.eclipse.jetty.start.graph.Node;
|
||||||
*/
|
*/
|
||||||
public class Module extends Node<Module>
|
public class Module extends Node<Module>
|
||||||
{
|
{
|
||||||
|
private static final String VERSION_UNSPECIFIED = "9.2";
|
||||||
|
|
||||||
public static class NameComparator implements Comparator<Module>
|
public static class NameComparator implements Comparator<Module>
|
||||||
{
|
{
|
||||||
private Collator collator = Collator.getInstance();
|
private Collator collator = Collator.getInstance();
|
||||||
|
@ -59,11 +61,18 @@ public class Module extends Node<Module>
|
||||||
|
|
||||||
/** The name of this Module (as a filesystem reference) */
|
/** The name of this Module (as a filesystem reference) */
|
||||||
private String fileRef;
|
private String fileRef;
|
||||||
|
|
||||||
|
/** The version of Jetty the module supports */
|
||||||
|
private Version version;
|
||||||
|
|
||||||
/** List of xml configurations for this Module */
|
/** List of xml configurations for this Module */
|
||||||
private List<String> xmls;
|
private List<String> xmls;
|
||||||
|
|
||||||
/** List of ini template lines */
|
/** List of ini template lines */
|
||||||
|
private List<String> iniTemplate;
|
||||||
|
private boolean hasIniTemplate = false;
|
||||||
|
|
||||||
|
/** List of default config */
|
||||||
private List<String> defaultConfig;
|
private List<String> defaultConfig;
|
||||||
private boolean hasDefaultConfig = false;
|
private boolean hasDefaultConfig = false;
|
||||||
|
|
||||||
|
@ -139,6 +148,11 @@ public class Module extends Node<Module>
|
||||||
{
|
{
|
||||||
return defaultConfig;
|
return defaultConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<String> getIniTemplate()
|
||||||
|
{
|
||||||
|
return iniTemplate;
|
||||||
|
}
|
||||||
|
|
||||||
public List<String> getFiles()
|
public List<String> getFiles()
|
||||||
{
|
{
|
||||||
|
@ -174,11 +188,21 @@ public class Module extends Node<Module>
|
||||||
{
|
{
|
||||||
return xmls;
|
return xmls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Version getVersion()
|
||||||
|
{
|
||||||
|
return version;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean hasDefaultConfig()
|
public boolean hasDefaultConfig()
|
||||||
{
|
{
|
||||||
return hasDefaultConfig;
|
return hasDefaultConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasIniTemplate()
|
||||||
|
{
|
||||||
|
return hasIniTemplate;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode()
|
public int hashCode()
|
||||||
|
@ -198,6 +222,7 @@ public class Module extends Node<Module>
|
||||||
{
|
{
|
||||||
xmls = new ArrayList<>();
|
xmls = new ArrayList<>();
|
||||||
defaultConfig = new ArrayList<>();
|
defaultConfig = new ArrayList<>();
|
||||||
|
iniTemplate = new ArrayList<>();
|
||||||
libs = new ArrayList<>();
|
libs = new ArrayList<>();
|
||||||
files = new ArrayList<>();
|
files = new ArrayList<>();
|
||||||
jvmArgs = new ArrayList<>();
|
jvmArgs = new ArrayList<>();
|
||||||
|
@ -283,10 +308,13 @@ public class Module extends Node<Module>
|
||||||
files.add(line);
|
files.add(line);
|
||||||
break;
|
break;
|
||||||
case "DEFAULTS":
|
case "DEFAULTS":
|
||||||
case "INI-TEMPLATE":
|
|
||||||
defaultConfig.add(line);
|
defaultConfig.add(line);
|
||||||
hasDefaultConfig = true;
|
hasDefaultConfig = true;
|
||||||
break;
|
break;
|
||||||
|
case "INI-TEMPLATE":
|
||||||
|
iniTemplate.add(line);
|
||||||
|
hasIniTemplate = true;
|
||||||
|
break;
|
||||||
case "LIB":
|
case "LIB":
|
||||||
libs.add(line);
|
libs.add(line);
|
||||||
break;
|
break;
|
||||||
|
@ -303,6 +331,13 @@ public class Module extends Node<Module>
|
||||||
case "EXEC":
|
case "EXEC":
|
||||||
jvmArgs.add(line);
|
jvmArgs.add(line);
|
||||||
break;
|
break;
|
||||||
|
case "VERSION":
|
||||||
|
if (version != null)
|
||||||
|
{
|
||||||
|
throw new IOException("[version] already specified");
|
||||||
|
}
|
||||||
|
version = new Version(line);
|
||||||
|
break;
|
||||||
case "XML":
|
case "XML":
|
||||||
xmls.add(line);
|
xmls.add(line);
|
||||||
break;
|
break;
|
||||||
|
@ -313,6 +348,11 @@ public class Module extends Node<Module>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (version == null)
|
||||||
|
{
|
||||||
|
version = new Version(VERSION_UNSPECIFIED);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEnabled(boolean enabled)
|
public void setEnabled(boolean enabled)
|
||||||
|
|
|
@ -67,13 +67,13 @@ public class StartArgs
|
||||||
|
|
||||||
if (ver == null)
|
if (ver == null)
|
||||||
{
|
{
|
||||||
ver = "TEST";
|
ver = "0.0";
|
||||||
if (tag == null)
|
if (tag == null)
|
||||||
{
|
{
|
||||||
tag = "master";
|
tag = "master";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tag == null || tag.contains("-SNAPSHOT"))
|
if (tag == null || tag.contains("-SNAPSHOT"))
|
||||||
{
|
{
|
||||||
tag = "master";
|
tag = "master";
|
||||||
|
@ -88,25 +88,25 @@ public class StartArgs
|
||||||
|
|
||||||
/** List of enabled modules */
|
/** List of enabled modules */
|
||||||
private Set<String> modules = new HashSet<>();
|
private Set<String> modules = new HashSet<>();
|
||||||
|
|
||||||
/** List of modules to skip [files] section validation */
|
/** List of modules to skip [files] section validation */
|
||||||
private Set<String> skipFileValidationModules = new HashSet<>();
|
private Set<String> skipFileValidationModules = new HashSet<>();
|
||||||
|
|
||||||
/** Map of enabled modules to the source of where that activation occurred */
|
/** Map of enabled modules to the source of where that activation occurred */
|
||||||
private Map<String, List<String>> sources = new HashMap<>();
|
private Map<String, List<String>> sources = new HashMap<>();
|
||||||
|
|
||||||
/** Map of properties to where that property was declared */
|
/** Map of properties to where that property was declared */
|
||||||
private Map<String, String> propertySource = new HashMap<>();
|
private Map<String, String> propertySource = new HashMap<>();
|
||||||
|
|
||||||
/** List of all active [files] sections from enabled modules */
|
/** List of all active [files] sections from enabled modules */
|
||||||
private List<FileArg> files = new ArrayList<>();
|
private List<FileArg> files = new ArrayList<>();
|
||||||
|
|
||||||
/** List of all active [lib] sections from enabled modules */
|
/** List of all active [lib] sections from enabled modules */
|
||||||
private Classpath classpath;
|
private Classpath classpath;
|
||||||
|
|
||||||
/** List of all active [xml] sections from enabled modules */
|
/** List of all active [xml] sections from enabled modules */
|
||||||
private List<Path> xmls = new ArrayList<>();
|
private List<Path> xmls = new ArrayList<>();
|
||||||
|
|
||||||
/** JVM arguments, found via commmand line and in all active [exec] sections from enabled modules */
|
/** JVM arguments, found via commmand line and in all active [exec] sections from enabled modules */
|
||||||
private List<String> jvmArgs = new ArrayList<>();
|
private List<String> jvmArgs = new ArrayList<>();
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ public class StartArgs
|
||||||
|
|
||||||
/** List of all property references found directly on command line or start.ini */
|
/** List of all property references found directly on command line or start.ini */
|
||||||
private List<String> propertyFileRefs = new ArrayList<>();
|
private List<String> propertyFileRefs = new ArrayList<>();
|
||||||
|
|
||||||
/** List of all property files */
|
/** List of all property files */
|
||||||
private List<Path> propertyFiles = new ArrayList<>();
|
private List<Path> propertyFiles = new ArrayList<>();
|
||||||
|
|
||||||
|
@ -137,12 +137,12 @@ public class StartArgs
|
||||||
private Modules allModules;
|
private Modules allModules;
|
||||||
/** Should the server be run? */
|
/** Should the server be run? */
|
||||||
private boolean run = true;
|
private boolean run = true;
|
||||||
|
|
||||||
/** Download related args */
|
/** Download related args */
|
||||||
private boolean download = false;
|
private boolean download = false;
|
||||||
private boolean licenseCheckRequired = false;
|
private boolean licenseCheckRequired = false;
|
||||||
private boolean testingMode = false;
|
private boolean testingMode = false;
|
||||||
|
|
||||||
private boolean help = false;
|
private boolean help = false;
|
||||||
private boolean stopCommand = false;
|
private boolean stopCommand = false;
|
||||||
private boolean listModules = false;
|
private boolean listModules = false;
|
||||||
|
@ -161,13 +161,13 @@ public class StartArgs
|
||||||
|
|
||||||
private void addFile(Module module, String uriLocation)
|
private void addFile(Module module, String uriLocation)
|
||||||
{
|
{
|
||||||
if(module.isSkipFilesValidation())
|
if (module.isSkipFilesValidation())
|
||||||
{
|
{
|
||||||
StartLog.debug("Not validating %s [files] for %s",module,uriLocation);
|
StartLog.debug("Not validating %s [files] for %s",module,uriLocation);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
FileArg arg = new FileArg(module, properties.expand(uriLocation));
|
FileArg arg = new FileArg(module,properties.expand(uriLocation));
|
||||||
if (!files.contains(arg))
|
if (!files.contains(arg))
|
||||||
{
|
{
|
||||||
files.add(arg);
|
files.add(arg);
|
||||||
|
@ -192,7 +192,7 @@ public class StartArgs
|
||||||
xmls.add(xmlfile);
|
xmls.add(xmlfile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addUniquePropertyFile(String propertyFileRef, Path propertyFile) throws IOException
|
private void addUniquePropertyFile(String propertyFileRef, Path propertyFile) throws IOException
|
||||||
{
|
{
|
||||||
if (!FS.canReadFile(propertyFile))
|
if (!FS.canReadFile(propertyFile))
|
||||||
|
@ -249,7 +249,7 @@ public class StartArgs
|
||||||
dumpProperty("jetty.tag.version");
|
dumpProperty("jetty.tag.version");
|
||||||
dumpProperty("jetty.home");
|
dumpProperty("jetty.home");
|
||||||
dumpProperty("jetty.base");
|
dumpProperty("jetty.base");
|
||||||
|
|
||||||
// Jetty Configuration Environment
|
// Jetty Configuration Environment
|
||||||
System.out.println();
|
System.out.println();
|
||||||
System.out.println("Config Search Order:");
|
System.out.println("Config Search Order:");
|
||||||
|
@ -267,7 +267,7 @@ public class StartArgs
|
||||||
}
|
}
|
||||||
System.out.println();
|
System.out.println();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Jetty Se
|
// Jetty Se
|
||||||
System.out.println();
|
System.out.println();
|
||||||
}
|
}
|
||||||
|
@ -380,7 +380,8 @@ public class StartArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ensure that the System Properties are set (if defined as a System property, or start.config property, or start.ini property)
|
* Ensure that the System Properties are set (if defined as a System property, or start.config property, or
|
||||||
|
* start.ini property)
|
||||||
*
|
*
|
||||||
* @param key
|
* @param key
|
||||||
* the key to be sure of
|
* the key to be sure of
|
||||||
|
@ -408,8 +409,10 @@ public class StartArgs
|
||||||
/**
|
/**
|
||||||
* Expand any command line added <code>--lib</code> lib references.
|
* Expand any command line added <code>--lib</code> lib references.
|
||||||
*
|
*
|
||||||
* @param baseHome the base home in use
|
* @param baseHome
|
||||||
* @throws IOException if unable to expand the libraries
|
* the base home in use
|
||||||
|
* @throws IOException
|
||||||
|
* if unable to expand the libraries
|
||||||
*/
|
*/
|
||||||
public void expandLibs(BaseHome baseHome) throws IOException
|
public void expandLibs(BaseHome baseHome) throws IOException
|
||||||
{
|
{
|
||||||
|
@ -419,10 +422,10 @@ public class StartArgs
|
||||||
StartLog.debug("rawlibref = " + rawlibref);
|
StartLog.debug("rawlibref = " + rawlibref);
|
||||||
String libref = properties.expand(rawlibref);
|
String libref = properties.expand(rawlibref);
|
||||||
StartLog.debug("expanded = " + libref);
|
StartLog.debug("expanded = " + libref);
|
||||||
|
|
||||||
// perform path escaping (needed by windows)
|
// perform path escaping (needed by windows)
|
||||||
libref = libref.replaceAll("\\\\([^\\\\])","\\\\\\\\$1");
|
libref = libref.replaceAll("\\\\([^\\\\])","\\\\\\\\$1");
|
||||||
|
|
||||||
for (Path libpath : baseHome.getPaths(libref))
|
for (Path libpath : baseHome.getPaths(libref))
|
||||||
{
|
{
|
||||||
classpath.addComponent(libpath.toFile());
|
classpath.addComponent(libpath.toFile());
|
||||||
|
@ -433,9 +436,12 @@ public class StartArgs
|
||||||
/**
|
/**
|
||||||
* Build up the Classpath and XML file references based on enabled Module list.
|
* Build up the Classpath and XML file references based on enabled Module list.
|
||||||
*
|
*
|
||||||
* @param baseHome the base home in use
|
* @param baseHome
|
||||||
* @param activeModules the active (selected) modules
|
* the base home in use
|
||||||
* @throws IOException if unable to expand the modules
|
* @param activeModules
|
||||||
|
* the active (selected) modules
|
||||||
|
* @throws IOException
|
||||||
|
* if unable to expand the modules
|
||||||
*/
|
*/
|
||||||
public void expandModules(BaseHome baseHome, List<Module> activeModules) throws IOException
|
public void expandModules(BaseHome baseHome, List<Module> activeModules) throws IOException
|
||||||
{
|
{
|
||||||
|
@ -465,7 +471,7 @@ public class StartArgs
|
||||||
for (String xmlRef : module.getXmls())
|
for (String xmlRef : module.getXmls())
|
||||||
{
|
{
|
||||||
// Straight Reference
|
// Straight Reference
|
||||||
xmlRef=properties.expand(xmlRef);
|
xmlRef = properties.expand(xmlRef);
|
||||||
Path xmlfile = baseHome.getPath(xmlRef);
|
Path xmlfile = baseHome.getPath(xmlRef);
|
||||||
addUniqueXmlFile(xmlRef,xmlfile);
|
addUniqueXmlFile(xmlRef,xmlfile);
|
||||||
}
|
}
|
||||||
|
@ -552,7 +558,7 @@ public class StartArgs
|
||||||
if (dryRun || isExec())
|
if (dryRun || isExec())
|
||||||
{
|
{
|
||||||
for (Prop p : properties)
|
for (Prop p : properties)
|
||||||
cmd.addRawArg(CommandLineBuilder.quote(p.key)+"="+CommandLineBuilder.quote(p.value));
|
cmd.addRawArg(CommandLineBuilder.quote(p.key) + "=" + CommandLineBuilder.quote(p.value));
|
||||||
}
|
}
|
||||||
else if (properties.size() > 0)
|
else if (properties.size() > 0)
|
||||||
{
|
{
|
||||||
|
@ -569,7 +575,7 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
cmd.addRawArg(xml.toAbsolutePath().toString());
|
cmd.addRawArg(xml.toAbsolutePath().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Path propertyFile : propertyFiles)
|
for (Path propertyFile : propertyFiles)
|
||||||
{
|
{
|
||||||
cmd.addRawArg(propertyFile.toAbsolutePath().toString());
|
cmd.addRawArg(propertyFile.toAbsolutePath().toString());
|
||||||
|
@ -600,7 +606,7 @@ public class StartArgs
|
||||||
// Try generic env variable
|
// Try generic env variable
|
||||||
localRepo = System.getenv("MAVEN_LOCAL_REPO");
|
localRepo = System.getenv("MAVEN_LOCAL_REPO");
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: load & use $HOME/.m2/settings.xml ?
|
// TODO: load & use $HOME/.m2/settings.xml ?
|
||||||
// TODO: possibly use Eclipse Aether to manage it ?
|
// TODO: possibly use Eclipse Aether to manage it ?
|
||||||
// TODO: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=449511
|
// TODO: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=449511
|
||||||
|
@ -633,7 +639,7 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<String> getSkipFileValidationModules()
|
public Set<String> getSkipFileValidationModules()
|
||||||
{
|
{
|
||||||
return skipFileValidationModules;
|
return skipFileValidationModules;
|
||||||
|
@ -688,12 +694,12 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
return exec;
|
return exec;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isLicenseCheckRequired()
|
public boolean isLicenseCheckRequired()
|
||||||
{
|
{
|
||||||
return licenseCheckRequired;
|
return licenseCheckRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isNormalMainClass()
|
public boolean isNormalMainClass()
|
||||||
{
|
{
|
||||||
return SERVER_MAIN.equals(getMainClassname());
|
return SERVER_MAIN.equals(getMainClassname());
|
||||||
|
@ -728,7 +734,7 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
return stopCommand;
|
return stopCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isTestingModeEnabled()
|
public boolean isTestingModeEnabled()
|
||||||
{
|
{
|
||||||
return testingMode;
|
return testingMode;
|
||||||
|
@ -760,9 +766,12 @@ public class StartArgs
|
||||||
/**
|
/**
|
||||||
* Parse a single line of argument.
|
* Parse a single line of argument.
|
||||||
*
|
*
|
||||||
* @param rawarg the raw argument to parse
|
* @param rawarg
|
||||||
* @param source the origin of this line of argument
|
* the raw argument to parse
|
||||||
* @param replaceProps true if properties in this parse replace previous ones, false to not replace.
|
* @param source
|
||||||
|
* the origin of this line of argument
|
||||||
|
* @param replaceProps
|
||||||
|
* true if properties in this parse replace previous ones, false to not replace.
|
||||||
*/
|
*/
|
||||||
private void parse(final String rawarg, String source, boolean replaceProps)
|
private void parse(final String rawarg, String source, boolean replaceProps)
|
||||||
{
|
{
|
||||||
|
@ -770,7 +779,7 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
StartLog.debug("parse(\"%s\", \"%s\", %b)",rawarg,source,replaceProps);
|
StartLog.debug("parse(\"%s\", \"%s\", %b)",rawarg,source,replaceProps);
|
||||||
|
|
||||||
final String arg = rawarg.trim();
|
final String arg = rawarg.trim();
|
||||||
|
@ -797,7 +806,7 @@ public class StartArgs
|
||||||
// valid, but handled in StartLog instead
|
// valid, but handled in StartLog instead
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("--testing-mode".equals(arg))
|
if ("--testing-mode".equals(arg))
|
||||||
{
|
{
|
||||||
System.setProperty("org.eclipse.jetty.start.testing","true");
|
System.setProperty("org.eclipse.jetty.start.testing","true");
|
||||||
|
@ -922,7 +931,7 @@ public class StartArgs
|
||||||
enableModules(source,moduleNames);
|
enableModules(source,moduleNames);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip [files] validation on a module
|
// Skip [files] validation on a module
|
||||||
if (arg.startsWith("--skip-file-validation="))
|
if (arg.startsWith("--skip-file-validation="))
|
||||||
{
|
{
|
||||||
|
@ -1015,7 +1024,7 @@ public class StartArgs
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FS.isPropertyFile(arg))
|
if (FS.isPropertyFile(arg))
|
||||||
{
|
{
|
||||||
// only add non-duplicates
|
// only add non-duplicates
|
||||||
|
@ -1023,7 +1032,7 @@ public class StartArgs
|
||||||
{
|
{
|
||||||
propertyFileRefs.add(arg);
|
propertyFileRefs.add(arg);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Anything else is unrecognized
|
// Anything else is unrecognized
|
||||||
|
@ -1047,11 +1056,28 @@ public class StartArgs
|
||||||
|
|
||||||
public void parseModule(Module module)
|
public void parseModule(Module module)
|
||||||
{
|
{
|
||||||
if(module.hasDefaultConfig())
|
// Starting with Jetty 9.3 indicated modules, the default config
|
||||||
|
// is parsed from the [default] section only
|
||||||
|
if (module.getVersion().isNewerThanOrEqualTo(new Version("9.3")))
|
||||||
{
|
{
|
||||||
for(String line: module.getDefaultConfig())
|
if (module.hasDefaultConfig())
|
||||||
{
|
{
|
||||||
parse(line,module.getFilesystemRef(),false);
|
for (String line : module.getDefaultConfig())
|
||||||
|
{
|
||||||
|
parse(line,module.getFilesystemRef(),false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// With Jetty 9.2 indicated modules and older, the default
|
||||||
|
// config is parsed from the [ini-template] section
|
||||||
|
if (module.hasIniTemplate())
|
||||||
|
{
|
||||||
|
for (String line : module.getIniTemplate())
|
||||||
|
{
|
||||||
|
parse(line,module.getFilesystemRef(),false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1070,7 +1096,7 @@ public class StartArgs
|
||||||
addUniqueXmlFile(xmlRef,xmlfile);
|
addUniqueXmlFile(xmlRef,xmlfile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resolvePropertyFiles(BaseHome baseHome) throws IOException
|
public void resolvePropertyFiles(BaseHome baseHome) throws IOException
|
||||||
{
|
{
|
||||||
// Find and Expand property files
|
// Find and Expand property files
|
||||||
|
|
|
@ -21,30 +21,26 @@ package org.eclipse.jetty.start;
|
||||||
/**
|
/**
|
||||||
* Utility class for parsing and comparing version strings. JDK 1.1 compatible.
|
* Utility class for parsing and comparing version strings. JDK 1.1 compatible.
|
||||||
*/
|
*/
|
||||||
public class Version
|
public class Version implements Comparable<Version>
|
||||||
{
|
{
|
||||||
int _version = 0;
|
private int _version = 0;
|
||||||
int _revision = 0;
|
private int _revision = -1;
|
||||||
int _subrevision = 0;
|
private int _subrevision = -1;
|
||||||
String _suffix = "";
|
private String _suffix = "";
|
||||||
|
|
||||||
public Version()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Version(String version_string)
|
public Version(String version_string)
|
||||||
{
|
{
|
||||||
parse(version_string);
|
parse(version_string);
|
||||||
}
|
}
|
||||||
|
|
||||||
// java.lang.Comparable is Java 1.2! Cannot use it
|
@Override
|
||||||
/**
|
/**
|
||||||
* Compares with other version. Does not take extension into account, as there is no reliable way to order them.
|
* Compares with other version. Does not take extension into account, as there is no reliable way to order them.
|
||||||
*
|
*
|
||||||
* @param other the other version to compare this to
|
* @param other the other version to compare this to
|
||||||
* @return -1 if this is older version that other, 0 if its same version, 1 if it's newer version than other
|
* @return -1 if this is older version that other, 0 if its same version, 1 if it's newer version than other
|
||||||
*/
|
*/
|
||||||
public int compare(Version other)
|
public int compareTo(Version other)
|
||||||
{
|
{
|
||||||
if (other == null)
|
if (other == null)
|
||||||
{
|
{
|
||||||
|
@ -76,16 +72,39 @@ public class Version
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isNewerThan(Version other)
|
||||||
|
{
|
||||||
|
return compareTo(other) == 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNewerThanOrEqualTo(Version other)
|
||||||
|
{
|
||||||
|
int comp = compareTo(other);
|
||||||
|
return (comp == 0) || (comp == 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isOlderThan(Version other)
|
||||||
|
{
|
||||||
|
return compareTo(other) == -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isOlderThanOrEqualTo(Version other)
|
||||||
|
{
|
||||||
|
int comp = compareTo(other);
|
||||||
|
return (comp == 0) || (comp == -1);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check whether this verion is in range of versions specified
|
* Check whether this version is in range of versions specified
|
||||||
|
*
|
||||||
* @param low the low part of the range
|
* @param low the low part of the range
|
||||||
* @param high the high part of the range
|
* @param high the high part of the range
|
||||||
* @return true if this version is within the provided range
|
* @return true if this version is within the provided range
|
||||||
*/
|
*/
|
||||||
public boolean isInRange(Version low, Version high)
|
public boolean isInRange(Version low, Version high)
|
||||||
{
|
{
|
||||||
return ((compare(low) >= 0) && (compare(high) <= 0));
|
return ((compareTo(low) >= 0) && (compareTo(high) <= 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -95,8 +114,8 @@ public class Version
|
||||||
public void parse(String version_string)
|
public void parse(String version_string)
|
||||||
{
|
{
|
||||||
_version = 0;
|
_version = 0;
|
||||||
_revision = 0;
|
_revision = -1;
|
||||||
_subrevision = 0;
|
_subrevision = -1;
|
||||||
_suffix = "";
|
_suffix = "";
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
int startpos = 0;
|
int startpos = 0;
|
||||||
|
@ -129,7 +148,7 @@ public class Version
|
||||||
_suffix = version_string.substring(pos);
|
_suffix = version_string.substring(pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string representation of this version
|
* @return string representation of this version
|
||||||
*/
|
*/
|
||||||
|
@ -138,11 +157,17 @@ public class Version
|
||||||
{
|
{
|
||||||
StringBuffer sb = new StringBuffer(10);
|
StringBuffer sb = new StringBuffer(10);
|
||||||
sb.append(_version);
|
sb.append(_version);
|
||||||
sb.append('.');
|
if (_revision >= 0)
|
||||||
sb.append(_revision);
|
{
|
||||||
sb.append('.');
|
sb.append('.');
|
||||||
sb.append(_subrevision);
|
sb.append(_revision);
|
||||||
sb.append(_suffix);
|
if (_subrevision >= 0)
|
||||||
|
{
|
||||||
|
sb.append('.');
|
||||||
|
sb.append(_subrevision);
|
||||||
|
sb.append(_suffix);
|
||||||
|
}
|
||||||
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@ import java.nio.file.Path;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.eclipse.jetty.start.util.RebuildTestResources;
|
||||||
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
||||||
import org.eclipse.jetty.toolchain.test.TestTracker;
|
import org.eclipse.jetty.toolchain.test.TestTracker;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
@ -45,6 +46,7 @@ public class MainTest
|
||||||
{
|
{
|
||||||
System.setProperty("jetty.home","");
|
System.setProperty("jetty.home","");
|
||||||
System.setProperty("jetty.base","");
|
System.setProperty("jetty.base","");
|
||||||
|
System.setProperty("jetty.version",RebuildTestResources.JETTY_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -54,7 +56,7 @@ public class MainTest
|
||||||
Path testJettyHome = MavenTestingUtils.getTestResourceDir("dist-home").toPath().toRealPath();
|
Path testJettyHome = MavenTestingUtils.getTestResourceDir("dist-home").toPath().toRealPath();
|
||||||
cmdLineArgs.add("user.dir=" + testJettyHome);
|
cmdLineArgs.add("user.dir=" + testJettyHome);
|
||||||
cmdLineArgs.add("jetty.home=" + testJettyHome);
|
cmdLineArgs.add("jetty.home=" + testJettyHome);
|
||||||
cmdLineArgs.add("jetty.http.port=9090");
|
// cmdLineArgs.add("jetty.http.port=9090");
|
||||||
|
|
||||||
Main main = new Main();
|
Main main = new Main();
|
||||||
StartArgs args = main.processCommandLine(cmdLineArgs.toArray(new String[cmdLineArgs.size()]));
|
StartArgs args = main.processCommandLine(cmdLineArgs.toArray(new String[cmdLineArgs.size()]));
|
||||||
|
@ -84,13 +86,13 @@ public class MainTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("Just a bit noisy for general testing")
|
@Ignore("Too noisy for general testing")
|
||||||
public void testListConfig() throws Exception
|
public void testListConfig() throws Exception
|
||||||
{
|
{
|
||||||
List<String> cmdLineArgs = new ArrayList<>();
|
List<String> cmdLineArgs = new ArrayList<>();
|
||||||
File testJettyHome = MavenTestingUtils.getTestResourceDir("dist-home");
|
File testJettyHome = MavenTestingUtils.getTestResourceDir("dist-home");
|
||||||
|
cmdLineArgs.add("user.dir=" + testJettyHome);
|
||||||
cmdLineArgs.add("jetty.home=" + testJettyHome);
|
cmdLineArgs.add("jetty.home=" + testJettyHome);
|
||||||
cmdLineArgs.add("jetty.http.port=9090");
|
|
||||||
cmdLineArgs.add("--list-config");
|
cmdLineArgs.add("--list-config");
|
||||||
// cmdLineArgs.add("--debug");
|
// cmdLineArgs.add("--debug");
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,9 @@ public class ModulesTest
|
||||||
expected.add("stats");
|
expected.add("stats");
|
||||||
expected.add("webapp");
|
expected.add("webapp");
|
||||||
expected.add("websocket");
|
expected.add("websocket");
|
||||||
|
expected.add("infinispan");
|
||||||
|
expected.add("jdbc-sessions");
|
||||||
|
expected.add("nosql");
|
||||||
|
|
||||||
ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames);
|
ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames);
|
||||||
}
|
}
|
||||||
|
@ -247,6 +250,7 @@ public class ModulesTest
|
||||||
expected.add("deploy");
|
expected.add("deploy");
|
||||||
expected.add("plus");
|
expected.add("plus");
|
||||||
expected.add("annotations");
|
expected.add("annotations");
|
||||||
|
expected.add("jdbc-sessions");
|
||||||
|
|
||||||
List<String> resolved = new ArrayList<>();
|
List<String> resolved = new ArrayList<>();
|
||||||
for (Module module : modules.getSelected())
|
for (Module module : modules.getSelected())
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
|
|
||||||
package org.eclipse.jetty.start;
|
package org.eclipse.jetty.start;
|
||||||
|
|
||||||
import static org.hamcrest.Matchers.containsString;
|
import static org.hamcrest.Matchers.*;
|
||||||
import static org.hamcrest.Matchers.is;
|
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -89,7 +88,7 @@ public class PropertyPassingTest
|
||||||
|
|
||||||
@Rule
|
@Rule
|
||||||
public TestingDir testingdir = new TestingDir();
|
public TestingDir testingdir = new TestingDir();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testAsJvmArg() throws IOException, InterruptedException
|
public void testAsJvmArg() throws IOException, InterruptedException
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@ import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.eclipse.jetty.start.util.RebuildTestResources;
|
||||||
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
@ -48,6 +49,10 @@ public class TestBadUseCases
|
||||||
"Missing referenced dependency: alpn-impl/alpn-1.7.0_01",
|
"Missing referenced dependency: alpn-impl/alpn-1.7.0_01",
|
||||||
new String[]{"java.version=1.7.0_01"}});
|
new String[]{"java.version=1.7.0_01"}});
|
||||||
|
|
||||||
|
ret.add(new Object[]{ "versioned-modules-too-new",
|
||||||
|
"Module [http3] specifies jetty version [10.0] which is newer than this version of jetty [" + RebuildTestResources.JETTY_VERSION + "]",
|
||||||
|
null});
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,6 +71,7 @@ public class TestBadUseCases
|
||||||
@Test
|
@Test
|
||||||
public void testBadConfig() throws Exception
|
public void testBadConfig() throws Exception
|
||||||
{
|
{
|
||||||
|
System.setProperty("jetty.version", RebuildTestResources.JETTY_VERSION);
|
||||||
File homeDir = MavenTestingUtils.getTestResourceDir("dist-home");
|
File homeDir = MavenTestingUtils.getTestResourceDir("dist-home");
|
||||||
File baseDir = MavenTestingUtils.getTestResourceDir("usecases/" + caseName);
|
File baseDir = MavenTestingUtils.getTestResourceDir("usecases/" + caseName);
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ import java.nio.file.Path;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.eclipse.jetty.start.util.RebuildTestResources;
|
||||||
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -47,6 +48,7 @@ public class TestUseCases
|
||||||
ret.add(new String[] {"jsp", null});
|
ret.add(new String[] {"jsp", null});
|
||||||
ret.add(new String[] {"database", null});
|
ret.add(new String[] {"database", null});
|
||||||
ret.add(new String[] {"deep-ext", null});
|
ret.add(new String[] {"deep-ext", null});
|
||||||
|
ret.add(new String[] {"versioned-modules", null});
|
||||||
|
|
||||||
// Ones with command lines
|
// Ones with command lines
|
||||||
ret.add(new Object[] {"http2", new String[]{"java.version=1.7.0_60"}});
|
ret.add(new Object[] {"http2", new String[]{"java.version=1.7.0_60"}});
|
||||||
|
@ -68,6 +70,8 @@ public class TestUseCases
|
||||||
Path homeDir = MavenTestingUtils.getTestResourceDir("dist-home").toPath().toRealPath();
|
Path homeDir = MavenTestingUtils.getTestResourceDir("dist-home").toPath().toRealPath();
|
||||||
Path baseDir = MavenTestingUtils.getTestResourceDir("usecases/" + caseName).toPath().toRealPath();
|
Path baseDir = MavenTestingUtils.getTestResourceDir("usecases/" + caseName).toPath().toRealPath();
|
||||||
|
|
||||||
|
System.setProperty("jetty.version",RebuildTestResources.JETTY_VERSION);
|
||||||
|
|
||||||
Main main = new Main();
|
Main main = new Main();
|
||||||
List<String> cmdLine = new ArrayList<>();
|
List<String> cmdLine = new ArrayList<>();
|
||||||
cmdLine.add("jetty.home=" + homeDir.toString());
|
cmdLine.add("jetty.home=" + homeDir.toString());
|
||||||
|
|
|
@ -18,20 +18,13 @@
|
||||||
|
|
||||||
package org.eclipse.jetty.start;
|
package org.eclipse.jetty.start;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.hamcrest.Matchers.*;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class VersionTest
|
public class VersionTest
|
||||||
{
|
{
|
||||||
@Test
|
|
||||||
public void testDefaultVersion()
|
|
||||||
{
|
|
||||||
Version version = new Version();
|
|
||||||
assertEquals("Default version difference to 0.0.0",0,version.compare(new Version("0.0.0")));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNewerVersion() {
|
public void testNewerVersion() {
|
||||||
assertIsNewer("0.0.0", "0.0.1");
|
assertIsNewer("0.0.0", "0.0.1");
|
||||||
|
@ -39,27 +32,41 @@ public class VersionTest
|
||||||
assertIsNewer("1.5.0", "1.6.0");
|
assertIsNewer("1.5.0", "1.6.0");
|
||||||
// assertIsNewer("1.6.0_12", "1.6.0_16"); // JDK version spec?
|
// assertIsNewer("1.6.0_12", "1.6.0_16"); // JDK version spec?
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testOlderVersion() {
|
public void testOlderVersion() {
|
||||||
assertIsOlder("0.0.1", "0.0.0");
|
assertIsOlder("0.0.1", "0.0.0");
|
||||||
assertIsOlder("0.1.1", "0.1.0");
|
assertIsOlder("0.1.1", "0.1.0");
|
||||||
assertIsOlder("1.6.0", "1.5.0");
|
assertIsOlder("1.6.0", "1.5.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testOlderOrEqualTo()
|
||||||
|
{
|
||||||
|
assertThat("9.2 <= 9.2",new Version("9.2").isOlderThanOrEqualTo(new Version("9.2")),is(true));
|
||||||
|
assertThat("9.2 <= 9.3",new Version("9.2").isOlderThanOrEqualTo(new Version("9.3")),is(true));
|
||||||
|
assertThat("9.3 <= 9.2",new Version("9.3").isOlderThanOrEqualTo(new Version("9.2")),is(false));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testNewerOrEqualTo()
|
||||||
|
{
|
||||||
|
assertThat("9.2 >= 9.2",new Version("9.2").isNewerThanOrEqualTo(new Version("9.2")),is(true));
|
||||||
|
assertThat("9.2 >= 9.3",new Version("9.2").isNewerThanOrEqualTo(new Version("9.3")),is(false));
|
||||||
|
assertThat("9.3 >= 9.2",new Version("9.3").isNewerThanOrEqualTo(new Version("9.2")),is(true));
|
||||||
|
}
|
||||||
|
|
||||||
private void assertIsOlder(String basever, String testver)
|
private void assertIsOlder(String basever, String testver)
|
||||||
{
|
{
|
||||||
Version vbase = new Version(basever);
|
Version vbase = new Version(basever);
|
||||||
Version vtest = new Version(testver);
|
Version vtest = new Version(testver);
|
||||||
assertTrue("Version [" + testver + "] should be older than [" + basever + "]",
|
assertTrue("Version [" + testver + "] should be older than [" + basever + "]", vtest.isOlderThan(vbase));
|
||||||
vtest.compare(vbase) == -1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void assertIsNewer(String basever, String testver)
|
private void assertIsNewer(String basever, String testver)
|
||||||
{
|
{
|
||||||
Version vbase = new Version(basever);
|
Version vbase = new Version(basever);
|
||||||
Version vtest = new Version(testver);
|
Version vtest = new Version(testver);
|
||||||
assertTrue("Version [" + testver + "] should be newer than [" + basever + "]",
|
assertTrue("Version [" + testver + "] should be newer than [" + basever + "]", vtest.isNewerThan(vbase));
|
||||||
vtest.compare(vbase) == 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,8 @@ import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
|
||||||
*/
|
*/
|
||||||
public class RebuildTestResources
|
public class RebuildTestResources
|
||||||
{
|
{
|
||||||
|
public static final String JETTY_VERSION = "9.3";
|
||||||
|
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
File realDistHome = MavenTestingUtils.getProjectDir("../jetty-distribution/target/distribution");
|
File realDistHome = MavenTestingUtils.getProjectDir("../jetty-distribution/target/distribution");
|
||||||
|
@ -129,7 +131,7 @@ public class RebuildTestResources
|
||||||
FS.ensureDirExists(libsDir.toFile());
|
FS.ensureDirExists(libsDir.toFile());
|
||||||
|
|
||||||
PathMatcher matcher = getPathMatcher("glob:**.jar");
|
PathMatcher matcher = getPathMatcher("glob:**.jar");
|
||||||
Renamer renamer = new RegexRenamer("-9\\.[0-9.]*(v[0-9-]*)?(-SNAPSHOT)?(RC[0-9])?(M[0-9])?","-TEST");
|
Renamer renamer = new RegexRenamer("-9\\.[0-9.]*(v[0-9-]*)?(-SNAPSHOT)?(RC[0-9])?(M[0-9])?","-" + JETTY_VERSION);
|
||||||
FileCopier copier = new TouchFileCopier();
|
FileCopier copier = new TouchFileCopier();
|
||||||
copyDir(srcDir.resolve("lib"),libsDir,matcher,renamer,copier);
|
copyDir(srcDir.resolve("lib"),libsDir,matcher,renamer,copier);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ XML|${jetty.base}/etc/home-base-warning.xml
|
||||||
XML|${jetty.base}/etc/jetty.xml
|
XML|${jetty.base}/etc/jetty.xml
|
||||||
XML|${jetty.base}/etc/jetty-http.xml
|
XML|${jetty.base}/etc/jetty-http.xml
|
||||||
XML|${jetty.base}/etc/jetty-ssl.xml
|
XML|${jetty.base}/etc/jetty-ssl.xml
|
||||||
|
XML|${jetty.base}/etc/jetty-ssl-context.xml
|
||||||
XML|${jetty.base}/etc/jetty-alpn.xml
|
XML|${jetty.base}/etc/jetty-alpn.xml
|
||||||
XML|${jetty.base}/etc/jetty-deploy.xml
|
XML|${jetty.base}/etc/jetty-deploy.xml
|
||||||
XML|${jetty.base}/etc/jetty-http2.xml
|
XML|${jetty.base}/etc/jetty-http2.xml
|
||||||
|
@ -10,58 +11,51 @@ XML|${jetty.base}/etc/jetty-plus.xml
|
||||||
XML|${jetty.base}/etc/jetty-annotations.xml
|
XML|${jetty.base}/etc/jetty-annotations.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-TEST.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.3.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/jetty-jndi-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
||||||
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/jetty-plus-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-annotations-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-api-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-api-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-client-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-client-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-common-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-common-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-server-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-servlet-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-servlet-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-http-TEST.jar
|
LIB|${jetty.base}/lib/jetty-alpn-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-io-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-deploy-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.base}/lib/jetty-security-TEST.jar
|
LIB|${jetty.base}/lib/http2/http2-common-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-server-TEST.jar
|
LIB|${jetty.base}/lib/http2/http2-hpack-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-servlet-TEST.jar
|
LIB|${jetty.base}/lib/http2/http2-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-util-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-webapp-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-xml-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-alpn-server-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/http2/http2-common-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/http2/http2-hpack-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/http2/http2-server-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-annotations-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-http-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-io-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-deploy-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-plus-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-security-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-server-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-servlet-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-util-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-webapp-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-xml-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-jndi-9.3.jar
|
||||||
|
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
# (these are the properties we actually set in the configuration)
|
# (these are the properties we actually set in the configuration)
|
||||||
PROP|java.version=1.7.0_60
|
PROP|java.version=1.7.0_60
|
||||||
# PROP|jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g
|
|
||||||
# PROP|jetty.sslContext.keystorePath=etc/keystore
|
|
||||||
# PROP|jetty.sslContext.keystorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
|
||||||
# PROP|jetty.httpConfig.securePort=8443
|
|
||||||
# PROP|jetty.sslContext.truststorePath=etc/keystore
|
|
||||||
# PROP|jetty.sslContext.truststorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
|
||||||
# PROP|jetty.ssl.port=8443
|
|
||||||
# PROP|jetty.ssl.idleTimeout=30000
|
|
||||||
# (these are the ones set by default from jetty.home modules)
|
|
||||||
PROP|jetty.alpn.debug=false
|
|
||||||
PROP|jetty.http.port=8080
|
PROP|jetty.http.port=8080
|
||||||
|
PROP|jetty.ssl.port=8443
|
||||||
PROP|jetty.httpConfig.delayDispatchUntilContent=false
|
PROP|jetty.httpConfig.delayDispatchUntilContent=false
|
||||||
PROP|jetty.server.dumpAfterStart=false
|
PROP|jetty.server.dumpAfterStart=false
|
||||||
PROP|jetty.server.dumpBeforeStop=false
|
PROP|jetty.server.dumpBeforeStop=false
|
||||||
|
@ -80,7 +74,7 @@ JVM|-Xmx1024m
|
||||||
|
|
||||||
# Downloads
|
# Downloads
|
||||||
DOWNLOAD|maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
DOWNLOAD|maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||||
DOWNLOAD|http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore|etc/keystore
|
DOWNLOAD|http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/test/config/etc/keystore?id=master|etc/keystore
|
||||||
|
|
||||||
# Files
|
# Files
|
||||||
FILE|lib/
|
FILE|lib/
|
||||||
|
|
|
@ -11,39 +11,41 @@ XML|${jetty.base}/etc/jetty-logging.xml
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${maven-test-resources}/extra-resources
|
LIB|${maven-test-resources}/extra-resources
|
||||||
LIB|${maven-test-resources}/extra-libs/example.jar
|
LIB|${maven-test-resources}/extra-libs/example.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-TEST.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.3.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.base}/lib/jetty-http-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-server-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-xml-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-util-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-io-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-jndi-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
||||||
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/jetty-security-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-servlet-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-webapp-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-deploy-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-plus-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/jetty-annotations-TEST.jar
|
|
||||||
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-api-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-api-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-client-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-client-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-common-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-common-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-server-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-servlet-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-servlet-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-annotations-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-http-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-io-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-deploy-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-plus-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-security-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-server-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-servlet-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-util-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-webapp-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-xml-9.3.jar
|
||||||
|
LIB|${jetty.base}/lib/jetty-jndi-9.3.jar
|
||||||
|
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
# (these are the properties we actually set in the configuration)
|
# (these are the properties we actually set in the configuration)
|
||||||
|
|
|
@ -7,43 +7,43 @@ XML|${jetty.base}/etc/jetty-plus.xml
|
||||||
XML|${jetty.base}/etc/jetty-annotations.xml
|
XML|${jetty.base}/etc/jetty-annotations.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-TEST.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.3.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar
|
LIB|${jetty.base}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.20.M0.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
LIB|${jetty.base}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
LIB|${jetty.base}/lib/annotations/asm-commons-5.0.1.jar
|
||||||
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
LIB|${jetty.base}/lib/annotations/javax.annotation-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/jetty-jndi-TEST.jar
|
LIB|${jetty.base}/lib/jetty-jndi-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
LIB|${jetty.base}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
||||||
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
LIB|${jetty.base}/lib/jndi/javax.transaction-api-1.2.jar
|
||||||
LIB|${jetty.base}/lib/jetty-annotations-TEST.jar
|
LIB|${jetty.base}/lib/jetty-annotations-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-http-TEST.jar
|
LIB|${jetty.base}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-io-TEST.jar
|
LIB|${jetty.base}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-deploy-TEST.jar
|
LIB|${jetty.base}/lib/jetty-deploy-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-plus-TEST.jar
|
LIB|${jetty.base}/lib/jetty-plus-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.base}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.base}/lib/jetty-security-TEST.jar
|
LIB|${jetty.base}/lib/jetty-security-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-server-TEST.jar
|
LIB|${jetty.base}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-servlet-TEST.jar
|
LIB|${jetty.base}/lib/jetty-servlet-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-util-TEST.jar
|
LIB|${jetty.base}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-webapp-TEST.jar
|
LIB|${jetty.base}/lib/jetty-webapp-9.3.jar
|
||||||
LIB|${jetty.base}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.base}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
LIB|${jetty.base}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
LIB|${jetty.base}/lib/websocket/javax.websocket-api-1.0.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-client-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-TEST.jar
|
LIB|${jetty.base}/lib/websocket/javax-websocket-server-impl-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-api-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-api-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-client-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-client-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-common-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-common-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-server-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-server-9.3.jar
|
||||||
LIB|${jetty.base}/lib/websocket/websocket-servlet-TEST.jar
|
LIB|${jetty.base}/lib/websocket/websocket-servlet-9.3.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
# (these are the properties we actually set in the configuration)
|
# (these are the properties we actually set in the configuration)
|
||||||
PROP|jetty.http.port=9090
|
PROP|jetty.http.port=8080
|
||||||
# (these are the ones set by default from jetty.home modules)
|
# (these are the ones set by default from jetty.home modules)
|
||||||
PROP|jetty.httpConfig.delayDispatchUntilContent=false
|
PROP|jetty.httpConfig.delayDispatchUntilContent=false
|
||||||
PROP|jetty.server.dumpAfterStart=false
|
PROP|jetty.server.dumpAfterStart=false
|
||||||
|
|
|
@ -1,534 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<web-app
|
|
||||||
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
|
||||||
metadata-complete="false"
|
|
||||||
version="3.1">
|
|
||||||
|
|
||||||
<!-- ===================================================================== -->
|
|
||||||
<!-- This file contains the default descriptor for web applications. -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<!-- The intent of this descriptor is to include jetty specific or common -->
|
|
||||||
<!-- configuration for all webapps. If a context has a webdefault.xml -->
|
|
||||||
<!-- descriptor, it is applied before the context's own web.xml file -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- A context may be assigned a default descriptor by calling -->
|
|
||||||
<!-- WebAppContext.setDefaultsDescriptor(String). -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- This file is present in the jetty-webapp.jar, and is used as the -->
|
|
||||||
<!-- defaults descriptor if no other is explicitly set on a context. -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- A copy of this file is also placed into the $JETTY_HOME/etc dir of -->
|
|
||||||
<!-- the distribution, and is referenced by some of the other xml files, -->
|
|
||||||
<!-- eg the jetty-deploy.xml file. -->
|
|
||||||
<!-- ===================================================================== -->
|
|
||||||
|
|
||||||
<description>
|
|
||||||
Default web.xml file.
|
|
||||||
This file is applied to a Web application before it's own WEB_INF/web.xml file
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Removes static references to beans from javax.el.BeanELResolver to -->
|
|
||||||
<!-- ensure webapp classloader can be released on undeploy -->
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<listener>
|
|
||||||
<listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class>
|
|
||||||
</listener>
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Removes static cache of Methods from java.beans.Introspector to -->
|
|
||||||
<!-- ensure webapp classloader can be released on undeploy -->
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<listener>
|
|
||||||
<listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class>
|
|
||||||
</listener>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Context params to control Session Cookies -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<!--
|
|
||||||
UNCOMMENT TO ACTIVATE
|
|
||||||
<context-param>
|
|
||||||
<param-name>org.eclipse.jetty.servlet.SessionDomain</param-name>
|
|
||||||
<param-value>127.0.0.1</param-value>
|
|
||||||
</context-param>
|
|
||||||
<context-param>
|
|
||||||
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name>
|
|
||||||
<param-value>/</param-value>
|
|
||||||
</context-param>
|
|
||||||
<context-param>
|
|
||||||
<param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
|
|
||||||
<param-value>-1</param-value>
|
|
||||||
</context-param>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- The default servlet. -->
|
|
||||||
<!-- This servlet, normally mapped to /, provides the handling for static -->
|
|
||||||
<!-- content, OPTIONS and TRACE methods for the context. -->
|
|
||||||
<!-- The following initParameters are supported: -->
|
|
||||||
<!--
|
|
||||||
* acceptRanges If true, range requests and responses are
|
|
||||||
* supported
|
|
||||||
*
|
|
||||||
* dirAllowed If true, directory listings are returned if no
|
|
||||||
* welcome file is found. Else 403 Forbidden.
|
|
||||||
*
|
|
||||||
* welcomeServlets If true, attempt to dispatch to welcome files
|
|
||||||
* that are servlets, but only after no matching static
|
|
||||||
* resources could be found. If false, then a welcome
|
|
||||||
* file must exist on disk. If "exact", then exact
|
|
||||||
* servlet matches are supported without an existing file.
|
|
||||||
* Default is true.
|
|
||||||
*
|
|
||||||
* This must be false if you want directory listings,
|
|
||||||
* but have index.jsp in your welcome file list.
|
|
||||||
*
|
|
||||||
* redirectWelcome If true, welcome files are redirected rather than
|
|
||||||
* forwarded to.
|
|
||||||
*
|
|
||||||
* gzip If set to true, then static content will be served as
|
|
||||||
* gzip content encoded if a matching resource is
|
|
||||||
* found ending with ".gz"
|
|
||||||
*
|
|
||||||
* resourceBase Set to replace the context resource base
|
|
||||||
*
|
|
||||||
* resourceCache If set, this is a context attribute name, which the servlet
|
|
||||||
* will use to look for a shared ResourceCache instance.
|
|
||||||
*
|
|
||||||
* relativeResourceBase
|
|
||||||
* Set with a pathname relative to the base of the
|
|
||||||
* servlet context root. Useful for only serving static content out
|
|
||||||
* of only specific subdirectories.
|
|
||||||
*
|
|
||||||
* pathInfoOnly If true, only the path info will be applied to the resourceBase
|
|
||||||
*
|
|
||||||
* stylesheet Set with the location of an optional stylesheet that will be used
|
|
||||||
* to decorate the directory listing html.
|
|
||||||
*
|
|
||||||
* aliases If True, aliases of resources are allowed (eg. symbolic
|
|
||||||
* links and caps variations). May bypass security constraints.
|
|
||||||
*
|
|
||||||
* etags If True, weak etags will be generated and handled.
|
|
||||||
*
|
|
||||||
* maxCacheSize The maximum total size of the cache or 0 for no cache.
|
|
||||||
* maxCachedFileSize The maximum size of a file to cache
|
|
||||||
* maxCachedFiles The maximum number of files to cache
|
|
||||||
*
|
|
||||||
* useFileMappedBuffer
|
|
||||||
* If set to true, it will use mapped file buffers to serve static content
|
|
||||||
* when using an NIO connector. Setting this value to false means that
|
|
||||||
* a direct buffer will be used instead of a mapped file buffer.
|
|
||||||
* This file sets the value to true.
|
|
||||||
*
|
|
||||||
* cacheControl If set, all static content will have this value set as the cache-control
|
|
||||||
* header.
|
|
||||||
*
|
|
||||||
-->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<servlet>
|
|
||||||
<servlet-name>default</servlet-name>
|
|
||||||
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
|
||||||
<init-param>
|
|
||||||
<param-name>aliases</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>acceptRanges</param-name>
|
|
||||||
<param-value>true</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>dirAllowed</param-name>
|
|
||||||
<param-value>true</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>welcomeServlets</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>redirectWelcome</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>maxCacheSize</param-name>
|
|
||||||
<param-value>256000000</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>maxCachedFileSize</param-name>
|
|
||||||
<param-value>200000000</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>maxCachedFiles</param-name>
|
|
||||||
<param-value>2048</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>gzip</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>etags</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>useFileMappedBuffer</param-name>
|
|
||||||
<param-value>true</param-value>
|
|
||||||
</init-param>
|
|
||||||
<!--
|
|
||||||
<init-param>
|
|
||||||
<param-name>resourceCache</param-name>
|
|
||||||
<param-value>resourceCache</param-value>
|
|
||||||
</init-param>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<init-param>
|
|
||||||
<param-name>cacheControl</param-name>
|
|
||||||
<param-value>max-age=3600,public</param-value>
|
|
||||||
</init-param>
|
|
||||||
-->
|
|
||||||
<load-on-startup>0</load-on-startup>
|
|
||||||
</servlet>
|
|
||||||
|
|
||||||
<servlet-mapping>
|
|
||||||
<servlet-name>default</servlet-name>
|
|
||||||
<url-pattern>/</url-pattern>
|
|
||||||
</servlet-mapping>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- JSP Servlet -->
|
|
||||||
<!-- This is the jasper JSP servlet. -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
|
|
||||||
<!-- used by the jsp container to support JSP pages. Traditionally, -->
|
|
||||||
<!-- this servlet is mapped to URL pattern "*.jsp". This servlet -->
|
|
||||||
<!-- supports the following initialization parameters (default values -->
|
|
||||||
<!-- are in square brackets): -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- checkInterval If development is false and reloading is true, -->
|
|
||||||
<!-- background compiles are enabled. checkInterval -->
|
|
||||||
<!-- is the time in seconds between checks to see -->
|
|
||||||
<!-- if a JSP page needs to be recompiled. [300] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- compiler Which compiler Ant should use to compile JSP -->
|
|
||||||
<!-- pages. See the Ant documentation for more -->
|
|
||||||
<!-- information. [javac] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- classdebuginfo Should the class file be compiled with -->
|
|
||||||
<!-- debugging information? [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- classpath What class path should I use while compiling -->
|
|
||||||
<!-- generated servlets? [Created dynamically -->
|
|
||||||
<!-- based on the current web application] -->
|
|
||||||
<!-- Set to ? to make the container explicitly set -->
|
|
||||||
<!-- this parameter. -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- development Is Jasper used in development mode (will check -->
|
|
||||||
<!-- for JSP modification on every access)? [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- enablePooling Determines whether tag handler pooling is -->
|
|
||||||
<!-- enabled [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
|
|
||||||
<!-- a separate JVM is used for JSP page compiles -->
|
|
||||||
<!-- from the one Tomcat is running in. [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- ieClassId The class-id value to be sent to Internet -->
|
|
||||||
<!-- Explorer when using <jsp:plugin> tags. -->
|
|
||||||
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- javaEncoding Java file encoding to use for generating java -->
|
|
||||||
<!-- source files. [UTF-8] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- keepgenerated Should we keep the generated Java source code -->
|
|
||||||
<!-- for each page instead of deleting it? [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- logVerbosityLevel The level of detailed messages to be produced -->
|
|
||||||
<!-- by this servlet. Increasing levels cause the -->
|
|
||||||
<!-- generation of more messages. Valid values are -->
|
|
||||||
<!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
|
|
||||||
<!-- [WARNING] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- mappedfile Should we generate static content with one -->
|
|
||||||
<!-- print statement per input line, to ease -->
|
|
||||||
<!-- debugging? [false] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- reloading Should Jasper check for modified JSPs? [true] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
|
|
||||||
<!-- debugging be suppressed? [false] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
|
|
||||||
<!-- dumped to a file? [false] -->
|
|
||||||
<!-- False if suppressSmap is true -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- scratchdir What scratch directory should we use when -->
|
|
||||||
<!-- compiling JSP pages? [default work directory -->
|
|
||||||
<!-- for the current web application] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- xpoweredBy Determines whether X-Powered-By response -->
|
|
||||||
<!-- header is added by generated servlet [false] -->
|
|
||||||
<!-- -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<servlet id="jsp">
|
|
||||||
<servlet-name>jsp</servlet-name>
|
|
||||||
<servlet-class>org.eclipse.jetty.jsp.JettyJspServlet</servlet-class>
|
|
||||||
<init-param>
|
|
||||||
<param-name>logVerbosityLevel</param-name>
|
|
||||||
<param-value>DEBUG</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>fork</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>xpoweredBy</param-name>
|
|
||||||
<param-value>false</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>compilerTargetVM</param-name>
|
|
||||||
<param-value>1.7</param-value>
|
|
||||||
</init-param>
|
|
||||||
<init-param>
|
|
||||||
<param-name>compilerSourceVM</param-name>
|
|
||||||
<param-value>1.7</param-value>
|
|
||||||
</init-param>
|
|
||||||
<!--
|
|
||||||
<init-param>
|
|
||||||
<param-name>classpath</param-name>
|
|
||||||
<param-value>?</param-value>
|
|
||||||
</init-param>
|
|
||||||
-->
|
|
||||||
<load-on-startup>0</load-on-startup>
|
|
||||||
</servlet>
|
|
||||||
|
|
||||||
<servlet-mapping>
|
|
||||||
<servlet-name>jsp</servlet-name>
|
|
||||||
<url-pattern>*.jsp</url-pattern>
|
|
||||||
<url-pattern>*.jspf</url-pattern>
|
|
||||||
<url-pattern>*.jspx</url-pattern>
|
|
||||||
<url-pattern>*.xsp</url-pattern>
|
|
||||||
<url-pattern>*.JSP</url-pattern>
|
|
||||||
<url-pattern>*.JSPF</url-pattern>
|
|
||||||
<url-pattern>*.JSPX</url-pattern>
|
|
||||||
<url-pattern>*.XSP</url-pattern>
|
|
||||||
</servlet-mapping>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Default session configuration -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<session-config>
|
|
||||||
<session-timeout>30</session-timeout>
|
|
||||||
</session-config>
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Default MIME mappings -->
|
|
||||||
<!-- The default MIME mappings are provided by the mime.properties -->
|
|
||||||
<!-- resource in the jetty-http.jar file. Additional or modified -->
|
|
||||||
<!-- mappings may be specified here -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<!-- UNCOMMENT TO ACTIVATE
|
|
||||||
<mime-mapping>
|
|
||||||
<extension>mysuffix</extension>
|
|
||||||
<mime-type>mymime/type</mime-type>
|
|
||||||
</mime-mapping>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Default welcome files -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<welcome-file-list>
|
|
||||||
<welcome-file>index.html</welcome-file>
|
|
||||||
<welcome-file>index.htm</welcome-file>
|
|
||||||
<welcome-file>index.jsp</welcome-file>
|
|
||||||
</welcome-file-list>
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Default locale encodings -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<locale-encoding-mapping-list>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ar</locale>
|
|
||||||
<encoding>ISO-8859-6</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>be</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>bg</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ca</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>cs</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>da</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>de</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>el</locale>
|
|
||||||
<encoding>ISO-8859-7</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>en</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>es</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>et</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>fi</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>fr</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>hr</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>hu</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>is</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>it</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>iw</locale>
|
|
||||||
<encoding>ISO-8859-8</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ja</locale>
|
|
||||||
<encoding>Shift_JIS</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ko</locale>
|
|
||||||
<encoding>EUC-KR</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>lt</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>lv</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>mk</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>nl</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>no</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>pl</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>pt</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ro</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>ru</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sh</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sk</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sl</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sq</locale>
|
|
||||||
<encoding>ISO-8859-2</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sr</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>sv</locale>
|
|
||||||
<encoding>ISO-8859-1</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>tr</locale>
|
|
||||||
<encoding>ISO-8859-9</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>uk</locale>
|
|
||||||
<encoding>ISO-8859-5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>zh</locale>
|
|
||||||
<encoding>GB2312</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
<locale-encoding-mapping>
|
|
||||||
<locale>zh_TW</locale>
|
|
||||||
<encoding>Big5</encoding>
|
|
||||||
</locale-encoding-mapping>
|
|
||||||
</locale-encoding-mapping-list>
|
|
||||||
|
|
||||||
<!-- ==================================================================== -->
|
|
||||||
<!-- Disable TRACE method with security constraint -->
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
||||||
<security-constraint>
|
|
||||||
<web-resource-collection>
|
|
||||||
<web-resource-name>Disable TRACE</web-resource-name>
|
|
||||||
<url-pattern>/</url-pattern>
|
|
||||||
<http-method>TRACE</http-method>
|
|
||||||
</web-resource-collection>
|
|
||||||
<auth-constraint/>
|
|
||||||
</security-constraint>
|
|
||||||
<security-constraint>
|
|
||||||
<web-resource-collection>
|
|
||||||
<web-resource-name>Enable everything but TRACE</web-resource-name>
|
|
||||||
<url-pattern>/</url-pattern>
|
|
||||||
<http-method-omission>TRACE</http-method-omission>
|
|
||||||
</web-resource-collection>
|
|
||||||
</security-constraint>
|
|
||||||
|
|
||||||
</web-app>
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ lib/alpn/
|
||||||
# jetty.alpn.defaultProtocol=http/1.1
|
# jetty.alpn.defaultProtocol=http/1.1
|
||||||
|
|
||||||
# ALPN debug logging on System.err
|
# ALPN debug logging on System.err
|
||||||
jetty.alpn.debug=false
|
# jetty.alpn.debug=false
|
||||||
|
|
||||||
[license]
|
[license]
|
||||||
ALPN is a hosted at github under the GPL v2 with ClassPath Exception.
|
ALPN is a hosted at github under the GPL v2 with ClassPath Exception.
|
||||||
|
|
|
@ -10,12 +10,24 @@ plus
|
||||||
jsp
|
jsp
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
lib/weld/
|
lib/cdi/
|
||||||
maven://org.jboss.weld.servlet/weld-servlet/2.2.5.Final|lib/weld/weld-servlet-2.2.5.Final.jar
|
maven://javax.enterprise/cdi-api/1.2|lib/cdi/javax.enterprise.cdi-api-1.2.jar
|
||||||
|
maven://javax.interceptor/javax.interceptor-api/1.2|lib/cdi/javax.interceptor-api-1.2.jar
|
||||||
|
maven://javax.inject/javax.inject/1|lib/cdi/javax.inject-1.0.jar
|
||||||
|
maven://org.jboss.weld.servlet/weld-servlet-core/2.2.9.Final|lib/cdi/weld-servlet-core-2.2.9.Final.jar
|
||||||
|
maven://org.jboss.weld.environment/weld-environment-common/2.2.9.Final|lib/cdi/weld-environment-common-2.2.9.Final.jar
|
||||||
|
maven://org.jboss.weld/weld-core-impl/2.2.9.Final|lib/cdi/weld-core-impl-2.2.9.Final.jar
|
||||||
|
maven://org.jboss.classfilewriter/jboss-classfilewriter/1.0.5.Final|lib/cdi/jboss-classfilewriter-1.0.5.Final.jar
|
||||||
|
maven://com.google.guava/guava/13.0.1|lib/cdi/com.google.guava.guava-13.0.1.jar
|
||||||
|
maven://org.jboss.weld/weld-spi/2.2.SP3|lib/cdi/weld-spi-2.2.SP3.jar
|
||||||
|
maven://org.jboss.weld/weld-api/2.2.SP3|lib/cdi/weld-api-2.2.SP3.jar
|
||||||
|
maven://org.jboss.logging/jboss-logging/3.1.3.GA|lib/cdi/jboss-logging-3.1.3.GA.jar
|
||||||
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
lib/weld/weld-servlet-2.2.5.Final.jar
|
lib/cdi/*.jar
|
||||||
lib/jetty-cdi-${jetty.version}.jar
|
lib/cdi-core-${jetty.version}.jar
|
||||||
|
lib/cdi-servlet-${jetty.version}.jar
|
||||||
|
|
||||||
[xml]
|
[xml]
|
||||||
etc/jetty-cdi.xml
|
etc/jetty-cdi.xml
|
||||||
|
|
|
@ -15,7 +15,7 @@ etc/jetty-http.xml
|
||||||
# jetty.http.host=0.0.0.0
|
# jetty.http.host=0.0.0.0
|
||||||
|
|
||||||
## Connector port to listen on
|
## Connector port to listen on
|
||||||
# jetty.http.port=80
|
jetty.http.port=8080
|
||||||
|
|
||||||
## Connector idle timeout in milliseconds
|
## Connector idle timeout in milliseconds
|
||||||
# jetty.http.idleTimeout=30000
|
# jetty.http.idleTimeout=30000
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
[depend]
|
[depend]
|
||||||
ssl
|
ssl
|
||||||
|
|
||||||
|
[optional]
|
||||||
|
http2
|
||||||
|
|
||||||
[xml]
|
[xml]
|
||||||
etc/jetty-https.xml
|
etc/jetty-https.xml
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
#
|
||||||
|
# Jetty Infinispan module
|
||||||
|
#
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
annotations
|
||||||
|
webapp
|
||||||
|
|
||||||
|
|
||||||
|
[files]
|
||||||
|
maven://org.infinispan/infinispan-core/7.1.1.Final|lib/infinispan/infinispan-core-7.1.1.Final.jar
|
||||||
|
maven://org.infinispan/infinispan-commons/7.1.1.Final|lib/infinispan/infinispan-commons-7.1.1.Final.jar
|
||||||
|
maven://org.jgroups/jgroups/3.6.1.Final|lib/infinispan/jgroups-3.6.1.Final.jar
|
||||||
|
maven://org.jboss.marshalling/jboss-marshalling-osgi/1.4.4.Final|lib/infinispan/jboss-marshalling-osgi-1.4.4.Final.jar
|
||||||
|
maven://org.jboss.logging/jboss-logging/3.1.2.GA|lib/infinispan/jboss-logging-3.1.2.GA.jar
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
lib/jetty-infinispan-${jetty.version}.jar
|
||||||
|
lib/infinispan/*.jar
|
||||||
|
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-infinispan.xml
|
||||||
|
|
||||||
|
[license]
|
||||||
|
Infinispan is an open source project hosted on Github and released under the Apache 2.0 license.
|
||||||
|
http://infinispan.org/
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
## Infinispan Session config
|
||||||
|
|
||||||
|
## Unique identifier for this node in the cluster
|
||||||
|
jetty.infinispanSession.workerName=node1
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
#
|
||||||
|
# Jetty JDBC Session module
|
||||||
|
#
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
annotations
|
||||||
|
webapp
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-jdbc-sessions.xml
|
||||||
|
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
## JDBC Session config
|
||||||
|
|
||||||
|
## Unique identifier for this node in the cluster
|
||||||
|
jetty.jdbcSession.workerName=node1
|
||||||
|
|
||||||
|
## The interval in seconds between sweeps of the scavenger
|
||||||
|
jetty.jdbcSession.scavenge=600
|
||||||
|
|
||||||
|
##Uncomment either the datasource name or driverClass and connectionURL
|
||||||
|
#jetty.jdbcSession.datasource=sessions
|
||||||
|
#jetty.jdbcSession.driverClass=changeme
|
||||||
|
#jetty.jdbcSession.connectionURL=changeme
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
#
|
||||||
|
# Jetty NoSql module
|
||||||
|
#
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
webapp
|
||||||
|
|
||||||
|
[files]
|
||||||
|
maven://org.mongodb/mongo-java-driver/2.6.1|lib/nosql/mongo-java-driver-2.6.1.jar
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
lib/jetty-nosql-${jetty.version}.jar
|
||||||
|
lib/nosql/*.jar
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-nosql.xml
|
||||||
|
|
||||||
|
[license]
|
||||||
|
The java driver for the MongoDB document-based database system is hosted on GitHub and released under the Apache 2.0 license.
|
||||||
|
http://www.mongodb.org/
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
## MongoDB SessionIdManager config
|
||||||
|
|
||||||
|
## Unique identifier for this node in the cluster
|
||||||
|
jetty.nosqlSession.workerName=node1
|
||||||
|
|
||||||
|
|
||||||
|
## Interval in seconds between scavenging expired sessions
|
||||||
|
jetty.nosqlSession.scavenge=1800
|
||||||
|
|
|
@ -1,15 +1,18 @@
|
||||||
#
|
#
|
||||||
# SSL Keystore module
|
# SSL Keystore module
|
||||||
#
|
#
|
||||||
|
[name]
|
||||||
|
ssl
|
||||||
|
|
||||||
[depend]
|
[depend]
|
||||||
server
|
server
|
||||||
|
|
||||||
[xml]
|
[xml]
|
||||||
etc/jetty-ssl.xml
|
etc/jetty-ssl.xml
|
||||||
|
etc/jetty-ssl-context.xml
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore|etc/keystore
|
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/test/config/etc/keystore?id=${jetty.tag.version}|etc/keystore
|
||||||
|
|
||||||
[ini-template]
|
[ini-template]
|
||||||
### TLS(SSL) Connector Configuration
|
### TLS(SSL) Connector Configuration
|
||||||
|
@ -18,7 +21,7 @@ http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/
|
||||||
# jetty.ssl.host=0.0.0.0
|
# jetty.ssl.host=0.0.0.0
|
||||||
|
|
||||||
## Connector port to listen on
|
## Connector port to listen on
|
||||||
# jetty.ssl.port=443
|
jetty.ssl.port=8443
|
||||||
|
|
||||||
## Connector idle timeout in milliseconds
|
## Connector idle timeout in milliseconds
|
||||||
# jetty.ssl.idleTimeout=30000
|
# jetty.ssl.idleTimeout=30000
|
||||||
|
@ -38,28 +41,42 @@ http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/
|
||||||
## Thread priority delta to give to acceptor threads
|
## Thread priority delta to give to acceptor threads
|
||||||
# jetty.ssl.acceptorPriorityDelta=0
|
# jetty.ssl.acceptorPriorityDelta=0
|
||||||
|
|
||||||
|
## Whether request host names are checked to match any SNI names
|
||||||
|
# jetty.ssl.sniHostCheck=true
|
||||||
|
|
||||||
### SslContextFactory Configuration
|
### SslContextFactory Configuration
|
||||||
|
|
||||||
## Keystore file path (relative to $jetty.base)
|
|
||||||
# jetty.sslContext.keystorePath=etc/keystore
|
|
||||||
|
|
||||||
## Truststore file path (relative to $jetty.base)
|
|
||||||
# jetty.sslContext.truststorePath
|
|
||||||
|
|
||||||
## Note that OBF passwords are not secure, just protected from casual observation
|
## Note that OBF passwords are not secure, just protected from casual observation
|
||||||
## See http://www.eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html
|
## See http://www.eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html
|
||||||
|
|
||||||
|
## Keystore file path (relative to $jetty.base)
|
||||||
|
# jetty.sslContext.keyStorePath=etc/keystore
|
||||||
|
|
||||||
|
## Truststore file path (relative to $jetty.base)
|
||||||
|
# jetty.sslContext.trustStorePath=etc/keystore
|
||||||
|
|
||||||
## Keystore password
|
## Keystore password
|
||||||
# jetty.sslContext.keystorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
# jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
||||||
|
|
||||||
|
## Keystore type and provider
|
||||||
|
# jetty.sslContext.keyStoreType=JKS
|
||||||
|
# jetty.sslContext.keyStoreProvider=
|
||||||
|
|
||||||
## KeyManager password
|
## KeyManager password
|
||||||
# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g
|
# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g
|
||||||
|
|
||||||
## Truststore password
|
## Truststore password
|
||||||
# jetty.sslContext.truststorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
# jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
||||||
|
|
||||||
|
## Truststore type and provider
|
||||||
|
# jetty.sslContext.trustStoreType=JKS
|
||||||
|
# jetty.sslContext.trustStoreProvider=
|
||||||
|
|
||||||
## whether client certificate authentication is required
|
## whether client certificate authentication is required
|
||||||
# jetty.sslContext.needClientAuth=false
|
# jetty.sslContext.needClientAuth=false
|
||||||
|
|
||||||
## Whether client certificate authentication is desired
|
## Whether client certificate authentication is desired
|
||||||
# jetty.sslContext.wantClientAuth=false
|
# jetty.sslContext.wantClientAuth=false
|
||||||
|
|
||||||
|
## Whether cipher order is significant (since java 8 only)
|
||||||
|
# jetty.sslContext.useCipherSuitesOrder=true
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,13 @@ XML|${jetty.home}/etc/jetty-http.xml
|
||||||
XML|${jetty.home}/etc/jetty-jmx.xml
|
XML|${jetty.home}/etc/jetty-jmx.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jmx-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jmx-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/lib/agent-jdk-1.6.jar
|
LIB|${jetty.base}/lib/agent-jdk-1.6.jar
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,12 @@ XML|${jetty.home}/etc/jetty.xml
|
||||||
XML|${jetty.home}/etc/jetty-http.xml
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
|
|
|
@ -3,12 +3,12 @@ XML|${jetty.home}/etc/jetty.xml
|
||||||
XML|${jetty.home}/etc/jetty-http.xml
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
|
|
|
@ -6,21 +6,21 @@ XML|${jetty.home}/etc/jetty-plus.xml
|
||||||
XML|${jetty.base}/etc/jetty-db.xml
|
XML|${jetty.base}/etc/jetty-db.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jndi-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jndi-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
LIB|${jetty.home}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
||||||
LIB|${jetty.home}/lib/jndi/javax.transaction-api-1.2.jar
|
LIB|${jetty.home}/lib/jndi/javax.transaction-api-1.2.jar
|
||||||
LIB|${jetty.home}/lib/jetty-plus-TEST.jar
|
LIB|${jetty.home}/lib/jetty-plus-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-deploy-TEST.jar
|
LIB|${jetty.home}/lib/jetty-deploy-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-security-TEST.jar
|
LIB|${jetty.home}/lib/jetty-security-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-webapp-TEST.jar
|
LIB|${jetty.home}/lib/jetty-webapp-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-servlet-TEST.jar
|
LIB|${jetty.home}/lib/jetty-servlet-9.3.jar
|
||||||
LIB|${jetty.base}/lib/db/mysql-driver.jar
|
LIB|${jetty.base}/lib/db/mysql-driver.jar
|
||||||
LIB|${jetty.base}/lib/db/bonecp.jar
|
LIB|${jetty.base}/lib/db/bonecp.jar
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,12 @@ XML|${jetty.home}/etc/jetty.xml
|
||||||
XML|${jetty.home}/etc/jetty-http.xml
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/lib/ext/agent.jar
|
LIB|${jetty.base}/lib/ext/agent.jar
|
||||||
LIB|${jetty.base}/lib/ext/jdbc/mariadb-jdbc.jar
|
LIB|${jetty.base}/lib/ext/jdbc/mariadb-jdbc.jar
|
||||||
|
|
|
@ -3,54 +3,39 @@ XML|${jetty.home}/etc/jetty.xml
|
||||||
XML|${jetty.home}/etc/jetty-http.xml
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
XML|${jetty.home}/etc/jetty-jmx.xml
|
XML|${jetty.home}/etc/jetty-jmx.xml
|
||||||
XML|${jetty.home}/etc/jetty-ssl.xml
|
XML|${jetty.home}/etc/jetty-ssl.xml
|
||||||
|
XML|${jetty.home}/etc/jetty-ssl-context.xml
|
||||||
XML|${jetty.home}/etc/jetty-alpn.xml
|
XML|${jetty.home}/etc/jetty-alpn.xml
|
||||||
XML|${jetty.home}/etc/jetty-http2.xml
|
XML|${jetty.home}/etc/jetty-http2.xml
|
||||||
|
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jmx-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jmx-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-alpn-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-alpn-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/http2/http2-common-TEST.jar
|
LIB|${jetty.home}/lib/http2/http2-common-9.3.jar
|
||||||
LIB|${jetty.home}/lib/http2/http2-hpack-TEST.jar
|
LIB|${jetty.home}/lib/http2/http2-hpack-9.3.jar
|
||||||
LIB|${jetty.home}/lib/http2/http2-server-TEST.jar
|
LIB|${jetty.home}/lib/http2/http2-server-9.3.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
# (this is the property we actually set in jetty.base)
|
# (this is the property we actually set in jetty.base)
|
||||||
PROP|jetty.http.port=9090
|
PROP|jetty.http.port=9090
|
||||||
|
PROP|jetty.ssl.port=8443
|
||||||
PROP|java.version=1.7.0_60
|
PROP|java.version=1.7.0_60
|
||||||
PROP|jetty.sslContext.keyStorePath=etc/keystore
|
PROP|jetty.sslContext.keyStorePath=etc/keystore
|
||||||
PROP|jetty.sslContext.keyStorePassword=friendly
|
PROP|jetty.sslContext.keyStorePassword=friendly
|
||||||
PROP|jetty.sslContext.keyManagerPassword=icecream
|
PROP|jetty.sslContext.keyManagerPassword=icecream
|
||||||
PROP|jetty.sslContext.trustStorePath=etc/keystore
|
PROP|jetty.sslContext.trustStorePath=etc/keystore
|
||||||
PROP|jetty.sslContext.trustStorePassword=sundae
|
PROP|jetty.sslContext.trustStorePassword=sundae
|
||||||
# (these are the ones set by default from jetty.home modules)
|
|
||||||
PROP|jetty.alpn.debug=false
|
|
||||||
# PROP|jetty.httpConfig.securePort=8443
|
|
||||||
# PROP|jetty.ssl.port=8443
|
|
||||||
# PROP|jetty.ssl.idleTimeout=30000
|
|
||||||
# PROP|jetty.http.idleTimeout=30000
|
|
||||||
# PROP|jetty.httpConfig.delayDispatchUntilContent=false
|
|
||||||
# PROP|jetty.server.dumpAfterStart=false
|
|
||||||
# PROP|jetty.server.dumpBeforeStop=false
|
|
||||||
# PROP|jetty.httpConfig.outputBufferSize=32768
|
|
||||||
# PROP|jetty.httpConfig.requestHeaderSize=8192
|
|
||||||
# PROP|jetty.httpConfig.responseHeaderSize=8192
|
|
||||||
# PROP|jetty.httpConfig.sendDateHeader=false
|
|
||||||
# PROP|jetty.httpConfig.sendServerVersion=true
|
|
||||||
# PROP|jetty.threadPool.maxThreads=200
|
|
||||||
# PROP|jetty.threadPool.minThreads=10
|
|
||||||
# PROP|jetty.threadPool.idleTimeout=60000
|
|
||||||
|
|
||||||
# The Downloads
|
# The Downloads
|
||||||
DOWNLOAD|maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
DOWNLOAD|maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||||
DOWNLOAD|http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore|etc/keystore
|
DOWNLOAD|http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/test/config/etc/keystore?id=master|etc/keystore
|
||||||
|
|
||||||
# The Bootlib
|
# The Bootlib
|
||||||
BOOTLIB|-Xbootclasspath/p:lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
BOOTLIB|-Xbootclasspath/p:lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||||
|
|
|
@ -5,13 +5,13 @@ XML|${jetty.home}/etc/jetty-http.xml
|
||||||
XML|${jetty.home}/etc/jetty-jmx.xml
|
XML|${jetty.home}/etc/jetty-jmx.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jmx-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jmx-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/resources
|
LIB|${jetty.base}/resources
|
||||||
LIB|${maven-test-resources}/extra-jetty-dirs/logging/lib/logging/logback.jar
|
LIB|${maven-test-resources}/extra-jetty-dirs/logging/lib/logging/logback.jar
|
||||||
|
|
|
@ -4,13 +4,13 @@ XML|${jetty.home}/etc/jetty-http.xml
|
||||||
XML|${jetty.home}/etc/jetty-jmx.xml
|
XML|${jetty.home}/etc/jetty-jmx.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jmx-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jmx-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
|
|
|
@ -5,28 +5,28 @@ XML|${jetty.home}/etc/jetty-plus.xml
|
||||||
XML|${jetty.home}/etc/jetty-annotations.xml
|
XML|${jetty.home}/etc/jetty-annotations.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-annotations-TEST.jar
|
LIB|${jetty.home}/lib/jetty-annotations-9.3.jar
|
||||||
LIB|${jetty.home}/lib/annotations/asm-5.0.1.jar
|
LIB|${jetty.home}/lib/annotations/asm-5.0.1.jar
|
||||||
LIB|${jetty.home}/lib/annotations/asm-commons-5.0.1.jar
|
LIB|${jetty.home}/lib/annotations/asm-commons-5.0.1.jar
|
||||||
LIB|${jetty.home}/lib/annotations/javax.annotation-api-1.2.jar
|
LIB|${jetty.home}/lib/annotations/javax.annotation-api-1.2.jar
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-jndi-TEST.jar
|
LIB|${jetty.home}/lib/jetty-jndi-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
LIB|${jetty.home}/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar
|
||||||
LIB|${jetty.home}/lib/jndi/javax.transaction-api-1.2.jar
|
LIB|${jetty.home}/lib/jndi/javax.transaction-api-1.2.jar
|
||||||
LIB|${jetty.home}/lib/jetty-plus-TEST.jar
|
LIB|${jetty.home}/lib/jetty-plus-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-security-TEST.jar
|
LIB|${jetty.home}/lib/jetty-security-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-servlet-TEST.jar
|
LIB|${jetty.home}/lib/jetty-servlet-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-webapp-TEST.jar
|
LIB|${jetty.home}/lib/jetty-webapp-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.home}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-TEST.jar
|
LIB|${jetty.home}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.3.jar
|
||||||
LIB|${jetty.home}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
LIB|${jetty.home}/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar
|
||||||
LIB|${jetty.home}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar
|
LIB|${jetty.home}/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.20.M0.jar
|
||||||
LIB|${jetty.home}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar
|
LIB|${jetty.home}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.20.M0.jar
|
||||||
|
|
||||||
# The Properties we expect (order is irrelevant)
|
# The Properties we expect (order is irrelevant)
|
||||||
# (these are the properties we actually set in the configuration)
|
# (these are the properties we actually set in the configuration)
|
||||||
|
|
|
@ -3,12 +3,12 @@ XML|${jetty.home}/etc/jetty.xml
|
||||||
XML|${jetty.home}/etc/jetty-http.xml
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
|
|
||||||
# The LIBs we expect (order is irrelevant)
|
# The LIBs we expect (order is irrelevant)
|
||||||
LIB|${jetty.home}/lib/jetty-http-TEST.jar
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-io-TEST.jar
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
LIB|${jetty.home}/lib/jetty-server-TEST.jar
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-util-TEST.jar
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
LIB|${jetty.base}/lib/logging/slf4j-api.jar
|
LIB|${jetty.base}/lib/logging/slf4j-api.jar
|
||||||
LIB|${jetty.base}/lib/logging/jul-to-slf4j.jar
|
LIB|${jetty.base}/lib/logging/jul-to-slf4j.jar
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
#
|
||||||
|
# Jetty HTTP Connector
|
||||||
|
#
|
||||||
|
|
||||||
|
[version]
|
||||||
|
9.3
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
server
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-http.xml
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
### HTTP Connector Configuration
|
||||||
|
|
||||||
|
## Connector host/address to bind to
|
||||||
|
# jetty.http.host=0.0.0.0
|
||||||
|
|
||||||
|
## Connector port to listen on
|
||||||
|
# jetty.http.port=80
|
||||||
|
|
||||||
|
## Connector idle timeout in milliseconds
|
||||||
|
# jetty.http.idleTimeout=30000
|
||||||
|
|
||||||
|
## Connector socket linger time in seconds (-1 to disable)
|
||||||
|
# jetty.http.soLingerTime=-1
|
||||||
|
|
||||||
|
## Number of acceptors (-1 picks default based on number of cores)
|
||||||
|
# jetty.http.acceptors=-1
|
||||||
|
|
||||||
|
## Number of selectors (-1 picks default based on number of cores)
|
||||||
|
# jetty.http.selectors=-1
|
||||||
|
|
||||||
|
## ServerSocketChannel backlog (0 picks platform default)
|
||||||
|
# jetty.http.acceptorQueueSize=0
|
||||||
|
|
||||||
|
## Thread priority delta to give to acceptor threads
|
||||||
|
# jetty.http.acceptorPriorityDelta=0
|
|
@ -0,0 +1,10 @@
|
||||||
|
#
|
||||||
|
# Fake Jetty HTTP/3 Connector
|
||||||
|
#
|
||||||
|
|
||||||
|
[version]
|
||||||
|
10.0
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
server
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
--module=server
|
||||||
|
--module=http
|
||||||
|
--module=http3
|
||||||
|
|
||||||
|
jetty.http.port=9090
|
|
@ -0,0 +1,16 @@
|
||||||
|
# The XMLs we expect (order is important)
|
||||||
|
XML|${jetty.home}/etc/jetty.xml
|
||||||
|
XML|${jetty.home}/etc/jetty-http.xml
|
||||||
|
|
||||||
|
# The LIBs we expect (order is irrelevant)
|
||||||
|
LIB|${jetty.home}/lib/jetty-http-9.3.jar
|
||||||
|
LIB|${jetty.home}/lib/jetty-io-9.3.jar
|
||||||
|
LIB|${jetty.home}/lib/jetty-schemas-3.1.jar
|
||||||
|
LIB|${jetty.home}/lib/jetty-server-9.3.jar
|
||||||
|
LIB|${jetty.home}/lib/jetty-util-9.3.jar
|
||||||
|
LIB|${jetty.home}/lib/jetty-xml-9.3.jar
|
||||||
|
LIB|${jetty.home}/lib/servlet-api-3.1.jar
|
||||||
|
|
||||||
|
# The Properties we expect (order is irrelevant)
|
||||||
|
# (this is the property we actually set in jetty.base)
|
||||||
|
PROP|jetty.http.port=9090
|
|
@ -0,0 +1,39 @@
|
||||||
|
#
|
||||||
|
# Jetty HTTP Connector
|
||||||
|
#
|
||||||
|
|
||||||
|
[version]
|
||||||
|
9.3
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
server
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-http.xml
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
### HTTP Connector Configuration
|
||||||
|
|
||||||
|
## Connector host/address to bind to
|
||||||
|
# jetty.http.host=0.0.0.0
|
||||||
|
|
||||||
|
## Connector port to listen on
|
||||||
|
# jetty.http.port=80
|
||||||
|
|
||||||
|
## Connector idle timeout in milliseconds
|
||||||
|
# jetty.http.idleTimeout=30000
|
||||||
|
|
||||||
|
## Connector socket linger time in seconds (-1 to disable)
|
||||||
|
# jetty.http.soLingerTime=-1
|
||||||
|
|
||||||
|
## Number of acceptors (-1 picks default based on number of cores)
|
||||||
|
# jetty.http.acceptors=-1
|
||||||
|
|
||||||
|
## Number of selectors (-1 picks default based on number of cores)
|
||||||
|
# jetty.http.selectors=-1
|
||||||
|
|
||||||
|
## ServerSocketChannel backlog (0 picks platform default)
|
||||||
|
# jetty.http.acceptorQueueSize=0
|
||||||
|
|
||||||
|
## Thread priority delta to give to acceptor threads
|
||||||
|
# jetty.http.acceptorPriorityDelta=0
|
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# Fake Jetty HTTP/3 Connector
|
||||||
|
#
|
||||||
|
|
||||||
|
[version]
|
||||||
|
10.0
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
server
|
||||||
|
|
||||||
|
[xml]
|
||||||
|
etc/jetty-http3.xml
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
--module=server
|
||||||
|
--module=http
|
||||||
|
|
||||||
|
jetty.http.port=9090
|
Loading…
Reference in New Issue