Thank you everybody for the answers. I am closing this thread.

On Wed, Sep 15, 2010 at 8:27 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alec,
>
> On 9/14/2010 5:52 PM, Alec Swan wrote:
> > The deployment scenario I would like to support requires deploying the
> same
> > WAR file on the development server first and then on the production
> server.
> > Development and production servers use different database credentials, so
> I
> > cannot package them in the WAR file itself. So, the database credentials
> > should be stored somewhere in the server configuration.
> >
> > What is the recommended way to support  this scenario? Is there any other
> > place besides conf/context.xml where I can store server-specific DB
> > credentials?
>
> Uh, uf my.war -C prod META-INF/context.xml
>
> ?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkyQ18AACgkQ9CaO5/Lv0PBAFQCeJmvV+Gn0otTj0WWW1QAWUkXO
> 9PMAn2GdeptWiY/7D2+oJal8P284xfXw
> =JKMm
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to