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 ba...@apache.org on 2007/02/06 11:42:55 UTC

svn commit: r504070 - in /james/server/branches/v2.3: JAMES_PHOENIX.txt phoenix-bin/bin/phoenix-loader.jar phoenix-bin/bin/phoenix.sh phoenix-bin/bin/run.bat phoenix-bin/conf/wrapper.conf

Author: bago
Date: Tue Feb  6 02:42:54 2007
New Revision: 504070

URL: http://svn.apache.org/viewvc?view=rev&rev=504070
Log:
Backport for positive dns resolution cache (r502713). Applied a default 300 seconds expiration. (JAMES-679 / JAMES-592)

Modified:
    james/server/branches/v2.3/JAMES_PHOENIX.txt
    james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
    james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
    james/server/branches/v2.3/phoenix-bin/bin/run.bat
    james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf

Modified: james/server/branches/v2.3/JAMES_PHOENIX.txt
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/JAMES_PHOENIX.txt?view=diff&rev=504070&r1=504069&r2=504070
==============================================================================
--- james/server/branches/v2.3/JAMES_PHOENIX.txt (original)
+++ james/server/branches/v2.3/JAMES_PHOENIX.txt Tue Feb  6 02:42:54 2007
@@ -12,6 +12,18 @@
 
 - upgraded wrapper.* files to 3.2.0 release (http://wrapper.tanukisoftware.org/)
 
+- added this code to org.apache.avalon.phoenix.launcher.Main:121:
+  ---------------------------------
+    // Set the Security property to the same value of the system property.
+    String ttlcache = System.getProperty("networkaddress.cache.ttl");
+    if (ttlcache != null) {
+        Security.setProperty("networkaddress.cache.ttl" , ttlcache);
+    }
+  ---------------------------------
+
+- added a "-Dnetworkaddress.cache.ttl=300" to all executing scripts:
+  wrapper.conf, phoenix.sh, run.bat, james-server.sh
+
 Changed the build.xml to reflect the changes.
 
 Rebuilt.

Modified: james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar?view=diff&rev=504070&r1=504069&r2=504070
==============================================================================
Binary files - no diff available.

Modified: james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh?view=diff&rev=504070&r1=504069&r2=504070
==============================================================================
--- james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh (original)
+++ james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh Tue Feb  6 02:42:54 2007
@@ -133,6 +133,10 @@
   JVM_OPTS="$JVM_OPTS -Djava.security.manager"
 fi
 
+# Make sure we don't run with a never expiring cache for InetAddress
+# In Phoenix Main this is read and applied as Security.setProperty
+PHOENIX_JVM_OPTS="$PHOENIX_JVM_OPTS -Dnetworkaddress.cache.ttl=300"
+
 # change to the bin directory
 cd $PHOENIX_HOME/bin
 

Modified: james/server/branches/v2.3/phoenix-bin/bin/run.bat
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/phoenix-bin/bin/run.bat?view=diff&rev=504070&r1=504069&r2=504070
==============================================================================
--- james/server/branches/v2.3/phoenix-bin/bin/run.bat (original)
+++ james/server/branches/v2.3/phoenix-bin/bin/run.bat Tue Feb  6 02:42:54 2007
@@ -76,6 +76,10 @@
 
 :postSecure
 
+rem Make sure we don't run with a never expiring cache for InetAddress
+rem In Phoenix Main this is read and applied as Security.setProperty
+set PHOENIX_JVM_OPTS=%PHOENIX_JVM_OPTS% -Dnetworkaddress.cache.ttl=300
+
 rem
 rem -Djava.ext.dirs= is needed as some JVM vendors do foolish things
 rem like placing jaxp/jaas/xml-parser jars in ext dir

Modified: james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf?view=diff&rev=504070&r1=504069&r2=504070
==============================================================================
--- james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf (original)
+++ james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf Tue Feb  6 02:42:54 2007
@@ -23,6 +23,8 @@
 wrapper.java.additional.2=-Dphoenix.home=..
 wrapper.java.additional.3=-Djava.security.policy=jar:file:phoenix-loader.jar!/META-INF/java.policy
 wrapper.java.additional.4=-Djava.security.manager
+# In Phoenix Main this is read and applied as Security.setProperty
+wrapper.java.additional.5=-Dnetworkaddress.cache.ttl=300
 
 # Initial Java Heap Size (in MB)
 wrapper.java.initmemory=16



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


About 2.3.1 (Was: svn commit: r504070)

Posted by Stefano Bagnara <ap...@bago.org>.
I just applied this patch. This was the last "code" issue on the 2.3.1 
roadmap:
https://issues.apache.org/jira/browse/JAMES?report=com.atlassian.jira.plugin.system.project:roadmap-panel

Have we anything else to be done for 2.3.1? Norman, you proposed many of 
them, but I'm a bit lost between threads, can you review and check if we 
missed anything or we need to tell our opinions on any old proposal 
about 2.3.1 backports?

If there is not anything else I think we could be ready to prepare a 
2.3.1rc1 and while we test it we can complete the documentation issue 
(JAMES-774).

Stefano

bago@apache.org wrote:
> Author: bago
> Date: Tue Feb  6 02:42:54 2007
> New Revision: 504070
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=504070
> Log:
> Backport for positive dns resolution cache (r502713). Applied a default 300 seconds expiration. (JAMES-679 / JAMES-592)
> 
> Modified:
>     james/server/branches/v2.3/JAMES_PHOENIX.txt
>     james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
>     james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
>     james/server/branches/v2.3/phoenix-bin/bin/run.bat
>     james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf



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


Re: About 2.3.1 (Was: svn commit: r504070)

Posted by Norman Maurer <nm...@byteaction.de>.
Hi,

i think we have all beside the ttl issue documentation for 2.3.1rc1.

bye
Norman

Stefano Bagnara schrieb:
> I just applied this patch. This was the last "code" issue on the 2.3.1
> roadmap:
> https://issues.apache.org/jira/browse/JAMES?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>
>
> Have we anything else to be done for 2.3.1? Norman, you proposed many
> of them, but I'm a bit lost between threads, can you review and check
> if we missed anything or we need to tell our opinions on any old
> proposal about 2.3.1 backports?
>
> If there is not anything else I think we could be ready to prepare a
> 2.3.1rc1 and while we test it we can complete the documentation issue
> (JAMES-774).
>
> Stefano
>
> bago@apache.org wrote:
>> Author: bago
>> Date: Tue Feb  6 02:42:54 2007
>> New Revision: 504070
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=504070
>> Log:
>> Backport for positive dns resolution cache (r502713). Applied a
>> default 300 seconds expiration. (JAMES-679 / JAMES-592)
>>
>> Modified:
>>     james/server/branches/v2.3/JAMES_PHOENIX.txt
>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
>>     james/server/branches/v2.3/phoenix-bin/bin/run.bat
>>     james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:1,45c862c739415170345793!


-- 
Mit freundlichen Grüßen 

i.A. Norman Maurer 
Systemadministrator

ByteAction GmbH
Auf der Beune 83-85
64839 Münster

Phone:   +49 (0) 60 71 92 16 - 21
Fax:       +49 (0) 60 71 92 16 - 20
E-mail:    nm@byteaction.de
Internet: www.byteaction.de
AG Darmstadt, HRB 33271
Ust-Id: DE206997247
Geschäftsführung: Thomas Volkert
------------------------------------------------------ 
Diese E-Mail enthält vertrauliche Informationen und ist nur für den in der E-Mail genannten Adressaten bestimmt. Für den Fall, dass der Empfänger dieser E-Mail nicht der in der E-Mail benannte Adressat ist, weisen wir darauf hin, dass das Lesen, Kopieren, die Wiedergabe, Verbreitung, Vervielfältigung, Bekanntmachung, Veränderung, Verteilung und/oder Veröffentlichung der E-Mail strengstens untersagt ist. Bitte verständigen Sie den Absender dieser E-Mail unter folgender Rufnummer +49 (0) 6071 / 9216-0, falls Sie irrtümlich diese E-Mail erhalten haben und löschen Sie diese E-Mail. Der Inhalt dieser E-Mail ist nur rechtsverbindlich, wenn er von unserer Seite schriftlich durch Brief oder Telefax bestätigt wird. Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. 

This e-mail contains information which is privileged and is intended only for the Addressee named in the e-mail. In case that the recipient of this e-mail is not the named addressee, we would like to inform you that it is strictly prohibited to read, to reproduce, to disseminate, to copy, to disclose, to modify, to distribute and/or to publish this e-mail. If you have received this e-mail in error, please call the sender under following telephone number +49 (0) 6071 / 9216-0 and delete this e-mail. The content of this e-mail is not legally binding unless confirmed by letter or telefax. E-mails which are sent to us do not constitute compliance with any time limits or deadlines.
------------------------------------------------------ 



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


Re: [-ARCHIVED-] Re: About 2.3.1 (Was: svn commit: r504070)

Posted by Danny Angus <da...@apache.org>.
Don't wait is my 2c.

d.

On 2/7/07, Norman Maurer <nm...@byteaction.de> wrote:
> Mornin,
>
> should we start the VOTE for "RC1" now and add the documentation about
> the ttl issue later , or do the others prefer to wait ?
>
> bye
> Norman
>
> Norman Maurer schrieb:
> > Hi,
> >
> > i think we have all beside the ttl issue documentation for 2.3.1rc1.
> >
> > bye
> > Norman
> >
> > Stefano Bagnara schrieb:
> >
> >> I just applied this patch. This was the last "code" issue on the 2.3.1
> >> roadmap:
> >> https://issues.apache.org/jira/browse/JAMES?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >>
> >>
> >> Have we anything else to be done for 2.3.1? Norman, you proposed many
> >> of them, but I'm a bit lost between threads, can you review and check
> >> if we missed anything or we need to tell our opinions on any old
> >> proposal about 2.3.1 backports?
> >>
> >> If there is not anything else I think we could be ready to prepare a
> >> 2.3.1rc1 and while we test it we can complete the documentation issue
> >> (JAMES-774).
> >>
> >> Stefano
> >>
> >> bago@apache.org wrote:
> >>
> >>> Author: bago
> >>> Date: Tue Feb  6 02:42:54 2007
> >>> New Revision: 504070
> >>>
> >>> URL: http://svn.apache.org/viewvc?view=rev&rev=504070
> >>> Log:
> >>> Backport for positive dns resolution cache (r502713). Applied a
> >>> default 300 seconds expiration. (JAMES-679 / JAMES-592)
> >>>
> >>> Modified:
> >>>     james/server/branches/v2.3/JAMES_PHOENIX.txt
> >>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
> >>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
> >>>     james/server/branches/v2.3/phoenix-bin/bin/run.bat
> >>>     james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> >> For additional commands, e-mail: server-dev-help@james.apache.org
> >>
> >> !EXCUBATOR:1,45c862c739415170345793!
> >>
> >
> >
> >
>
>
> --
> Mit freundlichen Grüßen
>
> i.A. Norman Maurer
> Systemadministrator
>
> ByteAction GmbH
> Auf der Beune 83-85
> 64839 Münster
>
> Phone:   +49 (0) 60 71 92 16 - 21
> Fax:       +49 (0) 60 71 92 16 - 20
> E-mail:    nm@byteaction.de
> Internet: www.byteaction.de
> AG Darmstadt, HRB 33271
> Ust-Id: DE206997247
> Geschäftsführung: Thomas Volkert
> ------------------------------------------------------
> Diese E-Mail enthält vertrauliche Informationen und ist nur für den in der E-Mail genannten Adressaten bestimmt. Für den Fall, dass der Empfänger dieser E-Mail nicht der in der E-Mail benannte Adressat ist, weisen wir darauf hin, dass das Lesen, Kopieren, die Wiedergabe, Verbreitung, Vervielfältigung, Bekanntmachung, Veränderung, Verteilung und/oder Veröffentlichung der E-Mail strengstens untersagt ist. Bitte verständigen Sie den Absender dieser E-Mail unter folgender Rufnummer +49 (0) 6071 / 9216-0, falls Sie irrtümlich diese E-Mail erhalten haben und löschen Sie diese E-Mail. Der Inhalt dieser E-Mail ist nur rechtsverbindlich, wenn er von unserer Seite schriftlich durch Brief oder Telefax bestätigt wird. Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung.
>
> This e-mail contains information which is privileged and is intended only for the Addressee named in the e-mail. In case that the recipient of this e-mail is not the named addressee, we would like to inform you that it is strictly prohibited to read, to reproduce, to disseminate, to copy, to disclose, to modify, to distribute and/or to publish this e-mail. If you have received this e-mail in error, please call the sender under following telephone number +49 (0) 6071 / 9216-0 and delete this e-mail. The content of this e-mail is not legally binding unless confirmed by letter or telefax. E-mails which are sent to us do not constitute compliance with any time limits or deadlines.
> ------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> 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: [-ARCHIVED-] Re: About 2.3.1 (Was: svn commit: r504070)

Posted by Norman Maurer <nm...@byteaction.de>.
Mornin,

should we start the VOTE for "RC1" now and add the documentation about
the ttl issue later , or do the others prefer to wait ?

bye
Norman

Norman Maurer schrieb:
> Hi,
>
> i think we have all beside the ttl issue documentation for 2.3.1rc1.
>
> bye
> Norman
>
> Stefano Bagnara schrieb:
>   
>> I just applied this patch. This was the last "code" issue on the 2.3.1
>> roadmap:
>> https://issues.apache.org/jira/browse/JAMES?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>>
>>
>> Have we anything else to be done for 2.3.1? Norman, you proposed many
>> of them, but I'm a bit lost between threads, can you review and check
>> if we missed anything or we need to tell our opinions on any old
>> proposal about 2.3.1 backports?
>>
>> If there is not anything else I think we could be ready to prepare a
>> 2.3.1rc1 and while we test it we can complete the documentation issue
>> (JAMES-774).
>>
>> Stefano
>>
>> bago@apache.org wrote:
>>     
>>> Author: bago
>>> Date: Tue Feb  6 02:42:54 2007
>>> New Revision: 504070
>>>
>>> URL: http://svn.apache.org/viewvc?view=rev&rev=504070
>>> Log:
>>> Backport for positive dns resolution cache (r502713). Applied a
>>> default 300 seconds expiration. (JAMES-679 / JAMES-592)
>>>
>>> Modified:
>>>     james/server/branches/v2.3/JAMES_PHOENIX.txt
>>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix-loader.jar
>>>     james/server/branches/v2.3/phoenix-bin/bin/phoenix.sh
>>>     james/server/branches/v2.3/phoenix-bin/bin/run.bat
>>>     james/server/branches/v2.3/phoenix-bin/conf/wrapper.conf
>>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>> !EXCUBATOR:1,45c862c739415170345793!
>>     
>
>
>   


-- 
Mit freundlichen Grüßen 

i.A. Norman Maurer 
Systemadministrator

ByteAction GmbH
Auf der Beune 83-85
64839 Münster

Phone:   +49 (0) 60 71 92 16 - 21
Fax:       +49 (0) 60 71 92 16 - 20
E-mail:    nm@byteaction.de
Internet: www.byteaction.de
AG Darmstadt, HRB 33271
Ust-Id: DE206997247
Geschäftsführung: Thomas Volkert
------------------------------------------------------ 
Diese E-Mail enthält vertrauliche Informationen und ist nur für den in der E-Mail genannten Adressaten bestimmt. Für den Fall, dass der Empfänger dieser E-Mail nicht der in der E-Mail benannte Adressat ist, weisen wir darauf hin, dass das Lesen, Kopieren, die Wiedergabe, Verbreitung, Vervielfältigung, Bekanntmachung, Veränderung, Verteilung und/oder Veröffentlichung der E-Mail strengstens untersagt ist. Bitte verständigen Sie den Absender dieser E-Mail unter folgender Rufnummer +49 (0) 6071 / 9216-0, falls Sie irrtümlich diese E-Mail erhalten haben und löschen Sie diese E-Mail. Der Inhalt dieser E-Mail ist nur rechtsverbindlich, wenn er von unserer Seite schriftlich durch Brief oder Telefax bestätigt wird. Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. 

This e-mail contains information which is privileged and is intended only for the Addressee named in the e-mail. In case that the recipient of this e-mail is not the named addressee, we would like to inform you that it is strictly prohibited to read, to reproduce, to disseminate, to copy, to disclose, to modify, to distribute and/or to publish this e-mail. If you have received this e-mail in error, please call the sender under following telephone number +49 (0) 6071 / 9216-0 and delete this e-mail. The content of this e-mail is not legally binding unless confirmed by letter or telefax. E-mails which are sent to us do not constitute compliance with any time limits or deadlines.
------------------------------------------------------ 



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