You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/11/01 21:30:37 UTC

svn commit: r1029824 - in /james/server/trunk: container-spring/pom.xml pom.xml

Author: norman
Date: Mon Nov  1 20:30:36 2010
New Revision: 1029824

URL: http://svn.apache.org/viewvc?rev=1029824&view=rev
Log:
Add system property for copy settings when using MimeMessageWrapper (JAMES-1100)

Modified:
    james/server/trunk/container-spring/pom.xml
    james/server/trunk/pom.xml

Modified: james/server/trunk/container-spring/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
==============================================================================
--- james/server/trunk/container-spring/pom.xml (original)
+++ james/server/trunk/container-spring/pom.xml Mon Nov  1 20:30:36 2010
@@ -52,7 +52,7 @@
           <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
           <environmentSetupFileName>setenv</environmentSetupFileName>
           <!--  set some sane defaults for memory -->
-          <extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties}</extraJvmArguments>
+          <extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties} ${james.system-properties}</extraJvmArguments>
           <!-- Generate bin scripts for windows and unix per default -->
           <platforms>
             <platform>windows</platform>
@@ -196,6 +196,10 @@
                       <name>wrapper.java.additional.16</name>
                       <value>${javamail.system-property10}</value>
                     </property>
+                    <property>
+                      <name>wrapper.java.additional.17</name>
+                      <value>${james.system-property1}</value>
+                    </property>
                   </configuration>
                 </generatorConfiguration>
               </generatorConfigurations>

Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Mon Nov  1 20:30:36 2010
@@ -1250,6 +1250,9 @@
     <jmx.system-property5>-Dcom.sun.management.jmxremote.port=9999</jmx.system-property5>
     <jmx.system-properties>${jmx.system-property1} ${jmx.system-property2} ${jmx.system-property3} ${jmx.system-property4} ${jmx.system-property5}</jmx.system-properties>
     
+    <!-- Use filesystem to copy message by default -->
+    <james.system-property1>-Djames.message.usememorycopy=false</james.system-property1>
+    <james.system-properties>${james.system-property1}</james.system-properties>
   </properties>
 
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r1029824 - in /james/server/trunk: container-spring/pom.xml pom.xml

Posted by Norman Maurer <no...@apache.org>.
Yes..

Bye,
Norman


2010/11/2 Eric Charles <er...@apache.org>:
> Wil the extra properties be also set when "james start"  (not only "run.sh")
> ?
> Tks,
> Eric
>
> On 1/11/2010 21:30, norman@apache.org wrote:
>>
>> Author: norman
>> Date: Mon Nov  1 20:30:36 2010
>> New Revision: 1029824
>>
>> URL: http://svn.apache.org/viewvc?rev=1029824&view=rev
>> Log:
>> Add system property for copy settings when using MimeMessageWrapper
>> (JAMES-1100)
>>
>> Modified:
>>     james/server/trunk/container-spring/pom.xml
>>     james/server/trunk/pom.xml
>>
>> Modified: james/server/trunk/container-spring/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
>>
>> ==============================================================================
>> --- james/server/trunk/container-spring/pom.xml (original)
>> +++ james/server/trunk/container-spring/pom.xml Mon Nov  1 20:30:36 2010
>> @@ -52,7 +52,7 @@
>>
>>  <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>>            <environmentSetupFileName>setenv</environmentSetupFileName>
>>            <!--  set some sane defaults for memory -->
>> -<extraJvmArguments>-Xms128m -Xmx512m
>> -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
>> ${jmx.system-properties} ${javamail.system-properties}</extraJvmArguments>
>> +<extraJvmArguments>-Xms128m -Xmx512m
>> -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
>> ${jmx.system-properties} ${javamail.system-properties}
>> ${james.system-properties}</extraJvmArguments>
>>            <!-- Generate bin scripts for windows and unix per default -->
>>            <platforms>
>>              <platform>windows</platform>
>> @@ -196,6 +196,10 @@
>>                        <name>wrapper.java.additional.16</name>
>>                        <value>${javamail.system-property10}</value>
>>                      </property>
>> +<property>
>> +<name>wrapper.java.additional.17</name>
>> +<value>${james.system-property1}</value>
>> +</property>
>>                    </configuration>
>>                  </generatorConfiguration>
>>                </generatorConfigurations>
>>
>> Modified: james/server/trunk/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
>>
>> ==============================================================================
>> --- james/server/trunk/pom.xml (original)
>> +++ james/server/trunk/pom.xml Mon Nov  1 20:30:36 2010
>> @@ -1250,6 +1250,9 @@
>>
>>  <jmx.system-property5>-Dcom.sun.management.jmxremote.port=9999</jmx.system-property5>
>>      <jmx.system-properties>${jmx.system-property1}
>> ${jmx.system-property2} ${jmx.system-property3} ${jmx.system-property4}
>> ${jmx.system-property5}</jmx.system-properties>
>>
>> +<!-- Use filesystem to copy message by default -->
>>
>> +<james.system-property1>-Djames.message.usememorycopy=false</james.system-property1>
>>
>> +<james.system-properties>${james.system-property1}</james.system-properties>
>>    </properties>
>>
>>  </project>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r1029824 - in /james/server/trunk: container-spring/pom.xml pom.xml

