Re: JMX 101 Question

2019-12-05 Thread Jerry Malcolm
Hi Chris, See below On 12/5/2019 1:07 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 12/5/19 13:42, Jerry Malcolm wrote: I'm trying to add some code to monitor my jdbc data connection pool. Before you do that, is this a pool that is application-mana

2020 ASF Community Survey

2019-12-05 Thread Mark Thomas
Hello everyone, If you have an apache.org email, you should have received an email with an invitation to take the 2020 ASF Community Survey. Please take 15 minutes to complete it. If you do not have an apache.org email address or you didn’t receive a link, please follow this link to the survey: h

Re: Tomcat - No Fork for debugging?

2019-12-05 Thread Alex Scheel
- Original Message - > From: "Christopher Schultz" > To: users@tomcat.apache.org > Sent: Thursday, December 5, 2019 5:05:42 PM > Subject: Re: Tomcat - No Fork for debugging? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alex, > > On 12/5/19 15:18, Alex Scheel wrote: > > Hi a

Re: listing all applications in manager across configured virtual hosts

2019-12-05 Thread Guild, Jason A (DOT)
The general idea seems like a reasonable use case. Yes, I will look into it and see what I can come up with in terms of a patch we can try. Jason On 12/5/2019 1:08 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jason, > > On 12/5/19 14:08, Guild, Jason A (D

Re: host [:] is not valid error in catalina.out

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark and Kushagra, On 12/5/19 13:11, Mark Thomas wrote: > On 05/12/2019 17:10, Kushagra Bindal wrote: >> Thanks Mark for your response. >> >> In which version tomcat has introduced these restrictions > > Check the changelog. Look for "validation".

Re: listing all applications in manager across configured virtual hosts

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jason, On 12/5/19 14:08, Guild, Jason A (DOT) wrote: > Hi all: > > We have configured a Tomcat with two virtual hosts, one for hosting > client-facing applications on a "vanity" name, and the other for > the "machine" which hosts private URLs for a

Re: Tomcat - No Fork for debugging?

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 12/5/19 15:18, Alex Scheel wrote: > Hi all, > > I've tried searching to no avail. > > I'm working on a(nother) SSL adapter. However, I've had some issues > with it. There's a native component and I'm trying to tease apart > its relationsh

Re: Bouncing Tomcat from HTTPD?

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 12/5/19 13:56, Jerry Malcolm wrote: > I was stuck in traffic an hour from the office when I got a text > that one of my sites had gone down. If I'd been in the office, I'd > try bouncing TC first just to try to get the client back online,

Tomcat - No Fork for debugging?

2019-12-05 Thread Alex Scheel
Hi all, I've tried searching to no avail. I'm working on a(nother) SSL adapter. However, I've had some issues with it. There's a native component and I'm trying to tease apart its relationship with why the client won't handshake. The stack traces aren't overly helpful and I'd love to attach gdb t

Re: Intermittent JSP Caching/Compiling Issue while under load

2019-12-05 Thread Mark Thomas
On 05/12/2019 19:17, Tim K wrote: > Was the fix for this added to 9.0.28 or 9.0.29 official releases? 9.0.28 but it triggered multiple regressions that will be fixed in 9.0.30. Mark - To unsubscribe, e-mail: users-unsubscr...@to

Re: Intermittent JSP Caching/Compiling Issue while under load

2019-12-05 Thread Tim K
Was the fix for this added to 9.0.28 or 9.0.29 official releases? Thanks, Tim

listing all applications in manager across configured virtual hosts

2019-12-05 Thread Guild, Jason A (DOT)
Hi all: We have configured a Tomcat with two virtual hosts, one for hosting client-facing applications on a "vanity" name, and the other for the "machine" which hosts private URLs for access to admin/diagnostic functions by admins only. We have an instance of Tomcat manager on the running just

Re: JMX 101 Question

2019-12-05 Thread Luis Rodríguez Fernández
Hello Jerry, To be tested, but perhaps connectionProperties can help you on this? [1] Hope it helps, Luis [1] https://tomcat.apache.org/tomcat-9.0-doc/jdbc-pool.html El jue., 5 dic. 2019 a las 19:42, Jerry Malcolm () escribió: > I'm trying to add some code to monitor my jdbc data connection p

Re: JMX 101 Question

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 12/5/19 13:42, Jerry Malcolm wrote: > I'm trying to add some code to monitor my jdbc data connection > pool. Before you do that, is this a pool that is application-managed? If Tomcat is managing the connection pool, then none of this is n

Bouncing Tomcat from HTTPD?

2019-12-05 Thread Jerry Malcolm
I was stuck in traffic an hour from the office when I got a text that one of my sites had gone down.  If I'd been in the office, I'd try bouncing TC first just to try to get the client back online, then dig into the logs to figure out what happened.  But while driving on the freeway, there's no

Re: Double Slash Support in Tomcat 9.0.27

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kushagra, On 12/5/19 11:44, Kushagra Bindal wrote: > Hi Chris > > Thanks for your detailed explanation. > > As I mentioned in my earlier email as well, I encountered this in > two case 1. // prior to contextpath i.e. in ur case //examples. 2. > //

JMX 101 Question

2019-12-05 Thread Jerry Malcolm
I'm trying to add some code to monitor my jdbc data connection pool.  Each time a connection is requested, I have some jmx code that logs values from the datasource mbean.  I haven't done much jmx coding.  So consider me a rookie on this topic.  I found some code on the web that does pretty muc

Re: host [:] is not valid error in catalina.out

2019-12-05 Thread Mark Thomas
On 05/12/2019 17:10, Kushagra Bindal wrote: > Thanks Mark for your response. > > In which version tomcat has introduced these restrictions Check the changelog. Look for "validation". > and is there any > available documentation around such cases which could help me in > understanding the nature

Re: host [:] is not valid error in catalina.out

2019-12-05 Thread Kushagra Bindal
Thanks Mark for your response. In which version tomcat has introduced these restrictions and is there any available documentation around such cases which could help me in understanding the nature of restrictions. On Thu, Dec 5, 2019, 10:31 PM Mark Thomas wrote: > On 05/12/2019 16:58, Kushagra B

Re: host [:] is not valid error in catalina.out

2019-12-05 Thread Mark Thomas
On 05/12/2019 16:58, Kushagra Bindal wrote: > Hi Mark > > Yes that's correct that we are getting this error after startup. Actually > in one of my url I am having extra : and thus resulting in failure. Same > url was working properly in 8.5.24 version. Actually I can understand that > this is not

Re: host [:] is not valid error in catalina.out

2019-12-05 Thread Kushagra Bindal
Hi Mark Yes that's correct that we are getting this error after startup. Actually in one of my url I am having extra : and thus resulting in failure. Same url was working properly in 8.5.24 version. Actually I can understand that this is not a good practice to have extra : but making such changes

Re: Double Slash Support in Tomcat 9.0.27

2019-12-05 Thread Kushagra Bindal
Hi Chris Thanks for your detailed explanation. As I mentioned in my earlier email as well, I encountered this in two case 1. // prior to contextpath i.e. in ur case //examples. 2. // in url i.e. //HelloWorldExample. In both cases I was getting 404 error. This is a running application with same /

Re: Tomcat Crashed when the concurrent Users reached 150

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jayaram, On 12/5/19 03:19, Jayaram Ponnusamy wrote: > We are using apache 2.2.21 on RHEL6.9 and in Backend we are using > Tomcat AppServer with JavaBased CMS. Our Server Architecture is > *(F5 [For Load Balance] -> Apache WebServer [For Redirection

Re: http2 async timeout setting

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Afief, On 12/5/19 00:47, Arief Hasani wrote: > Seems like AsyncContext.setTimeout is not working if using http2 > (clients are chome, firefox, safari on mac). It runs well on > http1.1 Seems like posting some sample code with your expectations and

Re: Double Slash Support in Tomcat 9.0.27

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/5/19 04:55, André Warnier (tomcat/perl) wrote: > Christopher, > > I believe that the problem of the OP is that either this filter or > the application, *relies* on the fact that Tomcat would NOT > collapse multiple consecutive slashes

Re: Double Slash Support in Tomcat 9.0.27

2019-12-05 Thread tomcat/perl
Christopher, I believe that the problem of the OP is that either this filter or the application, *relies* on the fact that Tomcat would NOT collapse multiple consecutive slashes in the URL, to a single slash. That (the non-collapsing) seems to have been the case in some previous versions of Tom

Re: Tomcat Crashed when the concurrent Users reached 150

2019-12-05 Thread Mark Thomas
On 05/12/2019 08:19, Jayaram Ponnusamy wrote: > Hello, > We are using apache 2.2.21 on RHEL6.9 and in Backend we are using Tomcat > AppServer with JavaBased CMS. > Our Server Architecture is *(F5 [For Load Balance] -> Apache WebServer [For > Redirection & URL Mapping] -> Tomcat AppServer [Running

Tomcat Crashed when the concurrent Users reached 150

2019-12-05 Thread Jayaram Ponnusamy
Hello, We are using apache 2.2.21 on RHEL6.9 and in Backend we are using Tomcat AppServer with JavaBased CMS. Our Server Architecture is *(F5 [For Load Balance] -> Apache WebServer [For Redirection & URL Mapping] -> Tomcat AppServer [Running a Java Based CMS]).* We are using Apache to connect T