I'm at a complete loss here. Nothing I do seems to work. Everything is set up correctly. I've followed the documentation at http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html, and my setup looks correct and I've tripple checked it till I'm blue in the face (so to speak). All I get is a blank page - http://www.douglasmcgregor.co.uk/HelloWorld.jsp

workers.properties

worker.list=worker1

worker.worker1.host=www.douglasmcgregor.co.uk
worker.worker1.port=8009
worker.worker1.type=ajp13

uriworkermap.properties

*.jsp=worker1
/examples/*=worker1

Server.xml (the virtual host I added)

<Host name="www.douglasmcgregor.co.uk" appBase="E:/douglasmcgregor.co.uk" 
unpackWARs="true" autoDeploy="true">
    <Alias>douglasmcgregor.co.uk</Alias>
    <Alias>www</Alias>
    <Context path="/" docBase="E:/douglasmcgregor.co.uk" debug="0" />
</Host>

I set up IIS as in the documentation. For a while it worked flirting between HelloWorld.jsp and /examples/, but examples give a 404 in Tomcat now which suggests something's working. The blank page persistantly won't change.

Help!! And thanks, by the way.

Douglas

link|improve this question
Dumb questions based on my years and years of experience overlooking steps to install isapi_redirect: Did you allow isapi_redirect.dll in the Web Service extensions? (Also, did you install the isapi filter?) Also, did you go with the registry changes for isapi_redirect setup or did you go with the isapi_redirect.properties route? – mahnsc Jul 12 '11 at 0:37
I managed to fix it, but I can't remember what I did that fixed it - I've been doing this for so long! If you don't mind another related question. This works perfectly on my IIS 7.5, but on IIS 6 /examples/ would work and HelloWorld.jsp would just be a blank page? To confirm what you asked, I've added isapi_redirect.dll as a web service extension and set it to allow, and I've installed the isapi filter in the website, and made a virtual directory pointing to the isapi_redirect location. Thanks. – Douglas Jul 12 '11 at 13:37
Oh yes, and I edited the registry as in the documentation. – Douglas Jul 12 '11 at 13:38
Hmm...I'm not sure for the case where servlets appear to work but jsp's do not. your uriworkermap.properties looked ok. If I remember correctly, blank pages are usually due to the web service extension not being present. – mahnsc Jul 12 '11 at 16:20
You'd think so. But in this case the web service extension is present and allowed. – Douglas Jul 12 '11 at 19:05
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.