Page 1 of 1

Multiple Instances running under Tomcat

PostPosted: Sat Oct 20, 2012 1:14 pm
by naguchennai
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

Re: Multiple Instances running under Tomcat

PostPosted: Mon Oct 22, 2012 1:13 pm
by bushman4
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

Re: Multiple Instances running under Tomcat

PostPosted: Tue Oct 23, 2012 2:32 am
by naguchennai
Yes i renamed War file to SUBSONIC2 ..with different port... But both take same folder /var/subsonic ....

Seconnd one not work..

Re: Multiple Instances running under Tomcat

PostPosted: Tue Oct 23, 2012 1:16 pm
by bushman4
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