I'm in the middle of trying to deploy IIS + Tomcat, and its' a mess. The company has a ton of virtuals set up in IIS, and because there are so many and some of the virtuals contain JSPs, we need Tomcat running all of these virtuals.
I've attempted to setup the Host/Context as follows:
<Host name="localhost" unpackWARs="true" autoDeploy="false" appBase="e:\webdata\Inetpub\wwwroot\"> <Context path="/aboriginal" docbase="static\business\Abo" crossContext="true" /> <Context path="/ecc" docbase="static\countries\Canada\ECC" crossContext="true" />
The problem is, when tomcat loads it looks for "e:\webdata\inetpub\wwwroot" to exist.
SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base e:\webdata\Inetpub\wwwroot\ecc does not exist or is not a readable directory
And of course it doesn't exist! static/business/Abo exists!
Everything I read lead me to believe the "contexts" were Tomcat's version of virtual folder. Why does the virtual folder have to exist priori to creating it?
Is this the way it is? What am missing here?
I've written an IronPython script to pull the virtuals from IIS and create the appropriate IIS config. I would prefer not having to create a series of empty files and folders to replicate this.
Thanks a million for any help!