Solved

Problem with HTTP Keepalives with Tomcat 5.0 and IIS 6.0

Posted on 2008-10-15
2
544 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Required permissions cannot be acquired 6 46
DNN auto-updating it's core ? 2 36
Registering DLL 5 43
Windows 10 IIS and Windows Authentication to SQL 21 53
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…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

22 Experts available now in Live!

Get 1:1 Help Now