On Wednesday, November 14, 2012 10:36:38 PM UTC+8, David Powell wrote:
Are you using lein repl?
lein has two processes, one for the repl, and one for the application. In
my experience, on Windows, ctrl-C -ing a lein repl is supposed to terminate
the the application, but usually
Hi, all.
I am playing with the `ring` library in `repl`.
After using `run-jetty` to start a server,
I typed `ctrl+c` to send the SIGINT signal,
this ended the `run-jetty` function, but it didn't kill the server:
user= (require '[ring.adapter.jetty :refer [run-jetty]])
user= (require
On Tue, Nov 13, 2012 at 8:33 PM, Satoru Logic satorulo...@gmail.com wrote:
BindException Address already in use sun.nio.ch.Net.bind (Net.java:-2)
user= 2012-11-14 11:44:21.370:WARN:oejuc.AbstractLifeCycle:FAILED
SelectChannelConnector@0.0.0.0:3000: java.net.BindException: Address already
in
On Wednesday, November 14, 2012 12:38:55 PM UTC+8, Sean Corfield wrote:
On Tue, Nov 13, 2012 at 8:33 PM, Satoru Logic
sator...@gmail.comjavascript:
wrote:
BindException Address already in use sun.nio.ch.Net.bind (Net.java:-2)
user= 2012-11-14
I've found a related question on StackOverflow.
http://stackoverflow.com/questions/2706044/how-do-i-stop-jetty-server-in-clojure#2706239
What I have to do is invoking `stop` on the `server` object returned by
`run-jetty`.
On Wednesday, November 14, 2012 12:38:55 PM UTC+8, Sean Corfield