commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: Daemon
Date Sat, 20 Nov 2010 23:13:02 GMT
Hi Umit,

2010/11/21 Umut Aydın <>

> Hello,
> I'm planning to use Apache Commons Daemon to get my server application
> run as a service. But I couldnt find any example / implementation.
> My server application based-on Apache Mina btw. Anyone could share an
> example with me?
Take a look here:

You'll see that we have a few bootstrappers and one is for Jsvc and another
for Procrun both of which are from commons daemon. This is deceased code in
our attic because we found that using these two different frameworks, one
for windows and the other for *nix dirtied up our code.

Instead we used the Java Wrapper and that just worked the same across the
board for us. Take a look at the above code if you want to still pursue the
commons daemon path. Otherwise you can look at how we use the wrapper in our
current code or better yet follow the simple examples for Java Wrapper.
ApacheDS get's a little complicated here.

Alex Karasulu
My Blog ::
Apache Directory Server ::
Apache MINA ::
To set up a meeting with me:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message