Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-02 Thread Mikhail Malchevskiy
No, it's essentially Emacs + Evil mode + many, many more layers in a 
great package. Really worth trying, IMHO

понедельник, 1 июня 2015 г., 19:11:44 UTC+3 пользователь Colin Yates 
написал:

 I recall seeing that from a while ago - weren’t they planning on rewriting 
 emacs effectively?

 On 1 Jun 2015, at 15:55, Mikhail Malchevskiy malc...@gmail.com 
 javascript: wrote:

 https://github.com/syl20bnr/spacemacs =)

 понедельник, 1 июня 2015 г., 17:05:35 UTC+3 пользователь Colin Yates 
 написал:

 Hi Karsten, 

 Unfortunately our clients are primarily windows based and the software is 
 commercial. tmux - that takes me back! I have never forgotten the joy, or 
 found an equivalent on KDE, Gnome, Windows or OSX of a well configured 
 xMonad, I remember reaching for tmux as a substitute when running over ssh 
 … Sigh - those were the days.  (all we need now is someone to point out the 
 obvious superiority of emacs over vim for this to ignite into a flame war… 
 oh wait…) 

  On 1 Jun 2015, at 15:00, Karsten Schmidt in...@toxi.co.uk wrote: 
  
  For smaller deployments, so far I've always had a smooth ride using 
  nginx as reverse proxy and running the uberjar inside tmux. No other 
  special sauce needed, plus you get the benefit of using nginx to serve 
  your static assets (if there're not on a CDN already)... 
  
  On 1 June 2015 at 14:40, Colin Yates colin...@gmail.com wrote: 
  Thanks Daniel, I am trying to reduce the required installed software 
 on the 
  client and they can’t access a maven repo from which to download 
  unfortunately. Hence I am looking for a ‘self contained executable’ 
  solution. 
  
  You are yet-another-exclaimer of Boot; enough people have sung its 
 praises 
  to make it one of the next things I will need to investigate ;). 
  
  
  On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.s...@gmail.com 
  wrote: 
  
  Great conversation starter. 
  
  Many of us had to take down that route. Eventually, we settle on a 
  deployment solution that works for us, and we can move on with 
 dev'ing. I'm 
  sure all the answers are worthy. Please allow me to share my solution 
 to 
  this problem. It may not work for everyone, but it works for me. 
  
  It can be summarized as follow: Runit supervisor + Boot. 
  
  More information here: 
  
  https://github.com/danielsz/boot-runit 
  
  Note: this is the solution I came up with after experimenting with the 
  strategies outlined in Ryan's blog post. 
  http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ 
  
  Now I do 'boot dev' locally and 'boot prod' on the server (with 
 auxiliary 
  'boot dev-run' and 'boot prod-run'). 
  
  Runit is a Unix classic (as in an outstanding example of a particular 
  style), and Boot is quickly becoming a Clojure classic. 
  
  More examples here: 
  
 https://github.com/danielsz/system/blob/master/examples/boot/build.boot 
  
  
  On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote: 
  
  Hi, 
  
  I am venturing into new territory using http-kit, as I usually use a 
  'managed' web server container like tomcat and have a few questions 
 about 
  packing and running a JAR file: 
  
  - are there are convenient service wrappers for windows and/or Linux 
  - any best practice around managing class path for things like 
  logback.xml 
  
  I have a jar created from lein uberjar and java -jar the.jar works, 
 but 
  this seems a long way away from automated deployment :). 
  
  Any advice welcome - thanks! 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com 
  Note that posts from new members are moderated - please be patient 
 with your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google 
 Groups 
  Clojure group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to clojure+u...@googlegroups.com. 
  For more options, visit https://groups.google.com/d/optout. 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com 
  Note that posts from new members are moderated - please be patient 
 with your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google 
 Groups 
  Clojure group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to clojure+u...@googlegroups.com. 
  For more options, visit https://groups.google.com/d/optout. 
  
  
  
  -- 
  Karsten Schmidt 
  

Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Colin Yates
I recall seeing that from a while ago - weren’t they planning on rewriting 
emacs effectively?
 On 1 Jun 2015, at 15:55, Mikhail Malchevskiy malch...@gmail.com wrote:
 
 https://github.com/syl20bnr/spacemacs =)
 
 понедельник, 1 июня 2015 г., 17:05:35 UTC+3 пользователь Colin Yates написал:
 Hi Karsten, 
 
 Unfortunately our clients are primarily windows based and the software is 
 commercial. tmux - that takes me back! I have never forgotten the joy, or 
 found an equivalent on KDE, Gnome, Windows or OSX of a well configured 
 xMonad, I remember reaching for tmux as a substitute when running over ssh … 
 Sigh - those were the days.  (all we need now is someone to point out the 
 obvious superiority of emacs over vim for this to ignite into a flame war… oh 
 wait…) 
 
  On 1 Jun 2015, at 15:00, Karsten Schmidt in...@toxi.co.uk javascript: 
  wrote: 
  
  For smaller deployments, so far I've always had a smooth ride using 
  nginx as reverse proxy and running the uberjar inside tmux. No other 
  special sauce needed, plus you get the benefit of using nginx to serve 
  your static assets (if there're not on a CDN already)... 
  
  On 1 June 2015 at 14:40, Colin Yates colin...@gmail.com javascript: 
  wrote: 
  Thanks Daniel, I am trying to reduce the required installed software on 
  the 
  client and they can’t access a maven repo from which to download 
  unfortunately. Hence I am looking for a ‘self contained executable’ 
  solution. 
  
  You are yet-another-exclaimer of Boot; enough people have sung its praises 
  to make it one of the next things I will need to investigate ;). 
  
  
  On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.s...@gmail.com 
  javascript: 
  wrote: 
  
  Great conversation starter. 
  
  Many of us had to take down that route. Eventually, we settle on a 
  deployment solution that works for us, and we can move on with dev'ing. 
  I'm 
  sure all the answers are worthy. Please allow me to share my solution to 
  this problem. It may not work for everyone, but it works for me. 
  
  It can be summarized as follow: Runit supervisor + Boot. 
  
  More information here: 
  
  https://github.com/danielsz/boot-runit 
  https://github.com/danielsz/boot-runit 
  
  Note: this is the solution I came up with after experimenting with the 
  strategies outlined in Ryan's blog post. 
  http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ 
  http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ 
  
  Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary 
  'boot dev-run' and 'boot prod-run'). 
  
  Runit is a Unix classic (as in an outstanding example of a particular 
  style), and Boot is quickly becoming a Clojure classic. 
  
  More examples here: 
  https://github.com/danielsz/system/blob/master/examples/boot/build.boot 
  https://github.com/danielsz/system/blob/master/examples/boot/build.boot 
  
  
  On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote: 
  
  Hi, 
  
  I am venturing into new territory using http-kit, as I usually use a 
  'managed' web server container like tomcat and have a few questions about 
  packing and running a JAR file: 
  
  - are there are convenient service wrappers for windows and/or Linux 
  - any best practice around managing class path for things like 
  logback.xml 
  
  I have a jar created from lein uberjar and java -jar the.jar works, but 
  this seems a long way away from automated deployment :). 
  
  Any advice welcome - thanks! 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com javascript: 
  Note that posts from new members are moderated - please be patient with 
  your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com javascript: 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google Groups 
  Clojure group. 
  To unsubscribe from this group and stop receiving emails from it, send an 
  email to clojure+u...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/d/optout 
  https://groups.google.com/d/optout. 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com javascript: 
  Note that posts from new members are moderated - please be patient with 
  your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com javascript: 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google Groups 
  Clojure group. 
  To unsubscribe from this group and stop 

Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Mikhail Malchevskiy
https://github.com/syl20bnr/spacemacs =)

понедельник, 1 июня 2015 г., 17:05:35 UTC+3 пользователь Colin Yates 
написал:

 Hi Karsten, 

 Unfortunately our clients are primarily windows based and the software is 
 commercial. tmux - that takes me back! I have never forgotten the joy, or 
 found an equivalent on KDE, Gnome, Windows or OSX of a well configured 
 xMonad, I remember reaching for tmux as a substitute when running over ssh 
 … Sigh - those were the days.  (all we need now is someone to point out the 
 obvious superiority of emacs over vim for this to ignite into a flame war… 
 oh wait…) 

  On 1 Jun 2015, at 15:00, Karsten Schmidt in...@toxi.co.uk javascript: 
 wrote: 
  
  For smaller deployments, so far I've always had a smooth ride using 
  nginx as reverse proxy and running the uberjar inside tmux. No other 
  special sauce needed, plus you get the benefit of using nginx to serve 
  your static assets (if there're not on a CDN already)... 
  
  On 1 June 2015 at 14:40, Colin Yates colin...@gmail.com javascript: 
 wrote: 
  Thanks Daniel, I am trying to reduce the required installed software on 
 the 
  client and they can’t access a maven repo from which to download 
  unfortunately. Hence I am looking for a ‘self contained executable’ 
  solution. 
  
  You are yet-another-exclaimer of Boot; enough people have sung its 
 praises 
  to make it one of the next things I will need to investigate ;). 
  
  
  On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.s...@gmail.com 
 javascript: 
  wrote: 
  
  Great conversation starter. 
  
  Many of us had to take down that route. Eventually, we settle on a 
  deployment solution that works for us, and we can move on with dev'ing. 
 I'm 
  sure all the answers are worthy. Please allow me to share my solution 
 to 
  this problem. It may not work for everyone, but it works for me. 
  
  It can be summarized as follow: Runit supervisor + Boot. 
  
  More information here: 
  
  https://github.com/danielsz/boot-runit 
  
  Note: this is the solution I came up with after experimenting with the 
  strategies outlined in Ryan's blog post. 
  http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ 
  
  Now I do 'boot dev' locally and 'boot prod' on the server (with 
 auxiliary 
  'boot dev-run' and 'boot prod-run'). 
  
  Runit is a Unix classic (as in an outstanding example of a particular 
  style), and Boot is quickly becoming a Clojure classic. 
  
  More examples here: 
  https://github.com/danielsz/system/blob/master/examples/boot/build.boot 
  
  
  On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote: 
  
  Hi, 
  
  I am venturing into new territory using http-kit, as I usually use a 
  'managed' web server container like tomcat and have a few questions 
 about 
  packing and running a JAR file: 
  
  - are there are convenient service wrappers for windows and/or Linux 
  - any best practice around managing class path for things like 
  logback.xml 
  
  I have a jar created from lein uberjar and java -jar the.jar works, 
 but 
  this seems a long way away from automated deployment :). 
  
  Any advice welcome - thanks! 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com 
 javascript: 
  Note that posts from new members are moderated - please be patient with 
 your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com javascript: 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google 
 Groups 
  Clojure group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to clojure+u...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/d/optout. 
  
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com 
 javascript: 
  Note that posts from new members are moderated - please be patient with 
 your 
  first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com javascript: 
  For more options, visit this group at 
  http://groups.google.com/group/clojure?hl=en 
  --- 
  You received this message because you are subscribed to the Google 
 Groups 
  Clojure group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to clojure+u...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/d/optout. 
  
  
  
  -- 
  Karsten Schmidt 
  http://postspectacular.com | http://thi.ng | http://toxiclibs.org 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.com 
 javascript: 
  Note that posts from new members 

Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Daniel Szmulewicz
Great conversation starter. 

