web/META-INF/context.xml

changeset 16
4e0998805276
parent 13
f4608ad6c947
child 19
1a0ac419f714
--- a/web/META-INF/context.xml	Tue Dec 26 19:45:31 2017 +0100
+++ b/web/META-INF/context.xml	Sat Dec 30 20:35:23 2017 +0100
@@ -1,2 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<Context path="/lightpit" />
+<Context path="/lightpit">
+    <ResourceLink name="jdbc/lightpit/app"
+                  global="jdbc/lightpit/app"
+                    type="javax.sql.DataSource" />
+    
+    <!-- Remove this link after installation and configuration -->
+    <ResourceLink name="jdbc/lightpit/dbo"
+                  global="jdbc/lightpit/dbo"
+                    type="javax.sql.DataSource" />
+</Context>

mercurial