You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2007/02/15 18:48:35 UTC

svn commit: r508034 - in /incubator/roller/trunk/apps/planet/web/WEB-INF: sun-web.xml web.xml

Author: agilliland
Date: Thu Feb 15 09:48:34 2007
New Revision: 508034

URL: http://svn.apache.org/viewvc?view=rev&rev=508034
Log:
web.xml needs a resource-ref for the db datasource.  also adding a sun-web.xml file for use on Sun containers.


Added:
    incubator/roller/trunk/apps/planet/web/WEB-INF/sun-web.xml
Modified:
    incubator/roller/trunk/apps/planet/web/WEB-INF/web.xml

Added: incubator/roller/trunk/apps/planet/web/WEB-INF/sun-web.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/apps/planet/web/WEB-INF/sun-web.xml?view=auto&rev=508034
==============================================================================
--- incubator/roller/trunk/apps/planet/web/WEB-INF/sun-web.xml (added)
+++ incubator/roller/trunk/apps/planet/web/WEB-INF/sun-web.xml Thu Feb 15 09:48:34 2007
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE sun-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN' 'http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd'>
+
+<sun-web-app>
+    
+    <session-config>
+        <session-manager>
+        </session-manager>
+    </session-config>
+
+    <resource-ref>
+        <res-ref-name>jdbc/rollerdb</res-ref-name>
+        <jndi-name>jdbc/rollerdb</jndi-name>
+    </resource-ref>
+
+</sun-web-app>

Modified: incubator/roller/trunk/apps/planet/web/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/apps/planet/web/WEB-INF/web.xml?view=diff&rev=508034&r1=508033&r2=508034
==============================================================================
--- incubator/roller/trunk/apps/planet/web/WEB-INF/web.xml (original)
+++ incubator/roller/trunk/apps/planet/web/WEB-INF/web.xml Thu Feb 15 09:48:34 2007
@@ -85,6 +85,12 @@
         <listener-class>org.apache.roller.planet.ui.core.PlanetContext</listener-class>
     </listener>
     
+    <resource-ref>
+            <res-ref-name>jdbc/rollerdb</res-ref-name>
+            <res-type>javax.sql.DataSource</res-type>
+            <res-auth>Container</res-auth>
+    </resource-ref>
+    
     <welcome-file-list>
         <welcome-file>index.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>