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

2020-04-06 Thread Mark Eggers
On 4/6/2020 5:47 PM, James H. H. Lampert wrote: > As it happens, I'm now struggling with an issue just trying to get a new > virtual host up and running on the httpd server. I've put it on Server > Fault, at: https://preview.tinyurl.com/rr3rxwa > > While it may not be necessary to solve this

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

2020-04-06 Thread James H. H. Lampert
As it happens, I'm now struggling with an issue just trying to get a new virtual host up and running on the httpd server. I've put it on Server Fault, at: https://preview.tinyurl.com/rr3rxwa While it may not be necessary to solve this problem in order to get the httpd server to proxy the

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

2020-04-06 Thread Mark Eggers
James, On 4/6/2020 3:09 PM, James H. H. Lampert wrote: > First of all, thank you, Mr. Malcom, Herr Kreuser, and Mr. Eggers. > > One thing I will note is that near as I can tell, mod_proxy and > mod_proxy_http are already present on the system (I can find > "mod_proxy.so" and

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

2020-04-06 Thread James H. H. Lampert
First of all, thank you, Mr. Malcom, Herr Kreuser, and Mr. Eggers. One thing I will note is that near as I can tell, mod_proxy and mod_proxy_http are already present on the system (I can find "mod_proxy.so" and "mod_proxy_http.so"), but mod_jk does not appear to be present (no sign of a

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

2020-04-06 Thread Mark Eggers
Hi Jerry / James, On 4/6/2020 1:59 PM, Jerry Malcolm wrote: > Hi James, > > I've been using this precise setup for years, first on a dedicated > hosted server and recently on EC2/Linux2.  I use mod_jk. > > The first step is to make sure httpd recognizes all of the domain names > and subdomains. 

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

2020-04-06 Thread Mark Eggers
James, On 4/6/2020 12:53 PM, James H. H. Lampert wrote: > Here is the situation: > > We have an existing Amazon EC2 instance, running Amazon Linux 2, with an > Apache httpd server already running our web sites (for argument's sake, > "foo.com," "bar.com," and "baz.com."), and already getting its

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

2020-04-06 Thread Jerry Malcolm
Hi James, I've been using this precise setup for years, first on a dedicated hosted server and recently on EC2/Linux2.  I use mod_jk. The first step is to make sure httpd recognizes all of the domain names and subdomains.  That includes the vhost definitions of all of the domains and

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

2020-04-06 Thread Peter Kreuser
James, > Am 06.04.2020 um 21:53 schrieb James H. H. Lampert : > > Here is the situation: > > We have an existing Amazon EC2 instance, running Amazon Linux 2, with an > Apache httpd server already running our web sites (for argument's sake, > "foo.com," "bar.com," and "baz.com."), and already

Re: Tomcat embedded

2020-04-06 Thread Tommy Pham
On Mon, Apr 6, 2020 at 7:24 AM Mark Thomas wrote: > > Check if JasperInitializer has been called. Depending on how you > configure things, you'll need to do that explicitly. > > Mark > > Hi Mark, Your one suggestion helped me resolve this issue and another (WebSocket) in less than 10 minutes

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

2020-04-06 Thread James H. H. Lampert
Here is the situation: We have an existing Amazon EC2 instance, running Amazon Linux 2, with an Apache httpd server already running our web sites (for argument's sake, "foo.com," "bar.com," and "baz.com."), and already getting its certs from Let's Encrypt, using "foo.com" as the CN, with

Re: JNI memory leak?

2020-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/3/20 21:48, Mark Boon wrote: > For the past few months we’ve been trying to trace what looks like > gradual memory creep. After some long-running experiments it seems > due to memory leaking when jni_invoke_static(JNIEnv_*, JavaValue*, >

Re: [EXTERNAL] Re: Tomcat Connection Rest Error

2020-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary, On 4/5/20 12:08, Hua, Gary - Saint Louis, MO - Contractor wrote: > You are right this is INFO message and not an ERROR. > > We didn't find anything in the log that suggesting there is a > successful connection.What those successful

Re: JNI memory leak?

2020-04-06 Thread calder
> On Sat, Apr 4, 2020 at 10:39 AM Thomas Meyer wrote: > > April 2020 14:53:17 MESZ schrieb calder wrote: [ snip ] > >So, ultimately, I'm confused why we think Tomcat is "to blame" as > >there is no evidence it uses JNI. > >It's my experience JNI memory issues are related to the Java JNI or >

Re: Aw: Re: /META-INF/resources/ and Chrome's DevTools

2020-04-06 Thread Mark Thomas
On 06/04/2020 09:16, Peter Rader wrote: > Hello Konstantin Kolinko, > > I tried to use the PreResource but it does not work. > > 2020-04-06 10:13:05 WARNUNG org.apache.tomcat.util.digester.Digester > endElement No rules found matching 'Context/Resources/PreResources'. > > This is my

Re: Tomcat embedded

2020-04-06 Thread Mark Thomas
On 06/04/2020 01:07, Tommy Pham wrote: > On Sun, Apr 5, 2020 at 3:47 PM Tommy Pham wrote: > >> Hi Mark, >> >> I've finally started my embedded Tomcat project. I'm running into NPE for >> the JSP servlet. From the log: >> >> https://pastebin.com/thiADVYE >> >> I think I have everything setup

Aw: Re: /META-INF/resources/ and Chrome's DevTools

2020-04-06 Thread Peter Rader
Hello Konstantin Kolinko, I tried to use the PreResource but it does not work. 2020-04-06 10:13:05 WARNUNG org.apache.tomcat.util.digester.Digester endElement No rules found matching 'Context/Resources/PreResources'. This is my context.xml

Re: Configure Tomcat for specific Urls on specific Port

2020-04-06 Thread Martin Grigorov
Hi, On Mon, Apr 6, 2020 at 9:32 AM Vijay Roy wrote: > Hi Team , > > We are using tomcat in one of our projects and we have tomcat ports 8080 > and 8081 opened by the following configurations. > >server="" >connectionTimeout="2" >

Configure Tomcat for specific Urls on specific Port

2020-04-06 Thread Vijay Roy
Hi Team , We are using tomcat in one of our projects and we have tomcat ports 8080 and 8081 opened by the following configurations. Now we want to allow only specific url on each port. For eg urls contaning text /request1 should be allowed to access only on port 8080 and if /request1 is