Solved

Problem with HTTP Keepalives with Tomcat 5.0 and IIS 6.0

Posted on 2008-10-15
2
546 Views
Last Modified: 2013-12-02
We have a problem with HTTP keepalive requests not being honoured from the a .NET forms application connecting to a Tomcat 5.0.25 server via an IIS 6.0 server using the Tomcat Isapi filter (v1.2.25).  The Website is set to use NTLM via the "NTAuthenticationProviders" Metabase parameter.

We get the same problem if we use IE as the client to connect to the Tomcat application.  The HTTP headers show the keepalive request being asked for by the client but every request is re-authenticated by IIS despite "HTTP Keepalives" being ticked in the website properties.  I suspect it is the Tomcat ISAPI filter that is closing the session but can't find any way to configure it not to do this.

If the Tomcat ISAPI filter isn't installed on the website then the keepalives work as expected and you only authenticate once against IIS per session.  Also if Tomcat is handling the NTLM authentication using JCIFs then again you only authenticate once.

This isn't a huge problem for users in the same datacentre as the application as the NTLM authentication happens reasonably quickly but for users in a remote DC this is adding 1.5s to every request which is unacceptable.

Any help appreciated!

Thanks
0
Comment
Question by:WebSystems
  • 2
2 Comments
 
LVL 1

Author Comment

by:WebSystems
ID: 22757387
No-one has any ideas?
0
 
LVL 1

Accepted Solution

by:
WebSystems earned 0 total points
ID: 22894832
We gave up on this in the end and used the JCIFS filter in Tomcat to do the NTLM authentication rather than the connector under IIS.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now