Works on Tomcat and Jetty with couchdb