tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Swan <alecs...@gmail.com>
Subject SOLVED: Virtual host deployment
Date Wed, 15 Sep 2010 15:06:17 GMT
Thank you everybody for the answers. I am closing this thread.

On Wed, Sep 15, 2010 at 8:27 AM, Christopher Schultz <
chris@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message