Multiple Instances running under Tomcat

Need help? Post your questions here.

Moderator: moderators

Multiple Instances running under Tomcat

Postby naguchennai » Sat Oct 20, 2012 1:14 pm

I need Run Subsonic Multiple Instances running under Tomcat in Linux. Can Any one tested?
I try -Dsubsonic.home=c:/foo but it not work.. Pls help me
naguchennai
 
Posts: 22
Joined: Tue May 15, 2012 8:42 am

Re: Multiple Instances running under Tomcat

Postby bushman4 » Mon Oct 22, 2012 1:13 pm

Because the Subsonic working directory is a SYSTEM wide java setting it is not possible to run more than one copy of Subsonic under one install of Tomcat.

You could possibly set up two instances of Tomcat and then do it that way, but they would have to be on different ports.

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 Instances running under Tomcat

Postby naguchennai » Tue Oct 23, 2012 2:32 am

Yes i renamed War file to SUBSONIC2 ..with different port... But both take same folder /var/subsonic ....

Seconnd one not work..
naguchennai
 
Posts: 22
Joined: Tue May 15, 2012 8:42 am

Re: Multiple Instances running under Tomcat

Postby bushman4 » Tue Oct 23, 2012 1:16 pm

I just said NO, it is NOT possible under one instance of Tomcat.

You could COMPLETELY install a second TOMCAT instance and run it in there. But because the Subsonic home folder is a TOMCAT WIDE variable, one instance of tomcat can only host one instance of Subsonic.

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


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests