You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2011/12/22 23:34:44 UTC

Re: [OT] Hosted environment

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 12/22/11 1:28 PM, Mark Eggers wrote:
> It's the setup I use because it cleanly decouples everything
> (Apache HTTPD configurations, pristine CATALINA_HOME, default
> Tomcat applications for connectivity / service testing, and an easy
> upgrade path). I'm toying around with a script that will automate
> the entire installation, but I've not reached that pain point yet.

I use a set of ant scripts across all our projects that builds a
CATALINA_BASE from a CATALINA_HOME and then builds the webapp into it,
re-writing the server.xml contents (part of the project, not from
CATALINA_HOME) to suit. We use this to allow multiple developers to
work on the same machine with multiple separate Tomcat/JVM
combinations for each webapp.

I'd be happy to show you what we're doing if you're interested.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7zsIQACgkQ9CaO5/Lv0PAHfwCfaVEfAsQVDGEyRbBINFFdwxJr
gHkAn3mXz4wg9S1assVLfqtc4t54z/R/
=HnBr
-----END PGP SIGNATURE-----

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


Re: [OT] Hosted environment

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: André Warnier <aw...@ice-sa.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Friday, December 23, 2011 1:22 PM
> Subject: Re: [OT] Hosted environment
> 
> Mark Eggers wrote:
> ...
> 
>> 
>>  I was thinking about writing bash shell scripts, but that's not 
> portable across all platforms (unless you install cygwin).
> 
> You should learn perl.
> ;-)


Been a while . . . my current perl skill is probably around the dull nacreous stage :-p.

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


Re: [OT] Hosted environment

Posted by André Warnier <aw...@ice-sa.com>.
Mark Eggers wrote:
...

> 
> I was thinking about writing bash shell scripts, but that's not portable across all platforms (unless you install cygwin).

You should learn perl.
;-)

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


Re: [OT] Hosted environment

Posted by Mark Eggers <it...@yahoo.com>.
----- Original Message -----

> From: Christopher Schultz <ch...@christopherschultz.net>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Cc: 
> Sent: Thursday, December 22, 2011 2:34 PM
> Subject: Re: [OT] Hosted environment
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark,
> 
> On 12/22/11 1:28 PM, Mark Eggers wrote:
>>  It's the setup I use because it cleanly decouples everything
>>  (Apache HTTPD configurations, pristine CATALINA_HOME, default
>>  Tomcat applications for connectivity / service testing, and an easy
>>  upgrade path). I'm toying around with a script that will automate
>>  the entire installation, but I've not reached that pain point yet.
> 
> I use a set of ant scripts across all our projects that builds a
> CATALINA_BASE from a CATALINA_HOME and then builds the webapp into it,
> re-writing the server.xml contents (part of the project, not from
> CATALINA_HOME) to suit. We use this to allow multiple developers to
> work on the same machine with multiple separate Tomcat/JVM
> combinations for each webapp.
> 
> I'd be happy to show you what we're doing if you're interested.
> 
> - -chris
>

Chris,

That would be great!

I can chop out the application build, and then use it just for infrastructure builds.

I was thinking about writing bash shell scripts, but that's not portable across all platforms (unless you install cygwin). Also the people I work with are reasonably comfortable with ant.

Thanks again,
Mark

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