Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
Thanks Rémy and Mark for the quick feedback and explanations! On Mar 19, 2014 6:40 PM, Mark Thomas ma...@apache.org wrote: On 19/03/2014 17:04, Rémy Maucherat wrote: 2014-03-19 17:47 GMT+01:00 Yann Simon yann.simon...@gmail.com: This is because you're forking a thread, it won't

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
One option I am trying is to ignore onAllDataRead and to use sevletInputStream.isFinished to know when the body is totally consumed: https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.java#L55 Is it a dumb idea? 2014-03-20 7:42 GMT+01:00 Yann Simon

Re: 回复: tomcat 5 logs

2014-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 改变自己, On 3/20/14, 12:30 AM, 改变自己 wrote: the source of my problem is that in the application ,we just used many system.out sentence as a log output instead of using log4j, because it is really a old applicaiton ; now we need to capture the the

Re: Trouble registering an MBean with mbeans-descriptors.xml

2014-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/19/14, 12:24 PM, Christopher Schultz wrote: All, I'm trying to write my own MBean, and I have it working: the bean is registered and I can browse it using jconsole, etc., call methods, etc. At one point during the process, I

?????? ?????? tomcat 5 logs

2014-03-20 Thread ????????
thank you very much for your detailed explanation , now i just resolved it with another way, i used a cronlog.exe which is a executable file and can be used for produce daily files; and other configration is the same as my primary way. thank you all the same! best regards

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
Thanks for all your input, I think I have now an implementation that works on Tomcat and Jetty. By testing it, I've found something that can be an interesting information for you. The upload variant with forking a new thread is very very slow. My non scientific tests by uploading a file from 1.4

RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-20 Thread Seema Patel
I think I have fixed the error I had. I have downgraded to Java 6 update 45, to see if it worked on there, but it didn't. I stayed with Java 6 to try and resolve the issue. Basically in my WEB-INF/web.xml file I have the following: filter-mapping filter-nameAuth Filter/filter-name

Server Tomcat v7.0 Server at localhost failed to start.

2014-03-20 Thread Frank Lugalla
Hi Guys Below are my log,my Tomcatv7 wont start.i tried to unstall and reinstall the server but with no avail.any idea on this please?Tomcat just says Server Tomcat v7.0 Server at localhost failed to start. And gives the below error

Re: Server Tomcat v7.0 Server at localhost failed to start.

2014-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 3/20/14, 1:03 PM, Frank Lugalla wrote: INFO: Initializing ProtocolHandler [http-bio-8443] Mar 20, 2014 11:54:02 AM org.apache.tomcat.util.net.jsse.JSSESocketFactory getStore SEVERE: Failed to load keystore type JKS with path

Re: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-20 Thread Konstantin Kolinko
2014-03-20 20:55 GMT+04:00 Seema Patel seema...@hotmail.com: I think I have fixed the error I had. I have downgraded to Java 6 update 45, to see if it worked on there, but it didn't. I stayed with Java 6 to try and resolve the issue. Basically in my WEB-INF/web.xml file I have the

RE: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-20 Thread Seema Patel
Date: Thu, 20 Mar 2014 21:12:09 +0400 Subject: Re: HttpServletRequest Tomcat 5.5.29 to 7.0.52 From: knst.koli...@gmail.com To: users@tomcat.apache.org 2014-03-20 20:55 GMT+04:00 Seema Patel seema...@hotmail.com: I think I have fixed the error I had. I have downgraded to Java 6 update

Re: WebSocket - very slow socket write (~15 min)

2014-03-20 Thread Rossen Stoyanchev
Hi- Any comments? I suspect an issue with the reliability of the timeout setting on Linux since the same behaves more reliably on Windows. In any case a 15 minute write to a socket with timeout setting of 20 seconds seems like a bug. Thanks On Wed, Mar 19, 2014 at 10:19 PM, Rossen Stoyanchev

Re: HttpServletRequest Tomcat 5.5.29 to 7.0.52

2014-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Seems, On 3/20/14, 1:52 PM, Seema Patel wrote: Date: Thu, 20 Mar 2014 21:12:09 +0400 Subject: Re: HttpServletRequest Tomcat 5.5.29 to 7.0.52 From: knst.koli...@gmail.com To: users@tomcat.apache.org 2014-03-20 20:55 GMT+04:00 Seema Patel

Re: Trouble registering an MBean with mbeans-descriptors.xml

2014-03-20 Thread Konstantin Kolinko
2014-03-19 20:24 GMT+04:00 Christopher Schultz ch...@christopherschultz.net: I'm trying to write my own MBean, and I have it working: the bean is registered and I can browse it using jconsole, etc., call methods, etc. At one point during the process, I believe I had the beans-descriptors.xml