Update of /var/cvs/documentation/administrators
In directory james.mmbase.org:/tmp/cvs-serv30164
Modified Files:
configuration.xml
Log Message:
See also: http://cvs.mmbase.org/viewcvs/documentation/administrators
Index: configuration.xml
===================================================================
RCS file: /var/cvs/documentation/administrators/configuration.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- configuration.xml 14 Jul 2008 15:16:46 -0000 1.30
+++ configuration.xml 26 Aug 2008 11:06:42 -0000 1.31
@@ -7,7 +7,7 @@
<date>2006-06-24</date>
- <edition>$Id: configuration.xml,v 1.30 2008/07/14 15:16:46 michiel Exp
$</edition>
+ <edition>$Id: configuration.xml,v 1.31 2008/08/26 11:06:42 michiel Exp
$</edition>
<authorgroup>
<author>
@@ -249,7 +249,7 @@
<itemizedlist>
<listitem>
<para>
- As mentioned, the location of any configuration file can be as a
application context resource.
+ As mentioned, the location of any configuration file can be
overriden with a application context resource.
</para>
</listitem>
<listitem>
@@ -432,38 +432,6 @@
<!--
<taglib-location>/WEB-INF/mmcommunity-taglib.tld</taglib-location>
-->
</taglib>
- <!-- Taglibs not directly related to MMBase -->
- <!--
- The 'Open Symphony' cache tags can e.g. cache your page partially. It
uses expire-times or can
- be invalidated programatically. See http://www.opensymphony.com
-
- In Tomcat 5 (and using a recent oscache!), this section can be left away
(it will detect the jar by itself)
- -->
- <taglib>
- <taglib-uri>oscache</taglib-uri>
- <taglib-location>/WEB-INF/lib/oscache.jar</taglib-location>
- </taglib>
-
- <resource-ref>
- <description>
- Email module mail resource (JMSendMail). This resource must be
- configured in the application server. See also
config/modules/sendmail.xml.
- </description>
- <res-ref-name>mail/MMBase</res-ref-name>
- <res-type>javax.mail.Session</res-type>
- <res-auth>Container</res-auth>
- </resource-ref>
-
- <resource-ref>
- <description>
- Datasource for the MMBase Database. This datasource must be
- configured in the application server. See also
config/modules/jdbc.xml
- </description>
- <res-ref-name>jdbc/MMBase</res-ref-name>
- <res-type>javax.sql.DataSource</res-type>
- <res-auth>Container</res-auth>
- </resource-ref>
-
</web-app>
</programlisting>
@@ -657,31 +625,21 @@
</example></para>
<para>It is also possible to use the 'data-sources' of the application
- server. The jdbc.xml then looks like this: <example
- id="datasource_jdbc.xml">
- <title>An example jdbc.xml, using data-source</title>
-
+ server. You have to set to properties on mmbaseroot.xml then:
+ <example id="datasource">
+ <title>Datasource properterties</title>
<programlisting id="datasourcejdbc.xml">
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module PUBLIC "-//MMBase/ DTD module config 1.0//EN"
"http://www.mmbase.org/dtd/module_1_0.dtd">
-<module maintainer="mmbase.org" version="0">
- <status>active</status>
- <classfile>org.mmbase.module.database.Naming</classfile>
- <properties>
- <property name="context">java:comp/env</property>
- <property name="datasource">jdbc/MMBase</property>
- </properties>
-</module>
-
+ <![CDATA[<
+ <property name="datasource-context">java:comp/env</property >
+ <property name="datasource">jdbc/MMBase</property>
+ ]]>
</programlisting>
</example> So using this the configuration of the database is totally
- left to the application server. <note>
- <para>If you plan to use a application server datasource with the new
- storage layer, you can also configure this in mmbaseroot.xml. In that
- case, you do not need the JDBC module, and can set it to inactive. See
- the <ulink url="../backenddevelopers/storage/index.html">storage
+ left to the application server, and jdbc.xml remains unused.
+ </para>
+ <para>
+ See also the <ulink
url="../backenddevelopers/storage/index.html">storage
documentation</ulink> for details.</para>
- </note></para>
</section>
<section id="logging">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs