I’m trying out Warbler to make a self contained .war that starts Jetty
run with java -jar. So far so good, but my problem is that the default
configuration for Jetty doesn’t work so well for me. I’d like to
the server. I can’t find any way of doing that, though. Some things can
controlled with Java properties (like the port -Djetty.port=9999), but
example the number of threads that Jetty uses seems to require having a
reference to the server object, or making it load a jetty.xml when
up. Neither seems possible with the way Warbler sets things up.
Have anyone else successfully managed to configure the embedded Jetty
server when creating a self contained .war with Warbler?