Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Sometimes stopping Jetty fails

We are using Jetty Runner which is now deprecated, so we are evaluating our options before we decide whether or not to upgrade to the current version of Jetty or use another container.


On Mon, Jan 27, 2020 at 10:36 PM Olivier Lamy <olamy@xxxxxxxxxxx> wrote:
Hi 
Can you please try with a more recent version of Jetty?
You are using a version (9.1.4.v20140401) which is not supported anymore.

cheers
Olivier

On Tue, Jan 28, 2020 at 6:07 AM John Ruggentaler <john.ruggentaler@xxxxxxxxx> wrote:

Sometimes my shutdown script fails even if Jetty is running and I have to kill -9 <pid> to stop it. Anyone experience the issue? I am running jetty-runner-9.1.4.v20140401.jar.


My script (bin/shutdown) runs the following command:

$JAVA_HOME/bin/java -DSTOP.PORT=6061 -DSTOP.KEY=killit -jar jetty/start.jar --stop



> ./bin/shutdown

java.net.ConnectException: Connection refused (Connection refused)

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:589)

at java.net.Socket.connect(Socket.java:538)

at java.net.Socket.<init>(Socket.java:434)

at java.net.Socket.<init>(Socket.java:244)

at org.eclipse.jetty.start.Main.stop(Main.java:1086)

at org.eclipse.jetty.start.Main.processCommandLine(Main.java:178)

at org.eclipse.jetty.start.Main.main(Main.java:97)


Thanks in advance.

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-dev


--
Olivier
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-dev

Back to the top