How do I stop Jetty

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I stop Jetty

tommy408
How do I stop Jetty.  I can't find stop.jar anywhere.
Reply | Threaded
Open this post in threaded view
|

Re: How do I stop Jetty

David Yu-3
Starting:
java -DSTOP.PORT=8085-DSTOP.KEY=stopme  -jar start.jar

Stopping:
java -DSTOP.PORT=8085 -DSTOP.KEY=stopme  -jar start.jar --stop

Cheers


On Wed, Apr 15, 2009 at 2:57 PM, tommy408 <[hidden email]> wrote:

How do I stop Jetty.  I can't find stop.jar anywhere.
--
View this message in context: http://www.nabble.com/How-do-I-stop-Jetty-tp23053587p23053587.html
Sent from the Jetty Discuss mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: How do I stop Jetty

rsanjay
This post has NOT been accepted by the mailing list yet.
This post was updated on .
when i ran jetty which is embedded with in apache solr. All i did was

java -jar start.jar

and it ran i put the process in the bg by doing ctrl-z and bg

i am trying to stop it by

java -DSTOP.PORT=8983 -DSTOP.KEY=stop_jetty -jar start.jar --stop

and i am not really sure if the the stop key above is correct . i get no error and go int oa new prompt. the app is still listening at that port. I am not sure if i want to kill the process. Any tip/suggestion ? where to look for the stop key. i did not provide any keys at the start.
Reply | Threaded
Open this post in threaded view
|

Re: How do I stop Jetty

kevinc
This post has NOT been accepted by the mailing list yet.
Under older releases of Jetty a random key would be generated and displayed on the output (you might like to check the jetty logs for it). If you are running the latest release then you could try "eclipse" as this seems to be the new default if one is not provided.

ref: https://bugs.eclipse.org/bugs/show_bug.cgi?id=402844
sbp
Reply | Threaded
Open this post in threaded view
|

Re: How do I stop Jetty

sbp
This post has NOT been accepted by the mailing list yet.
I tried the above, I don't have a start.jar in my system.