Re: Resource leak for WebSockets closed with NOT_CONSISTENT reason

2019-07-29 Thread Kirill Ilyukhin
Hello Mark, Please see the test case and Tomcat JVM heap dump screenshot attached. For sake of simplicity I do Thread.sleep() in client code instead of reading bytes from server. Test configuration is the following: Server version:Apache Tomcat/8.5.3 Server built: Jun 9 2016

Re: Password is not working properly

2019-07-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 7/29/19 08:36, Konstantin Kolinko wrote: > чт, 25 июл. 2019 г. в 17:23, Support : >> >> Hi Sir, >> >> I am using tomcat 9 for my application. For my admin page, I have >> a username and password in conf/tomcat-user.xml. Using

Re: Tomcat manager keystore reload

2019-07-29 Thread Joseph Dornisch
> Joseph, > > On 7/25/19 11:53, Joseph Dornisch wrote: > > Hello, > > > > I have a CRL configured in my tomcat server configuration. If I > > update it and want to have Tomcat refresh it, I can login into > > https://127.0.0.1/manager/html and click the "Re-read" button > > under

Re: Resource leak for WebSockets closed with NOT_CONSISTENT reason

2019-07-29 Thread Mark Thomas
On 26/07/2019 10:33, Kirill Ilyukhin wrote: > Hello, > > When Tomcat receives WebSocket text message with invalid UTF-8, it closes > this connection with NOT_CONSISTENT reason. But after that some objects > (WsSession, UpgradeHandler, etc) stay in heap forever. They are referenced > from

Re: Can Tomcat ignore overridden jar

2019-07-29 Thread Jmeter Tea
Thanks Konstantin Kolinko for feature refernce, We are uploading jar(s) only, is it still relevant? On Mon, Jul 29, 2019 at 4:06 PM Konstantin Kolinko wrote: > вс, 28 июл. 2019 г. в 09:26, Jmeter Tea : > > > > We are using Tomcat 8.5 *without any hot deploy*, > > > > I assume that classes are

Re: Can Tomcat ignore overridden jar

2019-07-29 Thread Konstantin Kolinko
вс, 28 июл. 2019 г. в 09:26, Jmeter Tea : > > We are using Tomcat 8.5 *without any hot deploy*, > > I assume that classes are loaded to memory and for example if class change > in jar it will ignore (not hot deploy) Mark have already answered your question. Adding to that: I think you should

Re: Password is not working properly

2019-07-29 Thread Konstantin Kolinko
чт, 25 июл. 2019 г. в 17:23, Support : > > Hi Sir, > > I am using tomcat 9 for my application. For my admin page, I have a > username and password in conf/tomcat-user.xml. > Using digest.sh, I encrypted my password(sha-256). > > password: Password > encrypted: 5er5akakfkd556546adnfjbkklndkfgbjdb

Re: Negative pattern match in rewrite rule is not as documented

2019-07-29 Thread Mark Thomas
On 24/07/2019 20:14, Michael Chen wrote: > Hi, > > The mention of using "NOT character ('!')" in rule patterns as negative > match no longer matches implementation: > > https://tomcat.apache.org/tomcat-8.5-doc/rewrite.html > > In the rules, the NOT character ('!') is also available as a

Re: Can Tomcat ignore overridden jar

2019-07-29 Thread Mark Thomas
On 28/07/2019 07:26, Jmeter Tea wrote: > We are using Tomcat 8.5 *without any hot deploy*, > > I assume that classes are loaded to memory and for example if class change > in jar it will ignore (not hot deploy) Correct. But, classes are only loaded as needed. Tomcat does not load every class in