The start.ini *is* your command line. It is identical to what you can do after the start.jar on your command line.
As for configuring the monitoredDir, you'll see that it uses <Property> to obtain a property reference. Simply specify a new value for that property. Option #1: using command line as jetty property. $ java -jar start.jar jetty.monitoredDirName=/var/app/webapps Option #2: using command line as java system property (discouraged form) $ java -Djetty.monitoredDirName=/var/app/webapps -jar start.jar Option #3: using start.ini $ grep monitoredDir start.ini jetty.monitoredDirName=/var/app/webapps $ java -jar start.jar With Jetty 9.1.x you can double check your configuration with ... $ java -jar start.jar --list-config -- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, Feb 13, 2014 at 5:34 AM, Andrea Cappelli <[email protected]>wrote: > 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 > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
