Solved

Tomcat on IIS6  slow response to browsers on Mac or Linux clients

Posted on 2011-02-21
4
771 Views
Last Modified: 2012-05-11
I have an Tomcat application (Docushare) on a Windows 2003 server with IIS6. Tomcat is listening on port 8080 and requests on port 80 are redirected by IIS to Tomcat.
On a Windows PC using either IE or Firefox we can access the application and login very quickly. However, when doing the same from a Linux or Mac machine the browser appears to make contact with Tomcat but either the login page for the application takes a very long time (50+ secs) or times out. If I add :8080 to the URL the response is better but still slow when compared to access from a Windows machine.
The current server is a virtualised instance of a physical server and all checking to date has shown no differences between this server and the original with regard to IIS or Tomcat configs. I have renamed the old physical server and can still access it. Here's the interesting and puzzling part: access to the application on that server from a Linux or Mac machine is nice and fast.
Can anyone shed some light on why we have this apparent difference between access from a Windows PC and Linux or Macs, please?
0
Comment
Question by:SteveCoates
  • 2
4 Comments
 
LVL 1

Expert Comment

by:gparrish
ID: 34947134

Have you checked the IIS and Tomcat logs to see if there is anything revealing there? Is there anything new in the path from the clients to the server such as a firewall or proxy that might be a factor? Are you using a good sample of all clients, at least 2 - maybe try more to be sure.

If possible a network trace might reveal where the increase in time is occurring - I would assume the web server is processing or delaying its response to the Linux/Mac client but a trace may tell you at what stage or even why. Once we know the why you can attack that. I do not know that off the top of my head since you have other clients that are working.

-greg
0
 
LVL 1

Expert Comment

by:sandp85012
ID: 34960788
Is the response the same when using just an IP address http://0.0.0.0:8080/docushare?  Going to port 8080 by-passes IIS and goes directly Tomcat.  Is it possible there is a DNS lookup issue from the Linux/Mac machines.
0
 

Accepted Solution

by:
SteveCoates earned 0 total points
ID: 34966657
Thanks to both for your suggestions. We tossed it around a bit more and came back to the virtualisation.
It turned out that when the server was moved to a virtual machine there were a number of registry entries that were based on the MAC address of the original server and that they remained on the virtual machine.
After taking a snapshot of the machine we edited the registry and replaced every instance of the old physical machine's MAC address with that of the new server. Rebooted and hey presto, Linux and Mac machines now have no problem accessing Docushare.
Makes you wonder though dunnit? Does this mean that Windows lets any old rubbish in whereas the others must have realised that the address of the server differs from what it was being told. Weird or What? Bring on Shatner..
0
 

Author Closing Comment

by:SteveCoates
ID: 34995579
Resolved the issue ourselves.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

828 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