nio ajp connector status

2010-09-05 Thread Anthony J. Biacco
Anybody know if there's any plans to make this connector production-ready in the near future for 6.x/7.x? Also, what the current major problems/gotchas are for it and the circumstances where it may be beneficial vs. APR AJP? Thanks much, -Tony --- Manager, IT Operations Fo

Re: URL Rewrite

2010-09-05 Thread Hassan Schroeder
On Sun, Sep 5, 2010 at 3:23 PM, michel wrote: > Or, uh, just don't *ever* use relative links, period. > Sorry, but I don't understand why. In most cases relative links are great, > simply because they are 'self-updating' when the page gets moved. ? Obviously not. If you move a page with relativ

Re: URL Rewrite

2010-09-05 Thread michel
- Original Message - From: "André Warnier" To: "Tomcat Users List" Sent: Sunday, September 05, 2010 11:38 AM Subject: Re: URL Rewrite michel wrote: ... André, I am not sure that I understand but I think that I do. In this case, I believe that HTML does interpret links in a nat

Re: URL Rewrite

2010-09-05 Thread michel
- Original Message - From: "Hassan Schroeder" To: "Tomcat Users List" Sent: Sunday, September 05, 2010 12:07 PM Subject: Re: URL Rewrite On Sun, Sep 5, 2010 at 8:38 AM, André Warnier wrote: The right solution would be to make sure that all the relative links in your pages, when t

Re: Errant slow request

2010-09-05 Thread Kevin
Hi Pid, On 9/5/2010 9:49 AM, Pid wrote: Which OS are you using? Windows 7, 32-bit One of the (non-access) log files in tomcat/logs might have a stacktrace in it. You are right. I found a NullPointerException in org.apache.catalina.core.AsyncContextImpl.doInternalComplete which occurs at

Re: Errant slow request

2010-09-05 Thread Kevin
Hi Rainer, On 9/5/2010 12:55 AM, Rainer Jung wrote: Can you share the Java thread dumps? If locking is involved, implementations are not necessarily fair. This can lead to such behaviour, especially when locks start to become overloaded. Here is a ZIP of four javacores: http://www.filesavr

Re: Errant slow request

2010-09-05 Thread Pid
On 05/09/2010 03:19, Kevin wrote: > Hi, I'm using Apache Bench (ab) to send 1,000 requests with a > concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, > 2010-09-03) which uses request.startAsync() and > Executors.newFixedThreadPool(10) to do the work and return a few bytes >

Re: URL Rewrite

2010-09-05 Thread Hassan Schroeder
On Sun, Sep 5, 2010 at 8:38 AM, André Warnier wrote: > The right solution would be to make sure that all the relative links in your > pages, when they are interpreted by the browser and requested from the > server, are also being caught by the rewriting mechanism on the server, and > properly redi

Re: URL Rewrite

2010-09-05 Thread André Warnier
michel wrote: ... André, I am not sure that I understand but I think that I do. In this case, I believe that HTML does interpret links in a natural way. Normally, the HTML picks up the base href from the toolbar. In the case of a forward with a clean URL in the toolbar, we already have an

Re: URL Rewrite

2010-09-05 Thread michel
- Original Message - From: "André Warnier" To: "Tomcat Users List" Sent: Sunday, September 05, 2010 10:25 AM Subject: Re: URL Rewrite Michel, michel wrote: ... Konstantin, I fixed the problem! The problem was in the links in the HTML code. If I do a redirect, then the URL in h

Re: URL Rewrite

2010-09-05 Thread André Warnier
Michel, michel wrote: ... Konstantin, I fixed the problem! The problem was in the links in the HTML code. If I do a redirect, then the URL in http: shows the true URL, and the links in the page were using it for building the reklative address. Example: with http://www.smith.com html cod

Re: URL Rewrite

2010-09-05 Thread michel
- Original Message - From: "Konstantin Kolinko" To: "Tomcat Users List" Sent: Saturday, September 04, 2010 11:06 AM Subject: Re: URL Rewrite 2010/9/4 michel : - Original Message - From: "Ognjen Blagojevic" To: "Tomcat Users List" Sent: Friday, September 03, 2010 6:42 AM S

Re: interaction between .forward() and

2010-09-05 Thread André Warnier
Mark Thomas wrote: On 04/09/2010 17:27, André Warnier wrote: Digest authentication is not very popular, and rather a pain to implement yourself. The reason why it is not very popular is that it is a bit of a halfway solution : it does avoid user passwords to be transmitted in clear over the net,

Re: Errant slow request

2010-09-05 Thread Rainer Jung
On 05.09.2010 04:19, Kevin wrote: Hi, I'm using Apache Bench (ab) to send 1,000 requests with a concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, 2010-09-03) which uses request.startAsync() and Executors.newFixedThreadPool(10) to do the work and return a few bytes of respon