Download Tomcat 7.x (optional) - 8.0

Talend ESB Development Guide

English (United States)
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Talend ESB
Talend Runtime
Design and Development

This guide will show you how to deploy CXF services and Camel routes using Talend ESB's Karaf-based Container. However for testing and debugging it can be helpful to be aware of how to deploy on the servlet container Apache Tomcat. Steps involved to deploy a Tomcat installation on your computer:

  • Download and uncompress the latest Tomcat release version from the Apache Tomcat site.

  • Create a $CATALINA_HOME operating system environment variable pointing to the base directory of Tomcat, and add the $CATALINA_HOME/bin directory to your system path so you can easily start Tomcat from any system folder.

  • You'll need to edit the $CATALINA_HOME/conf/tomcat-users.xml file to create an administrative user for deploying and undeploying web applications. Define two new roles, manager-script> and manager-gui and add them to either a new user or any existing user, e.g.:
       <role rolename="manager-script"/>
       <role rolename="manager-gui"/>
       <user username="tomcat" password="tomcat" 
       ...other users and roles...

    Of course, for a production deployment you'll want to use a username and password different from the easy-to-guess ones above.

  • Next let's test your Tomcat installation. Run sh (Linux) or startup.bat (Windows) and navigate to http://localhost:8080 from a browser. You should see the Tomcat welcome screen indicating a successful activation. Next, shut down Tomcat by running the sh or shutdown.bat commands as appropriate.