CincinanstyKid
asked on
IIS 6.0 Won't Serve JSP Pages Through Tomcat 6/ISAPI_Redirect
I have a Windows Server 2003 box running IIS 6.0 and Apache Tomcat 6. We are running a web application written in Java called JIRA through Tomcat 6 and Java 1.6. JIRA works great through Tomcat when you serve it over port 8080; however, we want to serve the pages through IIS and have it pass the processing of the Java side of things through to Tomcat.
I have followed the instructions at JIRA's site (http://www.atlassian.com/software/jira/docs/v3.11/iisintegration.html) and also the ones on Tomcat's site (http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html) for configuring isapi_redirect.dll to allow IIS to integrate with Tomcat.
I have "isapi_redirect.dll" setup in IIS 6.0 as an enabled Web Service Extension and also have it setup on "Default Web Site" as an ISAPI filter. My "isapi_redirect.log" file is empty (it is the log file specified in the "isapi_redirect.properties " file). My IIS logfile from "C:\WINDOWS\system32\LogFi les\W3SVC1 " shows 500 errors:
2007-10-02 20:23:09 W3SVC1 127.0.0.1 GET / - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+M SIE+7.0;+W indows+NT+ 5.2;+.NET+ CLR+1.1.43 22) 500 0 1
2007-10-02 20:23:12 W3SVC1 127.0.0.1 GET /jira - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+M SIE+7.0;+W indows+NT+ 5.2;+.NET+ CLR+1.1.43 22) 500 0 1
and my web page being served by IE has the title of "Error" and the page simply says "Incorrect function."
I get this error rather the Tomcat service is running or not. I don't know if this is a permissions problem on the /jakarta/ virtual directory or the physical directory that has the "isapi_redirect.dll" file in it. I am clueless at this point and decided to turn to another source for help on this. I'm not sure what else I may need to post here to help troubleshoot this. One of the troubleshooting things I found was to run "tasklist /M isapi_redirect.dll" and it should return "w3wp.exe" which it now does (but did not this morning). I also do not believe this is a JIRA specific error which is why I am posting here first rather than JIRA's support site.
I have followed the instructions at JIRA's site (http://www.atlassian.com/software/jira/docs/v3.11/iisintegration.html) and also the ones on Tomcat's site (http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html) for configuring isapi_redirect.dll to allow IIS to integrate with Tomcat.
I have "isapi_redirect.dll" setup in IIS 6.0 as an enabled Web Service Extension and also have it setup on "Default Web Site" as an ISAPI filter. My "isapi_redirect.log" file is empty (it is the log file specified in the "isapi_redirect.properties
2007-10-02 20:23:09 W3SVC1 127.0.0.1 GET / - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+M
2007-10-02 20:23:12 W3SVC1 127.0.0.1 GET /jira - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+M
and my web page being served by IE has the title of "Error" and the page simply says "Incorrect function."
I get this error rather the Tomcat service is running or not. I don't know if this is a permissions problem on the /jakarta/ virtual directory or the physical directory that has the "isapi_redirect.dll" file in it. I am clueless at this point and decided to turn to another source for help on this. I'm not sure what else I may need to post here to help troubleshoot this. One of the troubleshooting things I found was to run "tasklist /M isapi_redirect.dll" and it should return "w3wp.exe" which it now does (but did not this morning). I also do not believe this is a JIRA specific error which is why I am posting here first rather than JIRA's support site.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tomcat is installed in C:\Program Files\Apache Software Foundation\Tomcat 6.0\ and the Tomcat ISAPI_Redirector is installed in C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\
C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml contains this line:
<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\isapi_redir
extension_uri=/jakarta/isa
log_file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\logs\isapi_
log_level=debug
worker_file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\worker
worker_mount_file="C:\Prog
C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\uriwor
/jira/*=jira_worker
C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\worker
worker.list=jira_worker
worker.jira_worker.type=aj
worker.jira_worker.host=lo
worker.jira_worker.port=80
C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\logs\isapi_