Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
On 4/8/2020 6:42 PM, calder wrote: > On Wed, Apr 8, 2020, 18:11 James H. H. Lampert > wrote: > >> >> And as to vendor-supplied installations, I agree with you. I'm rather >> irritated with the "Debianism" of splitting Tomcat up so completely that >> webapp contexts can be in at least two differen

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread calder
On Wed, Apr 8, 2020, 18:11 James H. H. Lampert wrote: > > And as to vendor-supplied installations, I agree with you. I'm rather > irritated with the "Debianism" of splitting Tomcat up so completely that > webapp contexts can be in at least two different places, and the general > "Linuxism" of *no

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
James, On 4/8/2020 5:41 PM, James H. H. Lampert wrote: > On 4/8/20 4:57 PM, Mark Eggers wrote: >> See >> https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxy >> for some examples. > > Yes. That's the very point in the documentation that has my head spinning: >>> For example, the following w

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread James H. H. Lampert
On 4/8/20 4:57 PM, Mark Eggers wrote: See https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxy for some examples. Yes. That's the very point in the documentation that has my head spinning: For example, the following will allow only hosts in yournetwork.example.com to access content via y

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
On 4/8/2020 4:11 PM, James H. H. Lampert wrote: > On 4/8/20 3:52 PM, Mark Eggers wrote:     Require ip 127 > > Dear Mr. Eggers (et al.): > > I'm still not clear on what that even *does* (and the official docs > leave me even more confused: "only allow hosts in . . . to access > c

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread James H. H. Lampert
On 4/8/20 3:52 PM, Mark Eggers wrote:    Require ip 127 Dear Mr. Eggers (et al.): I'm still not clear on what that even *does* (and the official docs leave me even more confused: "only allow hosts in . . . to access content via your proxy"); could you (or somebody else) explain it? Remem

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
James, On 4/8/2020 3:27 PM, James H. H. Lampert wrote: > Dear Mr. Eggers, et al.: > > Well, after running test installations of Tomcat on a whole string of > EC2 spot instances, I went ahead and installed it on the target server. > I've got it running, and enabled to start automatically, and I've

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread James H. H. Lampert
Dear Mr. Eggers, et al.: Well, after running test installations of Tomcat on a whole string of EC2 spot instances, I went ahead and installed it on the target server. I've got it running, and enabled to start automatically, and I've added a security group to temporarily open 8080 to my office

Re: learning tomcat 7 on Linux

2020-04-08 Thread Andy Sloane
OK then. So Tomcat installed, and I start learning tomorrow. Thank you, folks. :-) [image: tom.png] On Wed, 8 Apr 2020 at 17:59, Richard Monson-Haefel wrote: > I agree with Olaf. My courses are for Tomcat 9. I would upgrade to 9. My > course shows you in detail how to install 9 on Linux (al

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 8.5.51 and above

2020-04-08 Thread Mark Thomas
Hi, Thanks for the test case. I've been able to figure out what is going wrong. I'll be able to fix this for the May releases (due about a month from now). I'm just thinking about the best way to fix this from the various options. I have a couple of questions: 1. Would a configuration based wor

Re: learning tomcat 7 on Linux

2020-04-08 Thread Richard Monson-Haefel
I agree with Olaf. My courses are for Tomcat 9. I would upgrade to 9. My course shows you in detail how to install 9 on Linux (although I use LinuxMint its all done with the bash shell so its should work just as as well on CentOSO) On Wed, Apr 8, 2020 at 11:50 AM Olaf Kock wrote: > > On 08.04.2

Re: learning tomcat 7 on Linux

2020-04-08 Thread Olaf Kock
On 08.04.20 14:55, Andy Sloane wrote: > Hi, > I have set up a Linux CentOS 7 host, and have installed Tomcat 7... > > ... > I would like to learn how to develop webapps. > I see no particular reason to start with Tomcat 7. Most of the code that you will learn will be version independent, and the

Re: learning tomcat 7 on Linux

2020-04-08 Thread Andy Sloane
OK, so I'm going to have a look at that, since there's a 10-day free trial. :-) On Wed, 8 Apr 2020 at 14:11, Richard Monson-Haefel wrote: > Hi, > > A bit of self-promotion here. > > I just released a course, "Tomcat for Java Development" less than two weeks > ago which includes coverage of Tomc

Re: learning tomcat 7 on Linux

2020-04-08 Thread Richard Monson-Haefel
Hi, A bit of self-promotion here. I just released a course, "Tomcat for Java Development" less than two weeks ago which includes coverage of Tomcat on Linux. I'm also releasing - later this week - a complementary course, "Java Application Development with Tomcat". The first course teaches how to

learning tomcat 7 on Linux

2020-04-08 Thread Andy Sloane
Hi, I have set up a Linux CentOS 7 host, and have installed Tomcat 7... [root@db3 ROOT]# /sbin/tomcat version Server version: Apache Tomcat/7.0.76 Server built: Mar 17 2020 23:48:55 UTC Server number: 7.0.76.0 OS Name:Linux OS Version: 3.10.0-1062.12.1.el7.x86_64 Architecture: amd

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 8.5.51 and above

2020-04-08 Thread Jackson Ong
Hello Mark, I have tested on 8.5.54, still not able to load javax.servlet.ServletContainerInitializer. I have created sample code to recreate the issue. https://github.com/salvatore-clong/tomcatSCI We use custom webapp class loader to load jar from common path, for this case I put the jar in this