RE: Unable to access Global JNDI Resource

2016-10-03 Thread Chinoy Gupta
Hi Mark, Thanks for the info. But I am afraid the custom loader directly extends URLClassLoader. Actually my application is a generic web app which can be deployed in any ApplciationServer like tomcat, JBoss, etc. So I don't have any tomcat specific implementations. Regards, Chinoy

Re: ping websocket clients

2016-10-03 Thread Mark Thomas
On 03/10/2016 16:33, Cristian Lorenzetto wrote: > Using websockets with tomcat i saw the connection is never closed until > client closes it. Correct. > It sounds Ok just if server send ping frame to client. > Does tomcat make it? Tomcat does not send pings. That is an application

Re: HTTP/2 PushBuilder.push() synchronous?

2016-10-03 Thread Mark Thomas
On 29 September 2016 15:30:40 BST, Brian Clozel wrote: >Hi, > >Looking at previous Servlet 4.0 EG e-mails [1] and the >PushBuilder.push() >API [2], it seems the current version returns true if the PUSH_PROMISE >frame + headers were sent, meaning the client can still reset that

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Martijn Bos
On 2016-10-03 07:56:34, Tullio Bettinazzi wrote: > I've an application under tomcat. > When only a one or two users works on it everithing is ok. > When the number of users grows the application slows down. > Is not a memory nor a cpu problem : using top I see the system resources > quite free. >

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Leon Rosenberg
Hi Tullio, well I am biased of course, but there are multiple. First, profiles are never used in production, MoSKito is aimed for production use. Not test lab, not dev machine, production, hardcore on all servers you've got. Than MoSKito also offers analysis tools, thresholds, alerts, charts etc.

Re: Unable to access Global JNDI Resource

2016-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chinoy, On 9/30/16 12:24 PM, Chinoy Gupta wrote: > But the same thing is working in 8.0.36. I'm very sorry, I must have read your originally message incorrectly. I was thinking you were trying to map the UserDatabaseRealm into your web

Re: Trigger sessionDestroyed event from custom ManagerBase

2016-10-03 Thread Coty Sutherland
I set Gokul here from #tomcat on freenode :) Just for a bit more information (since it was excluded): Good UGT, i'm using java - 1.8.0_74, tomcat - 8.0.32, os - win 7 On Mon, Oct 3, 2016 at 12:38 PM, GOKULA KRISHNAN wrote: > Hi, > > I want to trigger the sessionDestroyed

Trigger sessionDestroyed event from custom ManagerBase

2016-10-03 Thread GOKULA KRISHNAN
Hi, I want to trigger the sessionDestroyed event from custom implementation of ManagerBase. sessionDestroyed is not called when session expires but called during session invalidate. I need to call sessionDestroyed during session time out. The class starts like this. *public class

ping websocket clients

2016-10-03 Thread Cristian Lorenzetto
Using websockets with tomcat i saw the connection is never closed until client closes it. It sounds Ok just if server send ping frame to client. Does tomcat make it? -if yes what is the ping interval?

Re: Async servlet and request recycling

2016-10-03 Thread Thomas Boniface
Hi, Thanks for your feedbacks. I noticed the issue I described do not occur on my local or integration environment. I still try to figure out how to reproduce this in an environment I can easely update to the latest tomcat version. Although it may not occur in latest release. Could you give me

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Tullio Bettinazzi
Please help me to understand diffrences beween Moskito and standard profilers. Tks Tullio Da: Leon Rosenberg Inviato: lunedì 3 ottobre 2016 14.29 A: Tomcat Users List Oggetto: Re: Strange wait time in my application - Tomcat 7.0.67

Re: Fwd: No longer able to use my own org.apache.catalina.authenticator.BasicAuthenticator in Tomcat 8.5.5

2016-10-03 Thread Mark Thomas
On 03/10/2016 14:20, Johannes Michler wrote: > Hi Mark, > > Thanks a lot for pointing out. Indeed I relied to much that I did not get > any faults and didn't check that part. I'll try with the renamed method > tomorrow, but I'm quite sure that will solve the issue. Great. > Regarding returning

