Hi,

during our maven-based build, we have some integration tests, which
runs our own server and binds it on low ports (e.g. 443 and 80).
We start our server during those integration tests, by using a
Maven-Plugin which invokes the "API" of the server (I guess in a
similar
way how the Jetty container is started by its maven-plugin).

On Windows this all is fine.
On Linux you are not able to bind those lower ports, but there is a
work-around (authbind):
http://en.wikipedia.org/wiki/Authbind

However, on Mac there is no authbind port (and it does not compile) :-(

After some research, I found the jsvc from the Commons Daemon projects.

I am now wondering if folks have integrated the jsvc in a similar case?
(E.g. binding servers to low ports during integration/unit testing,
without being root)

Ideally we do not have to change the "Start / Stop" API of our server
in order to that.

Any pointers are appreciated!

Greetings,
Matthias


-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to