view src/main/webapp/WEB-INF/web.xml.template @ 1:6556943c4fb9

include neo4j and restlet
author casties
date Wed, 27 Jun 2012 17:52:02 +0200
parents
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>RESTfulJavaWebServices-Restlet</display-name>
    <!-- Application classname -->
    <context-param>
        <param-name>org.restlet.application</param-name>
        <param-value>de.mpiwg.itgroup.annotationManager.restlet.RestServer</param-value>
    </context-param>
    <context-param>
        <param-name>de.mpiwg.itgroup.annotationManager.jaas.configFilePath</param-name>
        <param-value>file:///etc/jaasAuth.conf</param-value>
    </context-param>
    <context-param>
        <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUser</param-name>
        <param-value>USERNAME</param-value>
    </context-param>
    <context-param>
        <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUserPassword</param-name>
        <param-value>PASSWORD</param-value>
    </context-param>
    <context-param>
        <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreConnectionURL</param-name>
        <param-value>jdbc:virtuoso://virtuoso.mpiwg-berlin.mpg.de:1111</param-value>
    </context-param>
    <!-- Restletadapter -->
    <servlet>
        <servlet-name>RestletServlet</servlet-name>
        <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
    </servlet>
    <!-- Catchallrequests -->
    <servlet-mapping>
        <servlet-name>RestletServlet</servlet-name>
        <url-pattern>/annotator/*</url-pattern>
    </servlet-mapping>
</web-app>