Many of us had to take down that route. Eventually, we settle on a 
deployment solution that works for us, and we can move on with dev'ing. I'm 
sure all the answers are worthy. Please allow me to share my solution to 
this problem. It may not work for everyone, but it works for me. 

It can be summarized as follow: Runit supervisor + Boot. 

More information here: 

https://github.com/danielsz/boot-runit

Note: this is the solution I came up with after experimenting with the 
strategies outlined in Ryan's blog post. 
http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/

Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary 
'boot dev-run' and 'boot prod-run').

Runit is a Unix classic (as in an outstanding example of a particular 
style), and Boot is quickly becoming a Clojure classic.

More examples 
here: https://github.com/danielsz/system/blob/master/examples/boot/build.boot


On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but 
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Karsten Schmidt
For smaller deployments, so far I've always had a smooth ride using
nginx as reverse proxy and running the uberjar inside tmux. No other
special sauce needed, plus you get the benefit of using nginx to serve
your static assets (if there're not on a CDN already)...

On 1 June 2015 at 14:40, Colin Yates colin.ya...@gmail.com wrote:
 Thanks Daniel, I am trying to reduce the required installed software on the
 client and they can’t access a maven repo from which to download
 unfortunately. Hence I am looking for a ‘self contained executable’
 solution.

 You are yet-another-exclaimer of Boot; enough people have sung its praises
 to make it one of the next things I will need to investigate ;).


 On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.szmulew...@gmail.com
 wrote:

 Great conversation starter.

 Many of us had to take down that route. Eventually, we settle on a
 deployment solution that works for us, and we can move on with dev'ing. I'm
 sure all the answers are worthy. Please allow me to share my solution to
 this problem. It may not work for everyone, but it works for me.

 It can be summarized as follow: Runit supervisor + Boot.

 More information here:

 https://github.com/danielsz/boot-runit

 Note: this is the solution I came up with after experimenting with the
 strategies outlined in Ryan's blog post.
 http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/

 Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary
 'boot dev-run' and 'boot prod-run').

 Runit is a Unix classic (as in an outstanding example of a particular
 style), and Boot is quickly becoming a Clojure classic.

 More examples here:
 https://github.com/danielsz/system/blob/master/examples/boot/build.boot


 On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like
 logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!


 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Karsten Schmidt
