You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by li...@apache.org on 2008/06/25 23:28:22 UTC

svn commit: r671665 - /geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt

Author: linsun
Date: Wed Jun 25 14:28:22 2008
New Revision: 671665

URL: http://svn.apache.org/viewvc?rev=671665&view=rev
Log:
clarify how to override the entries with system properties or environment variables - sync with David Jencks' recent commit

Modified:
    geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt?rev=671665&r1=671664&r2=671665&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt (original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate/src/main/underlay/var/config/README.txt Wed Jun 25 14:28:22 2008
@@ -45,14 +45,15 @@
 
 
 *-config-substitutions.properties
-
-  Put variables and their substitution values in this file: they will be used when processing config.xml
-   Values in this file will be overridden by environment variables and system properties
-hostName=localhost
-httpPort=8080
-httpsPort=8443
-   To run multiple instances of geronimo choose a portOffset such that none of the ports conflict
-   Try PortOffset=10
+   
+Put variables and their substitution values in this file. 
+They will be used when processing the corresponding config.xml. 
+Values in this file can be overridden by environment variables and system properties 
+by prefixing the property name with 'org.apache.geronimo.config.substitution.' 
+For example, an entry such as hostName=localhost 
+can be overridden by an environment variable or system property org.apache.geronimo.config.substitution.hostName=foo 
+When running multiple instances of Geronimo choose a PortOffset value such that none of the ports conflict. 
+For example, try PortOffset=10 
 
 
 *-artifact-aliases.properties