Author: michiel
Date: 2010-07-12 17:00:21 +0200 (Mon, 12 Jul 2010)
New Revision: 42872

Modified:
   mmweb/trunk/src/main/webapp/WEB-INF/web.xml
Log:
jetty configuration

Modified: mmweb/trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- mmweb/trunk/src/main/webapp/WEB-INF/web.xml 2010-07-12 15:00:12 UTC (rev 
42871)
+++ mmweb/trunk/src/main/webapp/WEB-INF/web.xml 2010-07-12 15:00:21 UTC (rev 
42872)
@@ -144,11 +144,33 @@
   </error-page>
 
 <!-- don't know what this means -->
-<!-- 
+<!--
   <env-entry>
     <env-entry-name>mmbase-builders/mmbasecontexts/readall</env-entry-name>
     <env-entry-type>java.lang.String</env-entry-type>
     <env-entry-value>true</env-entry-value>
   </env-entry>
  -->
+  <resource-ref>
+    <description>
+      Datasource for the MMBase Database. This datasource must be
+      configured in the application server.
+      This entry is not needed in tomcat, but jetty needs it.
+    </description>
+    <res-ref-name>jdbc/MMBase</res-ref-name>
+    <res-type>javax.sql.DataSource</res-type>
+    <res-auth>Container</res-auth>
+  </resource-ref>
+
+  <!--  email app is installed, so mail could be sent -->
+  <resource-ref>
+    <description>
+      Mail resource for MMBase.
+      Don't forget the configure it with your app-server.
+    </description>
+    <res-ref-name>mail/Session</res-ref-name>
+    <res-type>javax.mail.Session</res-type>
+    <res-auth>Container</res-auth>
+  </resource-ref>
+
 </web-app>

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to