Simon,
Have you tried the bin/jetty.sh script that comes with Jetty
distributions? It contains the standard start|stop|restart functions.
Joshua
On Oct 2, 2009, at 1:11 PM, Simon Wistow wrote:
> I know that the Solr FAQ says
>
> "Users should decide for themselves which Servlet Container they
> consider the easiest/best for their use cases based on their
> needs/experience. For high traffic scenarios, investing time for
> tuning
> the servlet container can often make a big difference."
>
> but is there anywhere that lists some of the variosu advantages and
> disadvantages of, say, Tomcat over Jetty for someone who isn't current
> with the Java ecosystem?
>
> Also, I'm currently using Jetty but I've had to do a horrific hack to
> make it work under init.d in that I start it up in the background and
> then tail the output waiting for the line that says the
> SocketConnector
> has been started
>
> while [ '' = "$(tail -1 $LOG | grep 'Started SocketConnector')" ] ;
> do
> sleep 1
> done
>
> There's *got* to be a better way of doing this, right?
>
> Thanks,
>
> Simon
>
>