You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ol...@apache.org on 2008/09/20 00:23:10 UTC
svn commit: r697268 - /continuum/site/src/site/fml/faqs.fml
Author: olamy
Date: Fri Sep 19 15:23:08 2008
New Revision: 697268
URL: http://svn.apache.org/viewvc?rev=697268&view=rev
Log:
update faq due to the change to jetty bundle
Modified:
continuum/site/src/site/fml/faqs.fml
Modified: continuum/site/src/site/fml/faqs.fml
URL: http://svn.apache.org/viewvc/continuum/site/src/site/fml/faqs.fml?rev=697268&r1=697267&r2=697268&view=diff
==============================================================================
--- continuum/site/src/site/fml/faqs.fml (original)
+++ continuum/site/src/site/fml/faqs.fml Fri Sep 19 15:23:08 2008
@@ -62,40 +62,28 @@
In the JNDI configuration, defined in your container for Continuum webapp and in $CONTINUUM_HOME/conf/plexus.xml for standalone version, you can use this parameters:
</p>
<source>
- <resource>
- <name>mail/Session</name>
- <type>javax.mail.Session</type>
- <properties>
- <property>
- <name>mail.smtp.host</name>
- <value>smtp.gmail.com</value>
- </property>
- <property>
- <name>mail.smtp.port</name>
- <value>465</value>
- </property>
- <property>
- <name>mail.smtp.auth</name>
- <value>true</value>
- </property>
- <property>
- <name>mail.smtp.user</name>
- <value>username@gmail.com</value>
- </property>
- <property>
- <name>password</name>
- <value>password</value>
- </property>
- <property>
- <name>mail.smtp.starttls.enable</name>
- <value>true</value>
- </property>
- <property>
- <name>mail.smtp.socketFactory.class</name>
- <value>javax.net.ssl.SSLSocketFactory</value>
- </property>
- </properties>
- </resource>
+ <![CDATA[
+ <New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>mail/Session</Arg>
+ <Arg>
+ <New class="org.mortbay.naming.factories.MailSessionReference">
+ <Set name="user"></Set>
+ <Set name="password"></Set>
+ <Set name="properties">
+ <New class="java.util.Properties">
+ <Put name="mail.smtp.host">smtp.gmail.com</Put>
+ <Put name="mail.smtp.port">465</Put>
+ <Put name="mail.smtp.auth">true</Put>
+ <Put name="mail.smtp.user">username@gmail.com</Put>
+ <Put name="password">password</Put>
+ <Put name="mail.smtp.starttls.enable">true</Put>
+ <Put name="mail.smtp.socketFactory.class">javax.net.ssl.SSLSocketFactory</Put>
+ </New>
+ </Set>
+ </New>
+ </Arg>
+ </New>
+ ]]>
</source>
</answer>
</faq>
@@ -158,24 +146,15 @@
</p>
<p>
If you have another application already running on port 8080, you will get an exception when you start Continuum.
- If you want to change the port that Continuum uses you should edit the file <code>conf/plexus.xml</code>.
+ If you want to change the port that Continuum uses you should edit the file <code>conf/jetty.xml</code>.
Find the following section in that file:
</p>
<source>
-<application>
+<![CDATA[
...
- <component>
- <role>org.codehaus.plexus.contextualizer.Contextualizer</role>
- <role-hint>jettyConfiguration</role-hint>
- <implementation>org.codehaus.plexus.contextualizer.DefaultContextualizer</implementation>
- <configuration>
- <contextValues>
- <jetty.port>8080</jetty.port>
- </contextValues>
- </configuration>
- </component>
- ...
-</application>
+ <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
+ ...
+]]>
</source>
<p>
Change the appropriate <code><jetty.port></code> element to the port number you want for jetty.