Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Michael B Allen
On Thu, Nov 18, 2021 at 12:06 PM Mark Eggers wrote: > How well do mklinks work with services? I am not really a Windows > administrator, so I have no idea. I have no idea either as I have never used them together. But mklink is a filesystem level feature AFAIK so I don't see why a Windows

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Mark Eggers
Jon, On 11/17/2021 6:54 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: Sorry about my bad reply order. Mark, you do a lot of what I do, but most of our stuff isn't using initd. I like your use of links, best way to handle upgrades, imo.­ Thanks, Sent with BlackBerry Work

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Mark Eggers
Mike, On 11/17/2021 7:16 PM, Michael B Allen wrote: On Wed, Nov 17, 2021 at 9:05 PM Mark Eggers wrote: CATALINA_HOME and CATALINA_BASE are links to an appropriate Tomcat installation, and one configured for that particular service. Then to upgrade to a new Tomcat, you do the following: 1.

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread jonmcalexander
Yeah, we love our symbolic links here, Ix and Windows. Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Michael B Allen Sent: Nov 17, 2021 9:17 PM To: Tomcat Users List Subject: Re: How to *properly* create and use a CATALINA_BASE installation On Wed, Nov 17, 2021 at 9:05 PM

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
On Wed, Nov 17, 2021 at 9:05 PM Mark Eggers wrote: > CATALINA_HOME and CATALINA_BASE are links to an appropriate Tomcat > installation, and one configured for that particular service. > > Then to upgrade to a new Tomcat, you do the following: > > 1. Unpack the new reference version of Tomcat

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread jonmcalexander
Sorry about my bad reply order. Mark, you do a lot of what I do, but most of our stuff isn't using initd. I like your use of links, best way to handle upgrades, imo.­ Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Mark Eggers Sent: Nov 17,

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Mark Eggers
On 11/17/2021 5:28 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: We export it. You have to make sure the setenv.sh is calling setenv.sh. it works fine for me.­ Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Michael B Allen Sent: Nov 17,

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread jonmcalexander
We export it. You have to make sure the setenv.sh is calling setenv.sh. it works fine for me.­ Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Michael B Allen Sent: Nov 17, 2021 6:54 PM To: Tomcat Users List Subject: Re: How to *properly* create

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
On Wed, Nov 17, 2021 at 11:04 AM wrote: > I, in my opinion, find it far easier to set my BASE in the setenv.sh for the > instance I'm using. As Chris said, you can have multiple instances (BASEs) on > a server. Jon, If you mean you're setting $CATALINA_BASE in setenv.sh, I don't think that

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread jonmcalexander
Michael, -Original Message- > From: Christopher Schultz > Sent: Wednesday, November 17, 2021 9:43 AM > To: users@tomcat.apache.org > Subject: Re: How to *properly* create and use a CATALINA_BASE installation > > Michael, > > On 11/16/21 17:05, Michael B Allen wrote: > >> >

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread jonmcalexander
Thanks for the info Chris! Dream * Excel * Explore * Inspire Jon McAlexander Infrastructure Engineer Asst Vice President Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Christopher Schultz
Michael, On 11/16/21 17:05, Michael B Allen wrote: https://people.apache.org/~schultz/presentations/ApacheCon%20NA%202020/Splitting%20Your%20Tomcat%20Installation.pdf Thanks. That's what I'm looking for. Slightly related: Instead of setting environment variables in your profile and running

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Christopher Schultz
Jon, On 11/16/21 12:55, jonmcalexan...@wellsfargo.com.INVALID wrote: I meant the other configuration files. I guess I haven't dug deep enough, but DOES Tomcat handle the catalina.properties, catalina.policy, logging.properties, etc. files hierarchically similar to how Microsoft handles

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Michael B Allen
> https://people.apache.org/~schultz/presentations/ApacheCon%20NA%202020/Splitting%20Your%20Tomcat%20Installation.pdf Thanks. That's what I'm looking for. Slightly related: Instead of setting environment variables in your profile and running $CATALINA_HOME/bin/startup.sh, is there any reason why

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread jonmcalexander
I meant the other configuration files. I guess I haven't dug deep enough, but DOES Tomcat handle the catalina.properties, catalina.policy, logging.properties, etc. files hierarchically similar to how Microsoft handles web.config files? CATALINA_HOME being the parent and Instances automatically

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Christopher Schultz
Jon, On 11/16/21 08:55, jonmcalexan...@wellsfargo.com.INVALID wrote: I too would like to know more of what Chris is sa­ying in regards to the conf folder. You mean conf/[engine]/[host]/[webapp].xml? This is just "standard" deployment descriptor stuff:

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Christopher Schultz
Michael, On 11/15/21 17:23, Michael B Allen wrote: On Mon, Nov 15, 2021 at 4:31 PM Christopher Schultz wrote: conf All of the conf files. Specifically, you'll want server.xml and web.xml. You can also choose to customize context.xml, and put any [engine]/[host]/[webapp].xml deployment

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread jonmcalexander
Hey Michael, I too would like to know more of what Chris is sa­ying in regards to the conf folder. Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Michael B Allen Sent: Nov 15, 2021 4:24 PM To: Tomcat Users List Subject: Re: How to *properly*

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Mark H. Wood
The Gentoo Linux packaging of Tomcat does a nice job of laying out separate CATALINA_HOME and one or more CATALINA_BASE trees, if you'd like something to study. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
On Mon, Nov 15, 2021 at 4:31 PM Christopher Schultz wrote: > > conf > > All of the conf files. > > Specifically, you'll want server.xml and web.xml. You can also choose to > customize context.xml, and put any [engine]/[host]/[webapp].xml > deployment descriptors there. Hi chros, Ok, so then the

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Christopher Schultz
Jon, On 11/15/21 15:20, jonmcalexan...@wellsfargo.com.INVALID wrote: Files Required in CATALINA_BASE: bin Only shell scripts or batch files. Make sure that setenv.sh or setenv.bat sets and passes the CATALINA_BASE and CATALINA_HOME locations properly. You can't use CATALINA_BASE/bin/setenv.sh

RE: How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread jonmcalexander
Files Required in CATALINA_BASE: bin Only shell scripts or batch files. Make sure that setenv.sh or setenv.bat sets and passes the CATALINA_BASE and CATALINA_HOME locations properly. conf All of the conf files. lib Only .jar files needed by your Instance, not

How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
Hi, What $CATALINA_HOME/conf/ files should be copied into $CATALINA_BASE? RUNNING.txt just says: * conf - Server configuration files (including server.xml) So it's multiple fileS but not necessarily all if server.xml is explicitly included? Ideally I would think it should be only files that