Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubleshooting IIS6 / Tomcat 7 integration

Status
Not open for further replies.

jrbarnett

Programmer
Jul 20, 2001
9,645
GB
All
I have been doing upgraded a legacy tomcat 5.5.26 / JRE 5 update 13 application to Tomcat 7 and Java 7 update 5. Web server is IIS6 on Windows 2003 standard. All software is 32 bit.

The tomcat web server works - I can run and successfully run the jsp examples.
I have tried upgrading the jakarta ISAPI filter from 10.14 to the Tomcat ISAPI filter 1.2.32 with no difference. However when I go to the web server (whatever URL) I get connection reset errors.

Any idease?

John
 
Update: I found out what caused this in the end, in case it is useful for somebody else.

The problem was misconfiguration of the ISAPI filter. I have found that in IIS manager, if you delete an ISAPI filter from the web server, it doesn't actually delete it from the sites hosted on that server, so you get errors.
It is also too easy to set up two instances of the same ISAPI filter.
The easiest way to fix this is to right click on the website, export the configuration to an XML file, take a copy of that file as backup, then remove the unnecessary <IISFilter> ... </IISFilter> entries, reimport the file using (new website from file), overwrite the current site then restart IIS when complete.

Unfortunately I didn't work this out until after I had restored my backup from before I started the upgrade, but it may save other people this stress and waste of downtime.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top