Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty Configuration

Hi,
I have 3 questions about Jetty configuration

1) I start jetty with --lib=/path/to/jar, it's possibile to put this directive inside start.ini? It's possibile to specify it multiple time (to add multiple jar)?

2) I put the following in jetty-deploy.xml
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd";>
<Configure id="Server" class="org.eclipse.jetty.server.Server">

  <Call name="addBean">
    <Arg>
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
        <Set name="contexts">
          <Ref refid="Contexts" />
        </Set>
        <Call id="webappprovider" name="addAppProvider">
          <Arg>
            <New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
<Set name="monitoredDirName"><Property name="jetty.monitoredDirName" default="apps-enabled" /></Set> <Set name="defaultsDescriptor"><Property name="jetty.home" default="." />/etc/webdefault.xml</Set>
              <Set name="scanInterval">1</Set>
              <Set name="extractWars">true</Set>
            </New>
          </Arg>
        </Call>
      </New>
    </Arg>
  </Call>
</Configure>

to configure the monitoredDir. There is a way to put such configuration in start.ini?

3) For logging I specify --start-log-file=/path/to/logfile --module=logging jetty.logs=/path/to/logfile at jetty startup; it's correct? What configuration do use about jetty logging?

Have a nice day

--
Andrea Cappelli



Back to the top