Multiple Subsonic installs on a Windows machine [solved]

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Multiple Subsonic installs on a Windows machine [solved]

Postby diffy » Wed Feb 01, 2012 6:42 am

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
Last edited by diffy on Tue Feb 07, 2012 10:01 am, edited 1 time in total.
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark

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

Postby diffy » Wed Feb 01, 2012 6:51 am

I guess I could strip this service.bat file that came with the Apache binary distribution of Tomcat6 for Windows

http://pastebin.com/ZyW1iX7Z
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark

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

Postby diffy » Fri Feb 03, 2012 6:37 am

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?
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark

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

Postby bushman4 » Fri Feb 03, 2012 2:07 pm

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
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

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

Postby diffy » Sun Feb 05, 2012 11:38 am

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...
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark

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

Postby MadEvil » Tue Feb 07, 2012 2:00 am

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
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

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

Postby diffy » Tue Feb 07, 2012 10:01 am

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
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests