Solved

Problem with HTTP Keepalives with Tomcat 5.0 and IIS 6.0

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

19 Experts available now in Live!

Get 1:1 Help Now