tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: System property use in web.xml?
Date Thu, 22 Feb 2007 12:30:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

Bill Barker wrote:
> <Martin.X.Zaidel@nab.com.au> wrote in message 
>> However, when I try to deploy this webapp to Websphere 6.0.x, even after
>> defining a custom property for 'region' in the server profile, I get a:
>>
>> java.io.FileNotFoundException: /WEB-INF/jmsContext-${region}.xml,
>> when the server starts.
> 
> I'm afraid that system property substitution is a Tomcat-specific feature. 
> You can't rely on it working in any other Servlet Container.

I actually never knew that Tomcat would do this for you. I use ant for
just about everything, including building WAR files for deployment. I
simply use ant's "filtering" capability in the <copy> task.

Hope that helps,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3Yz99CaO5/Lv0PARAnqzAJ9R/GoAUUdCMwddFY43A5+oEJInhQCgpCCm
9MQEKuIsmcoh2wDXSiiwPIo=
=pcb6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message