"Jim Cant" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there a way I can use replaceable parameters in an application's xml
> configuration file and pass a value in on the Tomcat command line. In
> particular, I would like to set the value of docBase so that I can launch
> t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Jim Cant wrote:
| Is there a way I can use replaceable parameters in an application's xml
| configuration file and pass a value in on the Tomcat command line. In
| particular, I would like to set the value of docBase so that I can launch
| tomc
You could use a script to edit your appconfig.xml with the value. Try the
"replace" command that comes with MySQL:
APP_PATH=/my/app/lives/here
replace "to-be-replaced" $APP_PATH -- appconfig.xml
Then do your tomcat startup as you have suggested by setting a system
property on the command line wit