Custom WAR Deploy with Tomcat

Frequently asked questions. Tutorials, tips and tricks.
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Custom WAR Deploy with Tomcat

Unread post by z-vap »

So I'm trying to test out various versions of madsonic within Tomcat, however I am finding out that I need to have more than one default directory for where these write their logfiles to.

I am not too familiar with Tomcat7 to figure this out, and google has not been as helpful as I would have hoped, so I am hoping there are some here that are more knowledgeable than me. I know how to do it with the standalone and Synology versions, as its inside the madsonic.sh script but the Tomcat7 version does not seem to sue that SH file.

How can I specify an alternate MADSONIC_HOME path for different deployments
for ex.


Madsonic6.0.7760.WAR = /var/madsonic607760
Madsonic6.0.7600.WAR = /var/madsonic607600
etc.


its getting tiring to constantly stop each instance, rename the directories, start the other version. yadda yadda.

Thank you for the help :)
Post Reply