Aug 23
JSP on IIS 6 and Apache with TomCat
A note for those of you who followed these instructions on getting JSP to run transparently on IIS 6.
This method, in my experience, would only function if IIS5 Isolation Mode was enabled.
I’m not sure why but the ISAPI plugin started up just fine after enabling IIS5 isolation mode.
Microsoft has this to say about the modes of operation.
Here’s how to enable IIS 5.0 Isolation mode.
If you’re not into running Isolation mode (I wasn’t) I setup Apache 2.2 on a different port specifically to run JSP apps. Instructions after the break…
If you want to do either way, grab yourself a cup of coffee (or another favorite) and clear a couple hours out. The documentation on getting this done is sparse and annoyingly contradictory.
Here are a few good pages I polled info from:
Good website, very accurate, follow these configuration instructions (a bit short though)
Good information UNTIL you get to configuring Apache (do NOT follow these configuration instructions)
Old, outdated, but still somewhat useful Apache documentation
When you go to test your configuration, put
JkMount /jsp-examples/* neosmart
Into your httpd.conf file where neosmart is the worker from worker.list name defined in “workers.properties”. Id est:
worker.list=neosmart
That should get you through it
Bear in mind that with the JkMount directive, it’s in the format “JkMount /directory/* worker” where directory is the directory to be hit by Tomcat under the default Tomcat install directory -> webapps. Id est, in the case of Windows, C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps by default.
The star after this is a wildcard telling Tomcat to parse (well, execute, but that’s semantics) everything UNDER that directory. Again the worker directive is the worker that you’re using for that configuration, which would be neosmart in my case.
Now that I’ve thoroughly confused you due to my enhanced lethargy and exhaustion brought on by the night’s discoveries, I hope you’ll be able to take something out of this.
No commentsNo Comments
Leave a comment
