-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uma,
On 4/26/2009 11:46 AM, uma...@comcast.net wrote: > I am looking for a mechanism that would do the inclusion > at runtime (as in when Tomcat starts up). Hence I am unable > to use gcc. I assumed that the Java property files intrinsically > support #include making this transparent to Tomcat itself. > Perhaps I am mistaken? Neither Java nor Tomcat do this at all. You will have to make your own arrangements. One option is to use Apache ant to start your Java processes. If you are setting system properties, ant can run a Java process and specify system properties for you on the command-line, including using wildcards for selecting properties (like "myapp.*" I think). If you'd rather run startup.sh (which I think is a good idea), you can also merge those parameters into the JAVA_OPTS environment variable that the shell script will use to invoke Java, which will result in those properties being set. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkn1w4EACgkQ9CaO5/Lv0PCwgQCgo0Nj6YXhG8k7aWcix28CX+ZY KOcAoLYJSgLHT9jRYgshzbgKAxgyHjhe =6kkC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org