Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] NumberFormatException: null on basic stop

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

 

 


Back to the top