Use correct order of elements.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 10:32:18 +0000 (12:32 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 10:32:18 +0000 (12:32 +0200)
src/main/webapp/WEB-INF/web.xml.template

index 3082c34..0a62e06 100644 (file)
@@ -5,15 +5,22 @@
        <description>Database for all demoscene music</description>
 
        <context-param>
-               <param-name>storage.streamed</param-name>
                <description>The directory where the streaming files (MP3, Vorbis, etc.) are stored.</description>
+               <param-name>storage.streamed</param-name>
                <param-value>/var/lib/demoscene-music/streamed</param-value>
        </context-param>
 
        <context-param>
-               <param-name>storage.original</param-name>
                <description>The directory where the original files (binaries, SID files, MOD files, etc.) are stored.</description>
+               <param-name>storage.original</param-name>
                <param-value>/var/lib/demoscene-music/original</param-value>
        </context-param>
 
+       <resource-ref>
+               <description>DB Connection</description>
+               <res-ref-name>jdbc/demosceneMusic</res-ref-name>
+               <res-type>javax.sql.DataSource</res-type>
+               <res-auth>Container</res-auth>
+       </resource-ref>
+
 </web-app>