Multiple Instances running under Tomcat
First, my apologies if this has been covered elsewhere.
I have a Windows machine running Tomcat 6. I have successfully deployed the Subsonic WAR. I noticed that there did not appear to be a configuration option for telling it to store preferences or the music database in a location other than c:\subsonic. After searching through these forums, I discovered that one could pass a SUBSONIC_HOME parameter when starting Subsonic (I tried adding this to the web.inf). After making this modification, Subsonic would either fail to start or apparently ignore this directive.
My question is: am I going in the right direction, trying to set this variable, or do I need to look elsewhere/can this even be done. I have seen one suggestion to use separate virtual machines for each instance (a rather large commitment of resources for a relatively lightweight application). Ultimately, all I want is for someone to be able to go to mydomain.com/username1 and get their own Subsonic playground - their own music and their own configuration. Another individual going to mydomain.com/username2 should again get his/her own completely independent instance.
Thank you very much for any help you might be able to provide!
Patrick
I have a Windows machine running Tomcat 6. I have successfully deployed the Subsonic WAR. I noticed that there did not appear to be a configuration option for telling it to store preferences or the music database in a location other than c:\subsonic. After searching through these forums, I discovered that one could pass a SUBSONIC_HOME parameter when starting Subsonic (I tried adding this to the web.inf). After making this modification, Subsonic would either fail to start or apparently ignore this directive.
My question is: am I going in the right direction, trying to set this variable, or do I need to look elsewhere/can this even be done. I have seen one suggestion to use separate virtual machines for each instance (a rather large commitment of resources for a relatively lightweight application). Ultimately, all I want is for someone to be able to go to mydomain.com/username1 and get their own Subsonic playground - their own music and their own configuration. Another individual going to mydomain.com/username2 should again get his/her own completely independent instance.
Thank you very much for any help you might be able to provide!
Patrick