Re: Fwd: No longer able to use my own org.apache.catalina.authenticator.BasicAuthenticator in Tomcat 8.5.5

2016-10-03 Thread Johannes Michler
Hi Mark, Thanks a lot for pointing out. Indeed I relied to much that I did not get any faults and didn't check that part. I'll try with the renamed method tomorrow, but I'm quite sure that will solve the issue. Regarding returning http 403 you suggest to do that in our custom basicauthenticator

Re: Fwd: No longer able to use my own org.apache.catalina.authenticator.BasicAuthenticator in Tomcat 8.5.5

2016-10-03 Thread Mark Thomas
On 01/10/2016 18:50, Johannes Michler wrote: > Hi, > > for our own web-application we overwrite the standard way of how Tomcat > BasicAuthenticator is working in order to avoid the popup of a > "Basic-Auth-Dialog" in some situations (where we're calling a service > provided by the tomcat over a

Re: Unable to access Global JNDI Resource

2016-10-03 Thread Mark Thomas
On 30/09/2016 13:34, Chinoy Gupta wrote: > Hi Mark, > > The following is added in server.xml: > > > >type="org.apache.catalina.UserDatabase" > description="User database that can be updated and saved" >

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Leon Rosenberg
Hi Tullio, you could download and integrate MoSKito -> http://www.moskito.org. After integration as described here blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1/ or here: http://www.moskito.org/integration.html you can start your application and setup a tracer. A tracer,

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Mark Thomas
On 03/10/2016 11:19, Tullio Bettinazzi wrote: > I already use Yourkit but it doesn't seems a load problem. > > The delay is not spread over all operaions but concentred in only one or two > and allways takes 4 secs more than the normal operation time. > > Could You suggest how to use Yourkit

Re: Is there a 6.0.x patch for CVE-2016-5388?

2016-10-03 Thread tomcat
On 03.10.2016 13:10, André Warnier (tomcat) wrote: On 03.10.2016 13:03, Vamsavardhana Reddy wrote: Hi, Is there a 6.0.x patch for CVE-2016-5388? I do not see it listed in https://tomcat.apache.org/security-6.html . Hi. If you really mean "patch", see http://tomcat.apache.org/security.html

Re: Is there a 6.0.x patch for CVE-2016-5388?

2016-10-03 Thread tomcat
On 03.10.2016 13:03, Vamsavardhana Reddy wrote: Hi, Is there a 6.0.x patch for CVE-2016-5388? I do not see it listed in https://tomcat.apache.org/security-6.html . Hi. If you really mean "patch", see http://tomcat.apache.org/security.html First paragraph. Also see

Is there a 6.0.x patch for CVE-2016-5388?

2016-10-03 Thread Vamsavardhana Reddy
Hi, Is there a 6.0.x patch for CVE-2016-5388? I do not see it listed in https://tomcat.apache.org/security-6.html . Thanks and best regards, Vamsi

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Tullio Bettinazzi
I already use Yourkit but it doesn't seems a load problem. The delay is not spread over all operaions but concentred in only one or two and allways takes 4 secs more than the normal operation time. Could You suggest how to use Yourkit in this schenario ? Tks Tullio

Re: Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Mark Thomas
On 03/10/2016 08:56, Tullio Bettinazzi wrote: > I've an application under tomcat. > When only a one or two users works on it everithing is ok. > When the number of users grows the application slows down. > Is not a memory nor a cpu problem : using top I see the system resources > quite free. > I

Strange wait time in my application - Tomcat 7.0.67

2016-10-03 Thread Tullio Bettinazzi
I've an application under tomcat. When only a one or two users works on it everithing is ok. When the number of users grows the application slows down. Is not a memory nor a cpu problem : using top I see the system resources quite free. I don't see relevant garbage collection : heap size and