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