Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > Short Addendum: > > The "destroyed" flag gets set, when the dispose-method of the > GSSCredentialImpl was invoked. > Currently, I have no clue when and how it happens, but I have seen this > problem every few months.

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
Short Addendum: The "destroyed" flag gets set, when the dispose-method of the GSSCredentialImpl was invoked. Currently, I have no clue when and how it happens, but I have seen this problem every few months. So it is only occurring sometimes. Maybe if the Kerberos ticket expires and the http

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mike, I checked the last Java 17 Sources, the illegalStateException is still there: https://github.com/openjdk/jdk/blob/jdk-17%2B35/src/java.security.jgss/share/classes/sun/security/jgss/GSSCredentialImpl.java public int getRemainingLifetime() throws GSSException { if

Re: help with Valve

2021-11-23 Thread Rob Sargent
On 11/23/21 10:55 AM, Mark Thomas wrote: On 23/11/2021 17:42, Rob Sargent wrote: Thank you.  Does this look like a believable deployment (presuming the property is in fact set)?     cat ./localhost/sgs/META-INF/context-valve.xml     No. A context.xml file placed in META-INF

Re: help with Valve

2021-11-23 Thread Mark Thomas
On 23/11/2021 17:42, Rob Sargent wrote: Thank you.  Does this look like a believable deployment (presuming the property is in fact set)?    cat ./localhost/sgs/META-INF/context-valve.xml             No. A context.xml file placed in META-INF must be called context.xml The contents

Re: help with Valve

2021-11-23 Thread Rob Sargent
Thank you.  Does this look like a believable deployment (presuming the property is in fact set)? cat ./localhost/sgs/META-INF/context-valve.xml     On 11/23/21 10:38 AM, Mark Thomas wrote: On 23/11/2021 16:48, Rob Sargent wrote: Is the Access Log Valve available for use in an

Re: help with Valve

2021-11-23 Thread Mark Thomas
On 23/11/2021 16:48, Rob Sargent wrote: Is the Access Log Valve available for use in an embedded environment? Yes. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

help with Valve

2021-11-23 Thread Rob Sargent
Is the Access Log Valve available for use in an embedded environment?

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Mon, Nov 22, 2021 at 2:39 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Would it be better to also catch IllegalStateException and instead of > checking left == 0 to change it to left <= 0 ? I would argue that this is a bug in JGSS. JGSS has been a comedy of errors over the years. I thought

Re: Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread Mark Thomas
On 23/11/2021 13:34, Olaf Kock wrote: I don't have experience with this particular setup, but one sentence (in fact, one word) caught my attention: On 23.11.21 14:23, jkla...@iki.fi wrote: We're in the process of adopting ProxySQL in front of MySQL, to act as the connection pooler and for

Re: Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread Christopher Schultz
JK, On 11/23/21 08:23, jkla...@iki.fi wrote: I've been tasked with the maintenance of a client's legacy Tomcat 8.0 application servers. The person who initially configured Tomcat on them is no longer with the company, and I've basically been thrown into the deep end with no prior Tomcat or Java

Re: [OT] Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread Mark Thomas
On 23/11/2021 13:51, Richardson, Diane wrote: I get the emails but how can I send an email for assistance? Please don't hijack threads. See http://tomcat.apache.org/lists.html#taglibs-user Specifically, "Posting questions to the list" Mark

Re: [External] Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread Richardson, Diane
I get the emails but how can I send an email for assistance? From: jkla...@iki.fi Sent: Tuesday, November 23, 2021 8:23:50 AM To: users@tomcat.apache.org Subject: [External] Handling database connection pooling outside Java, without DBCP et al? This message

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, thank you very much for your lightning speed fix and answer  Have a nice day, Thomas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 22. November 2021 18:44 An: users@tomcat.apache.org Betreff: Re: Authentication with Browser stopped working / missing

Re: Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread Olaf Kock
I don't have experience with this particular setup, but one sentence (in fact, one word) caught my attention: On 23.11.21 14:23, jkla...@iki.fi wrote: > We're in the process of adopting ProxySQL in front of MySQL, to act as the > connection pooler and for separating read and write traffic to

Handling database connection pooling outside Java, without DBCP et al?

2021-11-23 Thread jkla...@iki.fi
I've been tasked with the maintenance of a client's legacy Tomcat 8.0 application servers. The person who initially configured Tomcat on them is no longer with the company, and I've basically been thrown into the deep end with no prior Tomcat or Java knowledge. Their Java developers are also