You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/12/24 10:27:05 UTC

svn commit: r729284 - in /ofbiz/trunk/framework/base/config: jetty-containers.xml ofbiz-containers.xml rmi-containers.xml

Author: jleroux
Date: Wed Dec 24 01:27:05 2008
New Revision: 729284

URL: http://svn.apache.org/viewvc?rev=729284&view=rev
Log:
Added a comment found in https://sourceforge.net/forum/message.php?msg_id=5879468
Gmail would needs IMAPs for inbounds mails to work (SSL)

Modified:
    ofbiz/trunk/framework/base/config/jetty-containers.xml
    ofbiz/trunk/framework/base/config/ofbiz-containers.xml
    ofbiz/trunk/framework/base/config/rmi-containers.xml

Modified: ofbiz/trunk/framework/base/config/jetty-containers.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/jetty-containers.xml?rev=729284&r1=729283&r2=729284&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/config/jetty-containers.xml (original)
+++ ofbiz/trunk/framework/base/config/jetty-containers.xml Wed Dec 24 01:27:05 2008
@@ -54,8 +54,10 @@
 
     <!-- JavaMail Listener Container - Triggers MCA Rules -->
     <!-- if delete-mail is set to true, will delete messages after fetching them. otherwise, will try to mark them as seen 
-         mail.store.protocol supports both imap and pop3, but pop3 will not be able to mark messages as seen, so you would need to delete them -->
-    <!-- To use the mail listerner just uncomment and go...
+         mail.store.protocol supports both imap and pop3, but pop3 will not be able to mark messages as seen, so you would need to delete them 
+         Sounds like mail.store.protocol value should be "imaps" for GMail inbound emails to work. 
+         Not tested found here https://sourceforge.net/forum/message.php?msg_id=5879468 -->
+    <!-- To use the mail listerner just uncomment and go...        
     <container name="javamail-container" class="org.ofbiz.service.mail.JavaMailContainer">
         <property name="delegator-name" value="default"/>
         <property name="dispatcher-name" value="JavaMailDispatcher"/>
@@ -64,7 +66,7 @@
         <property name="delete-mail" value="false"/>
         <property name="maxSize" value="100000"/>
         <property name="default-listener" value="store-listener">
-            <property name="mail.store.protocol" value="imap"/>
+        <property name="mail.store.protocol" value="imap"/> 
             <property name="mail.host" value="[host]"/>
             <property name="mail.user" value="[user]"/>
             <property name="mail.pass" value="[pass]"/>

Modified: ofbiz/trunk/framework/base/config/ofbiz-containers.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/ofbiz-containers.xml?rev=729284&r1=729283&r2=729284&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/config/ofbiz-containers.xml (original)
+++ ofbiz/trunk/framework/base/config/ofbiz-containers.xml Wed Dec 24 01:27:05 2008
@@ -34,14 +34,14 @@
 
     <!-- load the naming (JNDI) server -->
     <container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer">
-        <property name="port" value="1099"/>
+        <property name="port" value="10099"/>
     </container>
     
     <!-- RMI Service Dispatcher -->
     <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer">
         <property name="bound-name" value="RMIDispatcher"/>
         <property name="bound-host" value="127.0.0.1"/>
-        <property name="bound-port" value="1099"/>
+        <property name="bound-port" value="10099"/>
         <property name="delegator-name" value="default"/>
         <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
         <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
@@ -54,7 +54,9 @@
 
     <!-- JavaMail Listener Container - Triggers MCA Rules -->
     <!-- if delete-mail is set to true, will delete messages after fetching them. otherwise, will try to mark them as seen 
-         mail.store.protocol supports both imap and pop3, but pop3 will not be able to mark messages as seen, so you would need to delete them -->
+        mail.store.protocol supports both imap and pop3, but pop3 will not be able to mark messages as seen, so you would need to delete them 
+        Sounds like mail.store.protocol value should be "imaps" for GMail inbound emails to work. 
+        Not tested found here https://sourceforge.net/forum/message.php?msg_id=5879468 -->
     <!-- To use the mail listerner just uncomment and go...
     <container name="javamail-container" class="org.ofbiz.service.mail.JavaMailContainer">
         <property name="delegator-name" value="default"/>
