464419 Removed xinetd support

This commit is contained in:
Greg Wilkins 2015-04-30 16:44:23 +10:00
parent a593d8eef6
commit fb958833de
5 changed files with 0 additions and 89 deletions

View File

@ -1,54 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<!-- =============================================================== -->
<!-- Configuration for starting up Jetty using inetd/xinetd -->
<!-- This feature requires at least Java 5 -->
<!-- -->
<!-- Making it a mixin for convenience, but note that if used -->
<!-- with jetty.xml, Jetty will use multiple connectors -->
<!-- =============================================================== -->
<!-- Sample xinetd configuration (restart xinetd after adding the configuration file)
service jetty
{
disable = no
id = jetty
type = UNLISTED
wait = yes
socket_type = stream
# change this
user = username
group = groupname
port = 2001
# sample script for running jetty as a service
# replace $JETTY_HOME with /path/to/jetty_home/
server = $JETTY_HOME/bin/jetty-xinetd.sh
}
-->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Call name="addConnector">
<Arg>
<!-- Inherited channel (from inetd/xinetd) -->
<New class="org.eclipse.jetty.server.nio.InheritedChannelConnector">
<!-- Optional. Fallback in case System.inheritedChannel() does not give a ServerSocketChannel
<Set name="port"><Property name="jetty.service.port" default="8082"/></Set>
-->
<!-- sane defaults -->
<Set name="idleTimeout"><Property name="jetty.xinetd.idleTimeout" default="300000"/></Set>
<Set name="Acceptors"><Property name="jetty.xinetd.acceptors" default="2"/></Set>
<Set name="statsOn"><Property name="jetty.xinetd.statsOn" default="false"/></Set>
</New>
</Arg>
</Call>
</Configure>

View File

@ -1,17 +0,0 @@
#
# Xinetd module
#
[depend]
server
[xml]
etc/jetty-xinetd.xml
[ini-template]
## Xinetd Configuration
## See ${jetty.home}/etc/jetty-xinetd.xml for example service entry
jetty.xinetd.idleTimeout=300000
jetty.xinetd.acceptors=2
jetty.xinetd.statsOn=false

View File

@ -134,7 +134,6 @@ public class ModulesTest
expected.add("stats");
expected.add("webapp");
expected.add("websocket");
expected.add("xinetd");
ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames);
}

View File

@ -1,17 +0,0 @@
#
# Xinetd module
#
[depend]
server
[xml]
etc/jetty-xinetd.xml
[ini-template]
## Xinetd Configuration
## See ${jetty.home}/etc/jetty-xinetd.xml for example service entry
jetty.xinetd.idleTimeout=300000
jetty.xinetd.acceptors=2
jetty.xinetd.statsOn=false