http://postspectacular.com | http://thi.ng | http://toxiclibs.org

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Colin Yates
Hi Karsten,

Unfortunately our clients are primarily windows based and the software is 
commercial. tmux - that takes me back! I have never forgotten the joy, or found 
an equivalent on KDE, Gnome, Windows or OSX of a well configured xMonad, I 
remember reaching for tmux as a substitute when running over ssh … Sigh - those 
were the days.  (all we need now is someone to point out the obvious 
superiority of emacs over vim for this to ignite into a flame war… oh wait…)

 On 1 Jun 2015, at 15:00, Karsten Schmidt i...@toxi.co.uk wrote:
 
 For smaller deployments, so far I've always had a smooth ride using
 nginx as reverse proxy and running the uberjar inside tmux. No other
 special sauce needed, plus you get the benefit of using nginx to serve
 your static assets (if there're not on a CDN already)...
 
 On 1 June 2015 at 14:40, Colin Yates colin.ya...@gmail.com wrote:
 Thanks Daniel, I am trying to reduce the required installed software on the
 client and they can’t access a maven repo from which to download
 unfortunately. Hence I am looking for a ‘self contained executable’
 solution.
 
 You are yet-another-exclaimer of Boot; enough people have sung its praises
 to make it one of the next things I will need to investigate ;).
 
 
 On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.szmulew...@gmail.com
 wrote:
 
 Great conversation starter.
 
 Many of us had to take down that route. Eventually, we settle on a
 deployment solution that works for us, and we can move on with dev'ing. I'm
 sure all the answers are worthy. Please allow me to share my solution to
 this problem. It may not work for everyone, but it works for me.
 
 It can be summarized as follow: Runit supervisor + Boot.
 
 More information here:
 
 https://github.com/danielsz/boot-runit
 
 Note: this is the solution I came up with after experimenting with the
 strategies outlined in Ryan's blog post.
 http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/
 
 Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary
 'boot dev-run' and 'boot prod-run').
 
 Runit is a Unix classic (as in an outstanding example of a particular
 style), and Boot is quickly becoming a Clojure classic.
 
 More examples here:
 https://github.com/danielsz/system/blob/master/examples/boot/build.boot
 
 
 On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote:
 
 Hi,
 
 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:
 
 - are there are convenient service wrappers for windows and/or Linux
 - any best practice around managing class path for things like
 logback.xml
 
 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).
 
 Any advice welcome - thanks!
 
 
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 
 
 -- 
 Karsten Schmidt
 http://postspectacular.com | http://thi.ng | http://toxiclibs.org
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to 

Re: Advice when running java -jar rather than a managed server like tomcat?

2015-06-01 Thread Colin Yates
Thanks Daniel, I am trying to reduce the required installed software on the 
client and they can’t access a maven repo from which to download unfortunately. 
Hence I am looking for a ‘self contained executable’ solution.

You are yet-another-exclaimer of Boot; enough people have sung its praises to 
make it one of the next things I will need to investigate ;).

 On 1 Jun 2015, at 14:30, Daniel Szmulewicz daniel.szmulew...@gmail.com 
 wrote:
 
 Great conversation starter. 
 
 Many of us had to take down that route. Eventually, we settle on a deployment 
 solution that works for us, and we can move on with dev'ing. I'm sure all the 
 answers are worthy. Please allow me to share my solution to this problem. It 
 may not work for everyone, but it works for me. 
 
 It can be summarized as follow: Runit supervisor + Boot. 
 
 More information here: 
 
 https://github.com/danielsz/boot-runit
 
 Note: this is the solution I came up with after experimenting with the 
 strategies outlined in Ryan's blog post. 
 http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/
 
 Now I do 'boot dev' locally and 'boot prod' on the server (with auxiliary 
 'boot dev-run' and 'boot prod-run').
 
 Runit is a Unix classic (as in an outstanding example of a particular 
 style), and Boot is quickly becoming a Clojure classic.
 
 More examples here: 
 https://github.com/danielsz/system/blob/master/examples/boot/build.boot
 
 
 On Tuesday, May 26, 2015 at 2:38:30 PM UTC+3, Colin Yates wrote:
 Hi,
 
 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:
 
  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml
 
 I have a jar created from lein uberjar and java -jar the.jar works, but this 
 seems a long way away from automated deployment :).
 
 Any advice welcome - thanks!
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en 
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 mailto:clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-29 Thread Luc Prefontaine
I like it when someone says 'do not do this' without some supporting 
cost/benefit rationale.

My next question is why not ?

I'll add my own salt here:

- Daemonizing does not alter business logic, it can be kept separate using more 
than one entry point

- Supervisory functions are not as generic as some may think. You may have a 
need to support extra stuff in daemon mode that may/may not be offered by your 
platform supervisor

- Portability might be an issue which is easier to deal with within the JVM 
than having to cope with different platform specific supervisors

As to the why not, I am eager to see them.

In general your mileage will vary depending on your needs.
This is the real answer to many of the 'do not do this' so named 'rules'.

Luc P.

Sent from my iPhone

 On May 29, 2015, at 08:02, piastkra...@gmail.com wrote:
 
 Stuart, about the JSVC, I am curious if you have an opinion about the 
 argument made in the comments of this blog post: 
 
 Great post, but in reality you should never write app that daemonize them 
 self. Always use supervisors that your system provides.
 
 http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/
 
 
 
 
 
 On Wednesday, May 27, 2015 at 3:53:24 AM UTC-4, Stuart Sierra wrote:
 JSVC (Apache Commons daemon for Unix) is excellent for this sort of thing. 
 There's a Windows Services version too.
 –S
 
 
 On Tuesday, May 26, 2015 at 12:38:30 PM UTC+1, Colin Yates wrote:
 Hi,
 
 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:
 
  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml
 
 I have a jar created from lein uberjar and java -jar the.jar works, but 
 this seems a long way away from automated deployment :).
 
 Any advice welcome - thanks!
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-29 Thread piastkrakow
Stuart, about the JSVC, I am curious if you have an opinion about the 
argument made in the comments of this blog post: 

Great post, but in reality you should never write app that daemonize them 
self. Always use supervisors that your system provides.

http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/





On Wednesday, May 27, 2015 at 3:53:24 AM UTC-4, Stuart Sierra wrote:

 JSVC (Apache Commons daemon for Unix) is excellent for this sort of thing. 
 There's a Windows Services version too.
 –S


 On Tuesday, May 26, 2015 at 12:38:30 PM UTC+1, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like 
 logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but 
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-27 Thread Stuart Sierra
JSVC (Apache Commons daemon for Unix) is excellent for this sort of thing. 
There's a Windows Services version too.
–S


On Tuesday, May 26, 2015 at 12:38:30 PM UTC+1, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but 
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-27 Thread Colin Yates
Thanks Stuart.
 On 27 May 2015, at 08:53, Stuart Sierra the.stuart.sie...@gmail.com wrote:
 
 JSVC (Apache Commons daemon for Unix) is excellent for this sort of thing. 
 There's a Windows Services version too.
 –S
 
 
 On Tuesday, May 26, 2015 at 12:38:30 PM UTC+1, Colin Yates wrote:
 Hi,
 
 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:
 
  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml
 
 I have a jar created from lein uberjar and java -jar the.jar works, but this 
 seems a long way away from automated deployment :).
 
 Any advice welcome - thanks!
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en 
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 mailto:clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread David Powell
I use procrun as a service wrapper on Windows.
https://commons.apache.org/proper/commons-daemon/procrun.html
It is configured by the command-line used to install it, and generally
works with little fuss.

I use InnoSetup to create a windows installer.
For the runtime class path, I just use something like, java -cp
conf;myuberjar.jar mypackage.main


On Tue, May 26, 2015 at 12:38 PM, Colin Yates colin.ya...@gmail.com wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Colin Yates
Hi,

I am venturing into new territory using http-kit, as I usually use a 
'managed' web server container like tomcat and have a few questions about 
packing and running a JAR file:

 - are there are convenient service wrappers for windows and/or Linux
 - any best practice around managing class path for things like logback.xml

I have a jar created from lein uberjar and java -jar the.jar works, but 
this seems a long way away from automated deployment :).

Any advice welcome - thanks!

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Colin Yates
Thanks for those links David.

On 26 May 2015 at 14:06, David Powell djpow...@djpowell.net wrote:
 I use procrun as a service wrapper on Windows.
 https://commons.apache.org/proper/commons-daemon/procrun.html
 It is configured by the command-line used to install it, and generally works
 with little fuss.

 I use InnoSetup to create a windows installer.
 For the runtime class path, I just use something like, java -cp
 conf;myuberjar.jar mypackage.main


 On Tue, May 26, 2015 at 12:38 PM, Colin Yates colin.ya...@gmail.com wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like
 logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Shantanu Kumar
I'm doing some of those things at work (http-kit, 
logback+slf4j+MDC+clojure.tools.logging, config via property files). My 
entry point (main) is a Java class that reads properties file, sets system 
properties to hoist logging config variables, then uses reflection to load 
other Java/Clojure initializers that may be referring to SLF4j in some 
fashion.

We're yet to settle on a way to run Java JAR as a system service, but we 
are looking at http://supervisord.org/ and https://mmonit.com/wiki/Monit/FAQ

Shantanu

On Tuesday, 26 May 2015 17:08:30 UTC+5:30, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but 
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Jozef Wagner
We were using http://wrapper.tanukisoftware.com/doc/english/download.jsp
for deploying uberjars as a service under linux (AWS), and were quite
satisfied with it.

