Changes

Jump to navigation Jump to search
40 bytes removed ,  04:27, 17 December 2012
In order to deploy BaseX HTTP Services in a servlet container, you may download the WAR distribution of BaseX from the [http://basex.org/download download site]. The WAR file can then be deployed following the instructions of the corresponding servlet container ([http://docs.codehaus.org/display/JETTY/WebAppDeployer jetty], [http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html tomcat]).
 
==Servlet Container Configuration==
Configuring port, context path, etc. can be done by following the corresponding instructions of the used servlet container. This is needed if you want to replace the default URL path (e.g. http://localhost:8080/rest) with a custom one (e.g. http://localhost:8080/BaseX711/rest).
If run on a Jetty server one you may use a {{Code|jetty.xml}} file for detailed server configuration. EYou can e.g. one can enable Jetty log or enable SSL connectionsor Jetty logging. Place the {{Code|jetty.xml}} right next to the {{Code|web.xml}}. For detailed configuration refer to the [http://wiki.eclipse.org/Jetty/Reference/jetty.xml Jetty Documentation]. A sample [https://github.com/BaseXdb/basex-api/blob/master/src/main/webapp/WEB-INF/jetty.xml jetty.xml] is placed in the basex-api package.
==Database Access==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu