Mule - Install Mule as a service on Tomcat

by
Jeremy Canfield |
Updated: March 11 2020
| Mule articles
Stop Tomcat.
[john.doe@server1 ~]# bash $TOMCAT_HOME/bin/shutdown.sh
Add the following to the $TOMCAT_HOME/conf/server.xml file.
<Listener className="org.mule.module.tomcat.MuleTomcatListener" />
Create a directory named mule-libs under $TOMCAT_HOME.
[john.doe@server1 ~]# mkdir $TOMCAT_HOME/mule-libs
Run the startup script.
[john.doe@server1 ~]# bash $TOMCAT_HOME/bin/startup.sh
. . .
Tomcat started.
Ensure Tomcat is running properly.
[john.doe@server1 ~]# bash $TOMCAT_HOME/bin/configtest.sh
. . .
Jun 11, 2017 6:59:31 AM org.apache.catalina.startup.Catalina load
INFO: Initializatin processed in 1395 ms
Did you find this article helpful?
If so, consider buying me a coffee over at