annotate src/main/webapp/WEB-INF/web.xml.template @ 59:e2f86ef9b871

make annotation uri in store configurable. fix npe with no tags.
author casties
date Tue, 20 Nov 2012 19:16:43 +0100
parents 6556943c4fb9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
2 <web-app id="WebApp_ID" version="2.4"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
3 xmlns="http://java.sun.com/xml/ns/j2ee"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
6 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
7 <display-name>RESTfulJavaWebServices-Restlet</display-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
8 <!-- Application classname -->
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
9 <context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
10 <param-name>org.restlet.application</param-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
11 <param-value>de.mpiwg.itgroup.annotationManager.restlet.RestServer</param-value>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
12 </context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
13 <context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
14 <param-name>de.mpiwg.itgroup.annotationManager.jaas.configFilePath</param-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
15 <param-value>file:///etc/jaasAuth.conf</param-value>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
16 </context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
17 <context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
18 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUser</param-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
19 <param-value>USERNAME</param-value>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
20 </context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
21 <context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
22 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUserPassword</param-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
23 <param-value>PASSWORD</param-value>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
24 </context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
25 <context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
26 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreConnectionURL</param-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
27 <param-value>jdbc:virtuoso://virtuoso.mpiwg-berlin.mpg.de:1111</param-value>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
28 </context-param>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
29 <!-- Restletadapter -->
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
30 <servlet>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
31 <servlet-name>RestletServlet</servlet-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
32 <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
33 </servlet>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
34 <!-- Catchallrequests -->
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
35 <servlet-mapping>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
36 <servlet-name>RestletServlet</servlet-name>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
37 <url-pattern>/annotator/*</url-pattern>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
38 </servlet-mapping>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
39 </web-app>