Resin - IIS and multiple JVMs
Posted on 2009-05-10
I recently installed Resin 3.1.9 on Windows Server 2008 to serve Coldfusion files with Railo 18.104.22.168. This is my first experience with anything Java, and my question is how do I have each Virtual Host use a different JVM? Right now, all of my sites are using one instance, and when I change anything in resin.conf, the server has to reload. I've read through the documentation on the caucho website, but it's sorely lacking when it comes to how to implement this.
My current folder structure is similar to the following for my two sites:
I've placed the isapi_srun.dll in c:\inetpub\scripts, which is also mapped as the virtual directory "scripts" for each of the sites.
Both of my sites are working correctly with Resin, but I just want them each to run their own instance. How do I go about doing this? Do I need to manually create a scripts directory inside both of the sites' wwwroot with a copy of the isapi_srun.dll and include a resin.ini file there? Also, where do the individual site1.conf and site2.conf files go?
Sorry if this isn't very clear. Again, I'm really new to Resin and Java. Please ask me if you need any further explanation