Seems that STOP.PORT and STOP.KEY are actually case sensitive.

you have 2 choices of use.

1) As System Property
> java -DSTOP.PORT=9079 -DSTOP.KEY=secret -jar C:\opt\jetty\start.jar --stop

2) As Jetty Property
> java -jar C:\opt\jetty\start.jar STOP.PORT=9079 STOP.KEY=secret --stop

Meanwhile ... https://bugs.eclipse.org/436388

--
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 Mon, Jun 2, 2014 at 9:02 AM, BRUNO MELLONI <[email protected]>
wrote:

>  I am new to Jetty so I’m sure that I am missing something obvious.  This
> is Jetty 9.2.0.
>
>
>
> Started Jetty with:
>
>
>
> C:\opt\myappbase>java -Dstop.port=9079 -Dstop.key=secret -jar
> C:\opt\jetty\start.jar
>
>
>
> This started Jetty fine and when I placed the sample ROOT folder in
> webapps it displayed fine.
>
>
>
> Then I tried to stop Jetty with this and got:
>
>
>
> C:\opt\myappbase>java -Dstop.port=9079 -Dstop.key=secret -jar
> C:\opt\jetty\start.jar --stop
>
> java.lang.NumberFormatException: null
>
>         at java.lang.Integer.parseInt(Unknown Source)
>
>         at java.lang.Integer.parseInt(Unknown Source)
>
>         at org.eclipse.jetty.start.Main.start(Main.java:660)
>
>         at org.eclipse.jetty.start.Main.main(Main.java:108)
>
>
>
> Usage: java -jar start.jar [options] [properties] [configs]
>
>        java -jar start.jar --help  # for more information
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to