Re: Resource leak for WebSockets closed with NOT_CONSISTENT reason

2019-07-30 Thread Kirill Ilyukhin
NioEndpoint$Acceptor Do you think it might be Tomcat configuration dependent? Please see my server.xml below. Thank you, Kirill On Tue, 30 Jul 2019 at 21:45, Mark Thomas wrote: > On 30/07/

Re: Resource leak for WebSockets closed with NOT_CONSISTENT reason

2019-07-29 Thread Kirill Ilyukhin
in production environments was not found on the java.library.path: ... Thank you, Kirill On Tue, 30 Jul 2019 at 02:15, Mark Thomas wrote: > On 26/07/2019 10:33, Kirill Ilyukhin wrote: > > Hello, > > > > When Tomcat receives WebSocket text message with invalid UTF-8, it close

Resource leak for WebSockets closed with NOT_CONSISTENT reason

2019-07-26 Thread Kirill Ilyukhin
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 AbstractProtocol's connections map. This leak consistently

Re: [OT] HTTP2 gzip compression and Safari browser

2019-05-08 Thread Kirill Ilyukhin
< ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kirill, > > Is it a good idea to use TLS+gzip for dynamic services? > > http://breachattack.com/ > > ? > > - -chris > > On 5/8/19 08:27, Kirill Ilyukhi

Re: HTTP2 gzip compression and Safari browser

2019-05-08 Thread Kirill Ilyukhin
ssue with Apple. > > Mark > > > > On 08/05/2019 05:23, Kirill Ilyukhin wrote: > > Hi, > > > > I am trying to run Tomcat with HTTP/2 support. Everything works perfectly > > fine until I enable content compression. > > Google Chrome on Mac

HTTP2 gzip compression and Safari browser

2019-05-07 Thread Kirill Ilyukhin
Hi, I am trying to run Tomcat with HTTP/2 support. Everything works perfectly fine until I enable content compression. Google Chrome on Mac OS is OK with gzip compression. Apple Safari on Mac OS and iOS fail with “The operation couldn’t be completed. Protocol error” (NSPOSIXErrorDomain:100). iOS

Re: Webapp reload corrupts Tomcat

2013-02-24 Thread Kirill Ilyukhin
On Feb 22, 2013, at 22:32 , Daniel Mikusa dmik...@vmware.com wrote: On Feb 22, 2013, at 12:09 AM, Kirill Ilyukhin wrote: Hi! I have 5 servers with the following configuration: Windows Server 2008 R2 64-bit, Oracle JDK 1.7.0_11-b21 64-bit, Tomcat 7.0.35 running as a service. A few

Re: Webapp reload corrupts Tomcat

2013-02-24 Thread Kirill Ilyukhin
On 25.02.2013 2:10, Daniel Mikusa wrote: On Feb 24, 2013, at 11:48 AM, Kirill Ilyukhin wrote: On Feb 22, 2013, at 22:32 , Daniel Mikusa dmik...@vmware.com wrote: On Feb 22, 2013, at 12:09 AM, Kirill Ilyukhin wrote: Hi! I have 5 servers with the following configuration: Windows Server

Webapp reload corrupts Tomcat

2013-02-21 Thread Kirill Ilyukhin
Hi! I have 5 servers with the following configuration: Windows Server 2008 R2 64-bit, Oracle JDK 1.7.0_11-b21 64-bit, Tomcat 7.0.35 running as a service. A few webapps are running perfectly well under the Tomcat until one of them is reloaded. Reload of a webapp (either by pressing

Tomcat JNDI custom resource factory questions

2012-09-11 Thread Kirill Ilyukhin
Hi! I am using Tomcat 7.0.29 with a custom JNDI resource factory (http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories). The factory creates a connection to data server which then can be shared between servlets. Two questions regarding the resource

Right way to close database connection pool

2009-08-05 Thread Kirill Ilyukhin
I use database connection pool which is described in webapp's META-INF/context.html: Context Resource auth=Container scope=Unshareable name=jdbc/myDS type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://server/db ... / /Context