Link to home
Start Free TrialLog in
Avatar of CincinanstyKid
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\LogFiles\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;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 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;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 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.
Avatar of CincinanstyKid
CincinanstyKid

ASKER

Here is some extra information:

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_redirect.properties contains this:
extension_uri=/jakarta/isapi_redirect.dll
log_file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\logs\isapi_redirect.log"
log_level=debug
worker_file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\workers.properties"
worker_mount_file="C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\uriworkermap.properties"


C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\uriworkermap.properties:
/jira/*=jira_worker


C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\conf\workers.properties:
worker.list=jira_worker
worker.jira_worker.type=ajp13
worker.jira_worker.host=localhost
worker.jira_worker.port=8009


C:\Program Files\Apache Software Foundation\Tomcat 6.0\jkredirect\logs\isapi_redirect.log was manually created by me but is still 0 bytes in size.
ASKER CERTIFIED SOLUTION
Avatar of mahnsc
mahnsc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial