From: Wolfgang M. <wol...@ex...> - 2009-12-21 19:01:16
|
Hi, as promised, I changed the way in which the minimal, "standalone" server is configured. Instead of hardcoding the configuration in Java, we now use a special Jetty configuration file in tools/jetty/etc/standalone.xml, which creates a plain, minimal web app with just REST, XMLRPC, WebDAV and Atom, as well as support for XQueryURLRewrite (see config in tools/jetty/etc/standalone/WEB-INF/controller-config.xml). This setup is easier to customize. The new configuration works as before: all URLs starting with /db will be passed to the REST servlet, while /xmlrpc, /webdav and /atom are handled by the corresponding servlets. Nothing has changed in this respect. However, all other URLs will be served from the db collection /db/www by default (see controller-config.xml). Calling bin/server.sh will now launch this new configuration instead of the old Java class StandaloneServer. The same applies to all unit tests which rely on a running server. I hope this will fix some of the issues we had with the test suite recently. I'm currently checking the test suite on various machines. Please report if it doesn't work for you. TODO: update the documentation. Wolfgang |