<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>First just to say I'm running F21.<br><br>I found a post on setting up multiple tomcat instances at https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130708/1055381.html which states:<br><br><pre>    In the new world, if you need an instance, you'll create a directory
    /var/lib/tomcats/name, create {conf temp work webapps} in it, and then
    systemctl enable <a href="https://admin.fedoraproject.org/mailman/listinfo/scm-commits">tomcat at name.service.</a></pre><br>So I created&nbsp; /var/lib/tomcats/instance1, /var/lib/tomcats/instance2 and /var/lib/tomcats/instance3<br><br>I then ran:<br><br>[root@laptop system]# systemctl enable tomcat@instance1.service<br>Created symlink from /etc/systemd/system/multi-user.target.wants<br>/tomcat@instance1.service to /usr/lib/systemd/system/tomcat@.service.<br><br>[root@laptop system]# systemctl enable tomcat@instance2.service<br>Created symlink from /etc/systemd/system/multi-user.target.wants<br>/tomcat@instance2.service to /usr/lib/systemd/system/tomcat@.service.<br><br>[root@laptop system]# systemctl enable tomcat@instance3.service<br>Created symlink from /etc/systemd/system/multi-user.target.wants/tomcat@instance3.service to /usr/lib/systemd/system/tomcat@.service.<br><br>And created these sysconfig files, changing the CATALINA_BASE to match the corresponding directory under /var/lib/tomcats:<br><br>[root@laptop system]# ls -l /etc/sysconfig/*tomcat*<br>-rw-rw-r--. 1 root tomcat&nbsp; 490 Feb 14 21:29 /etc/sysconfig/tomcat<br>-rw-r--r--. 1 root root&nbsp;&nbsp;&nbsp; 194 May 23 14:58 /etc/sysconfig/tomcat@instance1<br>-rw-r--r--. 1 root root&nbsp;&nbsp;&nbsp; 194 May 23 14:59 /etc/sysconfig/tomcat@instance2<br>-rw-r--r--. 1 root root&nbsp;&nbsp;&nbsp; 194 May 23 15:00 /etc/sysconfig/tomcat@instance3<br><br><br>Unfortunately everytime I try to start one of these instances, for example, if I run <br><br>systemctl&nbsp; start tomcat@instance2<br><br>it just starts up the system installed tomcat with CATALINA_BASE /usr/share/tomcat.<br><br>Please could you tell me if I am doing anything obviously wrong here? :)<br><br>Thanks for any help.<br><br>Edward<br>                                               </div></body>
</html>