Re: [OT] [Fwd: TomEE Professional Support]

2013-11-14 Thread Pid
On 13/11/2013 14:53, Gurkan Erdogdu wrote: Hello all, When an Apache project founder[1] starts spamming the Apache community, Sorry but how could you say spamming the Apache Community? without knowing me and how I have been contributing to the Apache community and projects? It's

RE: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Bley, Stefan
Yes we have our own Valve which, through the inheritance structure of Picketlink, extends FormAuthenticator. When it comes to saveRequest() the is.read() returns -1. If in.read() returns -1 it means that the stream has no more data in it. Does that mean the stream has already been read? Or

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-14 Thread André Warnier
Pid wrote: On 13/11/2013 14:53, Gurkan Erdogdu wrote: Hello all, When an Apache project founder[1] starts spamming the Apache community, Sorry but how could you say spamming the Apache Community? without knowing me and how I have been contributing to the Apache community and projects? It's

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-14 Thread James Green
I received this too. This is deeply wrong. I subscribed to Apache lists, not a commercial one. I look forward to seeing what the investigation reveals and what actions take place. On 14 November 2013 08:25, Pid p...@pidster.com wrote: On 13/11/2013 14:53, Gurkan Erdogdu wrote: Hello all,

Re: Tomcat restart utility

2013-11-14 Thread Leon Rosenberg
Hello Vicky, et al, I think the easiest way to give the developers the restart capabilities is to get them ssh access to the user that is running tomcat. This is easy, secure and convenient. regards Leon On Thu, Nov 14, 2013 at 4:50 AM, vicky vicky007aggar...@yahoo.co.in wrote: Thanks Chris,

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-14 Thread Mark Thomas
On 14/11/2013 09:38, James Green wrote: I received this too. This is deeply wrong. I subscribed to Apache lists, not a commercial one. I look forward to seeing what the investigation reveals and what actions take place. With my list moderator/owner hat on. I have confirmed that only the list

Re: Tomcat restart utility

2013-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 11/14/13, 5:37 AM, Leon Rosenberg wrote: Hello Vicky, et al, I think the easiest way to give the developers the restart capabilities is to get them ssh access to the user that is running tomcat. This is easy, secure and

Re: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 11/14/13, 3:51 AM, Bley, Stefan wrote: Yes we have our own Valve which, through the inheritance structure of Picketlink, extends FormAuthenticator. When it comes to saveRequest() the is.read() returns -1. Okay. If in.read()

RE: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Bley, Stefan
Thanks Chris. When you say request input buffer, which buffer do you mean? I haven't looked at the code in a while, but the FormAuthenticator may parse POST multipart/form-data into individual parameters, thus draining the input stream in the process. Perhaps you are looking for your missing

Re: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 11/14/13, 9:27 AM, Bley, Stefan wrote: When you say request input buffer, which buffer do you mean? I haven't looked at the code in a while, but the FormAuthenticator may parse POST multipart/form-data into individual parameters,

RE: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Bley, Stefan
Does your extended-FormAuthenticator ever call any of the getParameter* family of methods (that is, before saveRequest is called)? If so, you are triggering the parsing of the input stream, which evidently is discarded if the FormAuthenticator decides it needs to save the request. If you

Re: FormAuthenticator: saveRequest does not preserve body

2013-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 11/14/13, 10:01 AM, Bley, Stefan wrote: Does your extended-FormAuthenticator ever call any of the getParameter* family of methods (that is, before saveRequest is called)? If so, you are triggering the parsing of the input stream,

Re: Reg: Connection pool stats

2013-11-14 Thread Daniel Mikusa
On Nov 14, 2013, at 2:23 AM, Anu Prab anupr...@gmail.com wrote: On Nov 11, 2013, at 12:59 AM, Anu Prab anupr...@gmail.com wrote: On Nov 7, 2013, at 11:58 PM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat 7.0.42 and Tomcat jdbc pool. Just to be perfectly clear, how are you using

Re: Tomcat restart utility

2013-11-14 Thread vicky
Isn't  the tomcat restart is needed in case I need to deploy the war files manually cleaning the work temp directories (just to clean the cache)     From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, 14 November 2013 8:11 AM

Re: Tomcat restart utility

2013-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 11/14/13, 1:56 PM, vicky wrote: Isn't the tomcat restart is needed in case I need to deploy the war files manually cleaning the work temp directories (just to clean the cache) A re-deploy should clean everything, and can be done

webdav servlet - embedding and customized access

2013-11-14 Thread Ioan Eugen Stan
Hello there, I have to implement a webdav server integrated with my Java application and I wish to know if I can use tomcat Webdav Servlet. I have some accounts, each account with it's own space and it's own users. I wish to give users access to their account space. I've tried milton and I'm not

Re: minIdle not being enforced and connections are getting closed instead of returning to the pool

2013-11-14 Thread Srikanth
Hi Daniel, Thank you very much for responding to the query. How do you know it is creating a new connection? Are you monitoring the number of active / idle connections in the pool? What numbers do you see? Actually I was logging the time taken to get the Connection from pool and it was