Re: RFC7807 ErrorReportValve

2020-07-06 Thread Thomas Meyer
Am 5. Juli 2020 11:28:40 MESZ schrieb Michael Osipov : >Am 2020-07-02 um 21:30 schrieb Thomas Meyer: >> Hi, >> >> What are your opinions on providing a RFC7807 based ErrorReportValve >as part of Tomcat default distribution? > >Thomas, this has been bugging me

Re: Add custom Authenticator in context.xml

2020-07-06 Thread Thomas Meyer
Am 6. Juli 2020 14:14:59 MESZ schrieb Mark Thomas : >On 04/07/2020 19:54, Thomas Meyer wrote: >> Hi, >> >> a while ago I did write a little POC of how to add a custom >> authenticator scheme to tomcat. >> >> this is what I did come u

Add custom Authenticator in context.xml

2020-07-04 Thread Thomas Meyer
Hi, a while ago I did write a little POC of how to add a custom authenticator scheme to tomcat. this is what I did come up with: https://github.com/thomasmey/BearerTokenAuthenticator It's rather complicated solution! Is there an more easy solution to add a custom authenticator scheme to a

Re: RFC7807 ErrorReportValve

2020-07-03 Thread Thomas Meyer
Am 2. Juli 2020 21:45:53 MESZ schrieb Mark Thomas : >On 02/07/2020 20:30, Thomas Meyer wrote: >> Hi, >> >> What are your opinions on providing a RFC7807 based ErrorReportValve >as part of Tomcat default distribution? > >RFC 7807 looks to be application specific

RFC7807 ErrorReportValve

2020-07-02 Thread Thomas Meyer
Hi, What are your opinions on providing a RFC7807 based ErrorReportValve as part of Tomcat default distribution? With kind regards Thomas - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Tomcat session replication

2020-07-01 Thread Thomas Meyer
Am 1. Juli 2020 12:21:46 MESZ schrieb Mark Thomas : >On 01/07/2020 11:19, Thomas Meyer wrote: >> Am 30. Juni 2020 11:07:36 MESZ schrieb Mark Thomas >: >>> On 29/06/2020 21:41, Christopher Schultz wrote: >>>> Mark, >>>> >>>> On 6/27/20 05

Re: Tomcat session replication

2020-07-01 Thread Thomas Meyer
Am 30. Juni 2020 11:07:36 MESZ schrieb Mark Thomas : >On 29/06/2020 21:41, Christopher Schultz wrote: >> Mark, >> >> On 6/27/20 05:29, Mark Thomas wrote: >>> On 27/06/2020 10:19, Thomas Meyer wrote: >>>> Hi, >>>> >>>> A few ques

Re: Small patch for mod_proxy_ajp

2020-06-29 Thread Thomas Meyer
Am 29. Juni 2020 22:13:10 MESZ schrieb Christopher Schultz : >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >All, > >IMO mod_proxy_balancer is missing an important feature, and that's the >ability to tell the back-end Tomcat node the current status of the >worke >r. Why would a tomcat

Re: Tomcat session replication

2020-06-29 Thread Thomas Meyer
Am 29. Juni 2020 22:54:12 MESZ schrieb Christopher Schultz : >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Thomas, Hi, > >On 6/27/20 05:52, Thomas Meyer wrote: >> Am 27. Juni 2020 11:29:03 MESZ schrieb Mark Thomas >> : >>> On 27/06/2020 10:19, Thoma

Re: Tomcat session replication

2020-06-27 Thread Thomas Meyer
Am 27. Juni 2020 11:29:03 MESZ schrieb Mark Thomas : >On 27/06/2020 10:19, Thomas Meyer wrote: >> Hi, >> >> A few questions regarding tomcat session replication: > >load-balancing and session replication are two separate parts of an >overall clustering solution. >

Tomcat session replication

2020-06-27 Thread Thomas Meyer
Hi, A few questions regarding tomcat session replication: 1) is the jvmRoute attribute on Engine object necessary for session replication to work correctly? 2) does session replication only work correctly with sticky load balancer routing? My setup is 1) load balancer without sticky session

Re: JNI memory leak?

2020-04-04 Thread Thomas Meyer
Am 4. April 2020 14:53:17 MESZ schrieb calder : >On Fri, Apr 3, 2020 at 8:48 PM 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_*,

Re: Client cert auth on demand

2020-02-29 Thread Thomas Meyer
Am 29. Februar 2020 13:10:13 MEZ schrieb Mark Thomas : >On 29/02/2020 11:23, Michael Osipov wrote: >> Am 2020-02-29 um 12:13 schrieb Mark Thomas: >>> On 29/02/2020 11:07, Michael Osipov wrote: Am 2020-02-29 um 12:05 schrieb Mark Thomas: > On 29/02/2020 10:40, Michael Osipov wrote: >>> >>>

