How to install Mule as a service on Tomcat

Home > Search > How-to

Stop Tomcat.

[john.doe@server1 ~]# bash $TOMCAT_HOME/bin/


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/
. . .
Tomcat started.


Ensure Tomcat is running properly.

[john.doe@server1 ~]# bash $TOMCAT_HOME/bin/
. . .
Jun 11, 2017 6:59:31 AM org.apache.catalina.startup.Catalina load
INFO: Initializatin processed in 1395 ms


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.