|
From: <tre...@us...> - 2007-08-20 23:12:43
|
Revision: 249
http://ogoglio.svn.sourceforge.net/ogoglio/?rev=249&view=rev
Author: trevorolio
Date: 2007-08-20 16:12:20 -0700 (Mon, 20 Aug 2007)
Log Message:
-----------
Tweaked the example server.xml to have the mail session resource.
Modified Paths:
--------------
spaces/trunk/docs/server.xml
Modified: spaces/trunk/docs/server.xml
===================================================================
--- spaces/trunk/docs/server.xml 2007-08-20 23:09:52 UTC (rev 248)
+++ spaces/trunk/docs/server.xml 2007-08-20 23:12:20 UTC (rev 249)
@@ -20,6 +20,12 @@
<!-- <Resource name="jdbc/space" scope="Shareable" type="javax.sql.DataSource" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" url="jdbc:hsqldb:/tmp/ogogliodb" driverClassName="org.hsqldb.jdbcDriver" username="sa" password="" maxIdle="5" maxActive="50" /> -->
<Resource name="jdbc/space" scope="Shareable" type="javax.sql.DataSource" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" url="jdbc:mysql:/og" driverClassName="com.mysql.jdbc.Driver" username="oguser" password="sssh" maxIdle="5" maxActive="50" />
+ <!-- THIS DEFINES THE EMAIL SERVER USED BY THE OGOGLIO SERVLETS, SET TO YOUR SMTP HOST -->
+ <Resource name="mail/Session" auth="Container" type="javax.mail.Session"/>
+ <ResourceParams name="mail/Session">
+ <parameter> <name>mail.smtp.host</name> <value>localhost</value> </parameter>
+ </ResourceParams>
+
<!-- THE FOLLOWING VARIABLES ARE READ IN com.ogoglio.site.AbstractResourceServet.init -->
<!-- CHANGE THIS TO POINT TO THE URL OF THE SERVER OR DIRECTORY WHERE YOU WANT THE MODELS, TEXTURES, SCRIPTS, and XML FILES TO BE STORED -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|