Re: Client cert auth on demand

2020-02-29 Thread Thomas Meyer
Am 27. Februar 2020 10:58:01 MEZ schrieb "Martynas Jusevičius" : >Hi list, > >I'm using a Docker image based on tomcat:8.0-jre8. It serves as an >end-user facing webapp but also as a REST API which authenticates >using client certificates. The same URLs serve both purposes, however >only

Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-07-25 Thread Thomas Meyer
Am 25. Juli 2019 08:07:18 MESZ schrieb Clemens Wyss DEV : >Note: I have moved this "issue" over to the tomcat-dev mailinglist ... > >-Ursprüngliche Nachricht- >Von: Clemens Wyss DEV >Gesendet: Mittwoch, 24. Juli 2019 11:07 >An: 'Tomcat Users List' >Betreff:

Re: [ANN] Apache Tomcat 8.5.43 available

2019-07-10 Thread Thomas Meyer
Am 10. Juli 2019 13:06:50 MESZ schrieb Mark Thomas : Hi, >The notable changes since 8.5.42 >include: >- Update to Tomcat Native 1.2.23 including Windows binaries built > with OpenSSL 1.1.1c Btw. are the prebuild tomcat native libraries are also available from maven central? If not, could they

AW: Tomcat Hackathon - Brussels Belgium - 4/5 May 2019

2019-04-04 Thread Thomas Meyer
Hi, a PropertySource that uses environment variables as source would be nice. I.e. an OpenShift/Kubernetes Secret mapped into environemnt variables that can be used in server.xml or context.xml! With Kind regards Thomas Von: Mark Thomas Gesendet: Donnerstag, 4. April 2019 16:29 An: Tomcat

How to add an header field to all requests unconditionally

2019-03-13 Thread Thomas Meyer
Hi, what would be the easiest way to uncoditionally add an header field to all requests coming from a given connector? I searched the provided Valves but there seems to be no support for my requirment. with kind regards thomas

Re: Thread.sleep CPU time

2017-05-10 Thread Thomas Meyer
> Am 10.05.2017 um 12:02 schrieb Oliver Fernandez > : > > But, is it correct Thread to be sleep? Basically yes. But Brendan Gregg had yesterday an interesting article about CPU utilization in modern OSes -

Tomcat base directory layout

2017-03-25 Thread Thomas Meyer
Hi, Does there exists a small helper tool that can create the minimum necessary directories and files in a new CATALINA-BASE directory ? Or a template zip file or something like this? Such a tool would be helpful, because I always struggle what directories are minimum necessary to start a

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Thomas Meyer
With kind regards Thomas > Am 17.03.2017 um 14:54 schrieb Christopher Schultz > : >> Note that Java *never* gives any memory back to the OS, even when the > heap-usage goes down. This is a Java thing, not a Tomcat thing. > Are you sure about this? I think I've

Spring fails with Tomcat 8.0.41 and unpackWARs=false

2017-03-08 Thread Thomas Meyer
Hi, if anybody else is hitting this: This commit seems to have broken the Spring when running under Tomcat with unpackWARs=false - https://github.com/apache/tomcat80/commit/7e767cc6efe79cdd367213da3c1f88711a29ad7a#diff-a72fb99b0729353084d2c437f749e718 I did open a Jira Bug report against

Re: Best way to find out how many DB connections that are open at any given time

2017-01-12 Thread Thomas Meyer
You may also want to have a look at flexy pool - https://github.com/vladmihalcea/flexy-pool With kind regards Thomas With kind regards Thomas > Am 11.01.2017 um 01:36 schrieb Joleen Barker : > > As always, thank you Christopher, I'll take a look at the slides. > >

Re: Custom Authenticator

2016-06-04 Thread Thomas Meyer
Am Mittwoch, den 01.06.2016, 09:29 -0400 schrieb Christopher Schultz: > Thomas, > > On 6/1/16 7:15 AM, Thomas Meyer wrote: > > > > Hi, > > > > How do I get a custom mapping set in  > > ContextConfig.setCustomAuthenticators? (  > > https://tomcat.apac

Custom Authenticator

2016-06-01 Thread Thomas Meyer
Hi, How do I get a custom mapping set in ContextConfig.setCustomAuthenticators? ( https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/startup/ContextConfig.html#setCustomAuthenticators(java.util.Map) ) I want to add a custom mapping for lets say BEARER to a my Authenticator.

Question regarding parseRequestLine

2016-05-10 Thread Thomas Meyer
Hi, I noticed that I can block tomcat 8 by opening 200 connection to the http 1.1 connector and send 512 bytes of zero in each connection. Tomcat 8 seems to block in parseRequestLine() method for 20 seconds (connectionTimeout) and times out after that. The blocking seems to happen while waiting