1
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <web-app id="WebApp_ID" version="2.4"
|
|
3 xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
|
6 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
|
7 <display-name>RESTfulJavaWebServices-Restlet</display-name>
|
|
8 <!-- Application classname -->
|
|
9 <context-param>
|
|
10 <param-name>org.restlet.application</param-name>
|
|
11 <param-value>de.mpiwg.itgroup.annotationManager.restlet.RestServer</param-value>
|
|
12 </context-param>
|
|
13 <context-param>
|
|
14 <param-name>de.mpiwg.itgroup.annotationManager.jaas.configFilePath</param-name>
|
|
15 <param-value>file:///etc/jaasAuth.conf</param-value>
|
|
16 </context-param>
|
|
17 <context-param>
|
|
18 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUser</param-name>
|
|
19 <param-value>USERNAME</param-value>
|
|
20 </context-param>
|
|
21 <context-param>
|
|
22 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUserPassword</param-name>
|
|
23 <param-value>PASSWORD</param-value>
|
|
24 </context-param>
|
|
25 <context-param>
|
|
26 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreConnectionURL</param-name>
|
|
27 <param-value>jdbc:virtuoso://virtuoso.mpiwg-berlin.mpg.de:1111</param-value>
|
|
28 </context-param>
|
|
29 <!-- Restletadapter -->
|
|
30 <servlet>
|
|
31 <servlet-name>RestletServlet</servlet-name>
|
|
32 <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
|
|
33 </servlet>
|
|
34 <!-- Catchallrequests -->
|
|
35 <servlet-mapping>
|
|
36 <servlet-name>RestletServlet</servlet-name>
|
|
37 <url-pattern>/annotator/*</url-pattern>
|
|
38 </servlet-mapping>
|
|
39 </web-app> |