Sha256: 64a106051d409b06cfb8a1247879eab4112df06be9b4aafe35064e210db10048

Contents?: true

Size: 1.89 KB

Versions: 8

Compression:

Stored size: 1.89 KB

Contents

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.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.mortbay.jetty.Server">
    <Call name="addConnector">
      <Arg>
          <!-- Inherited channel (from inetd/xinetd) -->
          <New class="org.mortbay.jetty.nio.InheritedChannelConnector">


            <!-- Optional. Fallback in case System.inheritedChannel() does not give a ServerSocketChannel 
            <Set name="port"><SystemProperty name="jetty.service.port" default="8082"/></Set>
            -->

            <!-- sane defaults -->
            <Set name="maxIdleTime">300000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="statsOn">false</Set>
      	    <Set name="lowResourcesConnections">20000</Set>
	        <Set name="lowResourcesMaxIdleTime">5000</Set>
          </New>
      </Arg>
    </Call>
</Configure>

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
miso-java-0.1.5 jetty/etc/jetty-xinetd.xml
miso-java-0.1.5 jetty/modules/jetty/src/main/config/etc/jetty-xinetd.xml
miso-java-0.1.4 jetty/etc/jetty-xinetd.xml
miso-java-0.1.4 jetty/modules/jetty/src/main/config/etc/jetty-xinetd.xml
miso-java-0.1.3 jetty/etc/jetty-xinetd.xml
miso-java-0.1.3 jetty/modules/jetty/src/main/config/etc/jetty-xinetd.xml
miso-java-0.1.2 jetty/etc/jetty-xinetd.xml
miso-java-0.1.2 jetty/modules/jetty/src/main/config/etc/jetty-xinetd.xml