Posted by Eric Charles <er...@apache.org>.
Wil the extra properties be also set when "james start"  (not only 
"run.sh") ?
Tks,
Eric

On 1/11/2010 21:30, norman@apache.org wrote:
> Author: norman
> Date: Mon Nov  1 20:30:36 2010
> New Revision: 1029824
>
> URL: http://svn.apache.org/viewvc?rev=1029824&view=rev
> Log:
> Add system property for copy settings when using MimeMessageWrapper (JAMES-1100)
>
> Modified:
>      james/server/trunk/container-spring/pom.xml
>      james/server/trunk/pom.xml
>
> Modified: james/server/trunk/container-spring/pom.xml
> URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
> ==============================================================================
> --- james/server/trunk/container-spring/pom.xml (original)
> +++ james/server/trunk/container-spring/pom.xml Mon Nov  1 20:30:36 2010
> @@ -52,7 +52,7 @@
>             <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>             <environmentSetupFileName>setenv</environmentSetupFileName>
>             <!--  set some sane defaults for memory -->
> -<extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties}</extraJvmArguments>
> +<extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties} ${james.system-properties}</extraJvmArguments>
>             <!-- Generate bin scripts for windows and unix per default -->
>             <platforms>
>               <platform>windows</platform>
> @@ -196,6 +196,10 @@
>                         <name>wrapper.java.additional.16</name>
>                         <value>${javamail.system-property10}</value>
>                       </property>
> +<property>
> +<name>wrapper.java.additional.17</name>
> +<value>${james.system-property1}</value>
> +</property>
>                     </configuration>
>                   </generatorConfiguration>
>                 </generatorConfigurations>
>
> Modified: james/server/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1029824&r1=1029823&r2=1029824&view=diff
> ==============================================================================
> --- james/server/trunk/pom.xml (original)
> +++ james/server/trunk/pom.xml Mon Nov  1 20:30:36 2010
> @@ -1250,6 +1250,9 @@
>       <jmx.system-property5>-Dcom.sun.management.jmxremote.port=9999</jmx.system-property5>
>       <jmx.system-properties>${jmx.system-property1} ${jmx.system-property2} ${jmx.system-property3} ${jmx.system-property4} ${jmx.system-property5}</jmx.system-properties>
>
> +<!-- Use filesystem to copy message by default -->
> +<james.system-property1>-Djames.message.usememorycopy=false</james.system-property1>
> +<james.system-properties>${james.system-property1}</james.system-properties>
>     </properties>
>
>   </project>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org