On Tue, May 26, 2015 at 3:15 PM, Shantanu Kumar kumar.shant...@gmail.com
wrote:

 I'm doing some of those things at work (http-kit,
 logback+slf4j+MDC+clojure.tools.logging, config via property files). My
 entry point (main) is a Java class that reads properties file, sets system
 properties to hoist logging config variables, then uses reflection to load
 other Java/Clojure initializers that may be referring to SLF4j in some
 fashion.

 We're yet to settle on a way to run Java JAR as a system service, but we
 are looking at http://supervisord.org/ and
 https://mmonit.com/wiki/Monit/FAQ

 Shantanu

 On Tuesday, 26 May 2015 17:08:30 UTC+5:30, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like
 logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Colin Yates
Thanks all for your excellent tips - keep it coming :).
 On 26 May 2015, at 15:57, Henrik Lundahl henrik.lund...@gmail.com wrote:
 
 Hi
 
 For Logback you can set a system property (logback.configurationFile) that 
 points to the location of your logback.xml. See 
 http://logback.qos.ch/manual/configuration.html 
 http://logback.qos.ch/manual/configuration.html.
 
 
 BR
 
 --
 Henrik
 
 
 On Tue, May 26, 2015 at 1:38 PM, Colin Yates colin.ya...@gmail.com 
 mailto:colin.ya...@gmail.com wrote:
 Hi,
 
 I am venturing into new territory using http-kit, as I usually use a 
 'managed' web server container like tomcat and have a few questions about 
 packing and running a JAR file:
 
  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml
 
 I have a jar created from lein uberjar and java -jar the.jar works, but this 
 seems a long way away from automated deployment :).
 
 Any advice welcome - thanks!
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com 
 mailto:clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com 
 mailto:clojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en 
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 mailto:clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en 
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 mailto:clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Andrey Antukh
http://circus.readthedocs.org/en/0.11.1/

We are using it not only for deploy java, also: python and nodejs
applications. Is a generc process monitor in a userspace with good comand
line interface, with web interface, ... and works pretty well!

Andrey

On Tue, May 26, 2015 at 3:24 PM, Jozef Wagner jozef.wag...@gmail.com
wrote:

 We were using http://wrapper.tanukisoftware.com/doc/english/download.jsp
 for deploying uberjars as a service under linux (AWS), and were quite
 satisfied with it.

 On Tue, May 26, 2015 at 3:15 PM, Shantanu Kumar kumar.shant...@gmail.com
 wrote:

 I'm doing some of those things at work (http-kit,
 logback+slf4j+MDC+clojure.tools.logging, config via property files). My
 entry point (main) is a Java class that reads properties file, sets system
 properties to hoist logging config variables, then uses reflection to load
 other Java/Clojure initializers that may be referring to SLF4j in some
 fashion.

 We're yet to settle on a way to run Java JAR as a system service, but we
 are looking at http://supervisord.org/ and
 https://mmonit.com/wiki/Monit/FAQ

 Shantanu

 On Tuesday, 26 May 2015 17:08:30 UTC+5:30, Colin Yates wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like
 logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Andrey Antukh - Андрей Антух - n...@niwi.nz
http://www.niwi.nz
https://github.com/niwinz

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Advice when running java -jar rather than a managed server like tomcat?

2015-05-26 Thread Henrik Lundahl
Hi

For Logback you can set a system property (logback.configurationFile) that
points to the location of your logback.xml. See
http://logback.qos.ch/manual/configuration.html.


BR

--
Henrik


On Tue, May 26, 2015 at 1:38 PM, Colin Yates colin.ya...@gmail.com wrote:

 Hi,

 I am venturing into new territory using http-kit, as I usually use a
 'managed' web server container like tomcat and have a few questions about
 packing and running a JAR file:

  - are there are convenient service wrappers for windows and/or Linux
  - any best practice around managing class path for things like logback.xml

 I have a jar created from lein uberjar and java -jar the.jar works, but
 this seems a long way away from automated deployment :).

 Any advice welcome - thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.