@@ -187,7 +189,7 @@
             <property name="maxThreads" value="100"/>
             <property name="minSpareThreads" value="4"/>
             <property name="noCompressionUserAgents" value=""/>
-            <property name="port" value="8080"/>
+            <property name="port" value="18080"/>
             <property name="restrictedUserAgents" value=""/>
             <property name="server" value=""/>
             <property name="socketBuffer" value="9000"/>
@@ -225,7 +227,7 @@
             <property name="maxThreads" value="100"/>
             <property name="minSpareThreads" value="4"/>
             <property name="noCompressionUserAgents" value=""/>
-            <property name="port" value="8443"/>
+            <property name="port" value="18443"/>
             <property name="restrictedUserAgents" value=""/>
             <property name="server" value=""/>
             <property name="socketBuffer" value="9000"/>
@@ -248,10 +250,4 @@
         </property>
     </container>
    
-    <!-- load BeanShell remote telnet server -->
-    <container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer">
-        <!-- the port below and port-1 will be opened by beanshell -->
-        <property name="telnet-port" value="9990"/>
-        <property name="app-name" value="OFBiz"/>
-    </container>
 </ofbiz-containers>

Modified: ofbiz/trunk/framework/base/config/rmi-containers.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/rmi-containers.xml?rev=729284&r1=729283&r2=729284&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/config/rmi-containers.xml (original)
+++ ofbiz/trunk/framework/base/config/rmi-containers.xml Wed Dec 24 01:27:05 2008
@@ -46,23 +46,32 @@
         <property name="ssl-client-auth" value="true"/>
     </container>
 
-    <!-- JavaMail Listener Container -->
-    <container name="javamail-container" class="org.ofbiz.service.mail.JavaMailContainer">
+    <!-- JavaMail Listener Container - Triggers MCA Rules -->
+    <!-- if delete-mail is set to true, will delete messages after fetching them. otherwise, will try to mark them as seen 
+        mail.store.protocol supports both imap and pop3, but pop3 will not be able to mark messages as seen, so you would need to delete them 
+        Sounds like mail.store.protocol value should be "imaps" for GMail inbound emails to work. 
+        Not tested found here https://sourceforge.net/forum/message.php?msg_id=5879468 -->
+    <!-- To use the mail listerner just uncomment and go...
+        <container name="javamail-container" class="org.ofbiz.service.mail.JavaMailContainer">
         <property name="delegator-name" value="default"/>
         <property name="dispatcher-name" value="JavaMailDispatcher"/>
         <property name="run-as-user" value="system"/>
         <property name="poll-delay" value="300000"/>
+        <property name="delete-mail" value="false"/>
+        <property name="maxSize" value="100000"/>
         <property name="default-listener" value="store-listener">
-            <property name="mail.store.protocol" value="IMAP"/>
-            <property name="mail.host" value="[host]"/>
-            <property name="mail.user" value="[user]"/>
-            <property name="mail.pass" value="[pass]"/>
-            <property name="mail.debug" value="false"/>
+        <property name="mail.store.protocol" value="imap"/>
+        <property name="mail.host" value="[host]"/>
+        <property name="mail.user" value="[user]"/>
+        <property name="mail.pass" value="[pass]"/>
+        <property name="mail.debug" value="false"/>
         </property>
-    </container>
-
+        </container>
+    -->
+    
     <!-- load Shark Workflow Engine -->
-    <container name="shark-container" class="org.ofbiz.shark.container.SharkContainer">
+    <!-- NOTE: before uncommenting this please see the instructions in the ofbiz/OPTIONAL_LIBRARIES file.
+        <container name="shark-container" class="org.ofbiz.shark.container.SharkContainer">
         <property name="engine-name" value="Shark"/>
         <property name="delegator-name" value="default"/>
         <property name="dispatcher-name" value="WFDispatcher"/>
@@ -70,6 +79,7 @@
         <property name="admin-pass" value="ofbiz"/>
         <property name="iiop-host" value="127.0.0.1"/>
         <property name="iiop-port" value="2000"/>
-    </container>
-
+        </container>
+    -->
+    
 </ofbiz-containers>