Page 1 of 1

Multiple Subsonic installs on a Windows machine [solved]

PostPosted: Wed Feb 01, 2012 6:42 am
by diffy
I guess the topic is quite explanatory. I am trying to make 3 installations work of Subsonic on the same machine.

How can I do that with the Subsonic installer? It seems that the Subsonic-installer-package does the most things out of the box,
such as installing a service, including lame binaries and so on... But running the installer several times seems to just uninstall and reinstall
to a new location. Or maybe I'm wrong, it's a little unclear to me. If anybody know of a way of how to do this, please share it with me :)


The standalone version of Subsonic seems to work quite well out of the box too. But I don't know how to make the launcher which is a .bat file a Windows service so that
I can "set it and forget it". Anybody know how to make the Standalone a service?

all the best
-- T

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Wed Feb 01, 2012 6:51 am
by diffy
I guess I could strip this service.bat file that came with the Apache binary distribution of Tomcat6 for Windows

http://pastebin.com/ZyW1iX7Z

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Fri Feb 03, 2012 6:37 am
by diffy
diffy wrote:I guess I could strip this service.bat file that came with the Apache binary distribution of Tomcat6 for Windows

http://pastebin.com/ZyW1iX7Z


No not really, since it's using some internal tomcat6.exe routine :)

Anyone have a suggestion for how I can turn the "standalone" edition of Subsonic into a service?

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Fri Feb 03, 2012 2:07 pm
by bushman4
The only way I have been able to get multiple versions running on one machine is to use different deployment methods.

For example, you could run the full windows installer and get one service with its data at c:\subsonic.

Then you could install Tomcat and deploy the WAR version using that, and add a setting to set the data directory for that instance to c:\subsonic2.

HTH,

Glenn

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Sun Feb 05, 2012 11:38 am
by diffy
I ended up running the Standalone version and I just run them manually, having 3 small console windows in the
windows session isn't a big deal. It's a server anyways and I need to run some other scripts manually, so it's fine.

I tried the method you mentioned but I couldn't get it working perfectly...

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Tue Feb 07, 2012 2:00 am
by MadEvil
Hi,

Maybe I can try to make 3 diffrent Subsonic Setups

Subsonic Session 1 C:\Subsonic-S1 -> Port 80
Subsonic Session 2 C:\Subsonic-S2 -> Port 81
Subsonic Session 3 C:\Subsonic-S3 -> Port 82

This should work, still interested ?

Best Regards

Re: Multiple Subsonic installs on the same Windows machine..

PostPosted: Tue Feb 07, 2012 10:01 am
by diffy
MadEvil wrote:Hi,

Maybe I can try to make 3 diffrent Subsonic Setups

Subsonic Session 1 C:\Subsonic-S1 -> Port 80
Subsonic Session 2 C:\Subsonic-S2 -> Port 81
Subsonic Session 3 C:\Subsonic-S3 -> Port 82

This should work, still interested ?

Best Regards


This is how I've got it now using the standalone Subsonic distribution :) I guess the only thing
that bugs me is that I haven't got them running as services. Again, it isn't a very real problem...
I thought about running them in 3 different VM slices, but unzipping the standalone Subsonic is a lot easier and less resource-hogging :)

Thanks for the attention guys, but I guess I'm marking this a solved