Bubble Foundry


Posts tagged with: Jetty

Setting the run mode and context of Jetty launched via sbt
For my own future reference. In WEB-INF/jetty-web.xml place the following: <?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure class="org.mortbay.jetty.webapp.WebAppContext"> <Call class="java.lang.System" name="setProperty"> <Arg>run.mode</Arg> <Arg>production</Arg> </Call> <Set name="contextPath">/sso</Set> </Configure> Read more – ‘Setting the run mode and context of Jetty launched via sbt’.
Nginx Sitting in Front of Apache
On my Slicehost virtual server (signup with my referral link) I originally set up Apache as my web server, with a bunch of virtual hosts to manage serve different domains. This has worked well but I am now working on projects (namely Lift apps running in Jetty) where Nginx is a much better solution. So, I […] Read more – ‘Nginx Sitting in Front of Apache’.